com.univocity.api.entity.custom
Interface UpdateProcess

All Superinterfaces:
Closeable, CustomProcess

public interface UpdateProcess
extends CustomProcess

A process for updating records of a CustomDataEntity. Instances of this process must created when CustomDataEntity.prepareToUpdate(String[], String[]) is called from a user-provided entity implementation

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
CustomDataEntity, CustomProcess

Method Summary
 void updateNext(Object[] updatedValues, Object[] matchingValues)
          Updates an existing row of data in the custom data entity that originated this update process.
 
Methods inherited from interface com.univocity.api.entity.custom.CustomProcess
close
 

Method Detail

updateNext

void updateNext(Object[] updatedValues,
                Object[] matchingValues)
Updates an existing row of data in the custom data entity that originated this update process.

Parameters:
updatedValues - a row with updated values for the fields provided by uniVocity when calling CustomDataEntity.prepareToUpdate(String[], String[])
matchingValues - identifies which row must be updated. The field name sequence for the matching values is provided by uniVocity in CustomDataEntity.prepareToUpdate(String[], String[])


Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.