public class GenericDataReaderEngine extends AbstractSdmxDataReaderEngine
Modifier and Type | Class and Description |
---|---|
static class |
GenericDataReaderEngine.MOVE_TO |
Constructor and Description |
---|
GenericDataReaderEngine(ReadableDataLocation dataLocation,
DataStructureBean dataStructureBean,
DataflowBean dataflowBean,
ProvisionAgreementBean provisionAgreementBean)
Creates a reader engine based on the data location, and the data structure to use to interpret the data
|
GenericDataReaderEngine(ReadableDataLocation dataLocation,
SdmxBeanRetrievalManager beanRetrieval,
DataStructureBean dataStructureBean,
DataflowBean dataflowBean,
ProvisionAgreementBean provisionAgreementBean)
Creates a reader engine based on the data location, the location of available data structures that can be used to retrieve dsds, and the default dsd to use
|
Modifier and Type | Method and Description |
---|---|
DataReaderEngine |
createCopy()
Creates a copy of this data reader engine, the copy is another iterator over the same source data
|
java.util.List<KeyValue> |
getDatasetAttributes()
Returns the attributes available for the current dataset
|
close, getHeader, reset
copyToOutputStream, getCrossSectionConcept, getCurrentDatasetHeaderBean, getCurrentKey, getCurrentObservation, getDataFlow, getDatasetPosition, getDataStructure, getKeyablePosition, getObsPosition, getProvisionAgreement, getSeriesPosition, isTimeSeries, moveNextDataset, moveNextKeyable, moveNextObservation
public GenericDataReaderEngine(ReadableDataLocation dataLocation, DataStructureBean dataStructureBean, DataflowBean dataflowBean, ProvisionAgreementBean provisionAgreementBean)
dataLocation
- the location of the datadataStructureBean
- the dsd to use to interpret the datapublic GenericDataReaderEngine(ReadableDataLocation dataLocation, SdmxBeanRetrievalManager beanRetrieval, DataStructureBean dataStructureBean, DataflowBean dataflowBean, ProvisionAgreementBean provisionAgreementBean)
dataLocation
- the location of the databeanRetrieval
- giving the ability to retrieve dsds for the datasets this reader engine is reading. This can be null if there is only one relevent dsd - in which case the default dsd should be provideddataStructureBean
- the dsd to use if the beanRetrieval is null, or if the bean retrieval does not return the dsd for the given datasetpublic DataReaderEngine createCopy()
DataReaderEngine
public java.util.List<KeyValue> getDatasetAttributes()
DataReaderEngine