com.univocity.api.data
Interface DataIncrement


public interface DataIncrement

A DataIncrement provides a limited number of records for mapped data entities. It is used by uniVocity to execute incremental data mapping cycles on limited sets of information.

This can be used to execute mappings in real-time as data increments return in-memory Dataset instances instead of loading records from a source entity.
Use DataIntegrationEngine.executeCycle(DataIncrement) to execute a data mapping cycle against a DataIncrement.

When uniVocity executes data mappings against a DataIncrement, it will request a Dataset calling getDataset(String, String). If this DataIncrement provides a Dataset, then it will be used to provide source data; Otherwise, an empty dataset will be used. No records of the actual source entity will be read.

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
Dataset, DataIntegrationEngine

Method Summary
 Dataset getDataset(String datastoreName, String entityName)
          Returns the dataset for an entity whose mapping is being executed as part of a data mapping cycle.
 

Method Detail

getDataset

Dataset getDataset(String datastoreName,
                   String entityName)
Returns the dataset for an entity whose mapping is being executed as part of a data mapping cycle.

Parameters:
datastoreName - the name of the data store that (potentially) contains a dataset for an entity
entityName - the name of the data entity being read as a source of data in a data mapping cycle.
Returns:
the Dataset that contains a number of records of the given entity, or null if there is no dataset.


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