com.univocity.api.entity.custom
Interface ReadingProcess

All Superinterfaces:
Closeable, CustomProcess

public interface ReadingProcess
extends CustomProcess

A process for reading rows from a CustomDataEntity. Instances of this process must created when CustomReadableEntity.preareToRead(String[]) is called from a user-provided entity implementation

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

Method Summary
 Object[] readNext()
          Reads the next record from the entity that originated this process.
 
Methods inherited from interface com.univocity.api.entity.custom.CustomProcess
close
 

Method Detail

readNext

Object[] readNext()
Reads the next record from the entity that originated this process. The data elements must be ordered according to the sequence of field names provided when CustomReadableEntity.preareToRead(String[]) is called.

Returns:
the next row of data from the entity that originated this process, or null if all rows have been read.


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