public abstract class AbstractSdmxDataReaderEngine extends AbstractDataReaderEngine
Constructor and Description |
---|
AbstractSdmxDataReaderEngine(ReadableDataLocation dataLocation,
SdmxBeanRetrievalManager beanRetrieval,
DataStructureBean defaultDsd,
DataflowBean dataflowBean,
ProvisionAgreementBean provisionAgreement)
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 |
---|---|
void |
close()
Closes the reader engine, and releases all resources.
|
HeaderBean |
getHeader()
Returns the header of the datasource that this reader engine is reading data for.
|
void |
reset()
Closes all the streams and recreates them from the input locations
|
copyToOutputStream, getCrossSectionConcept, getCurrentDatasetHeaderBean, getCurrentKey, getCurrentObservation, getDataFlow, getDatasetPosition, getDataStructure, getKeyablePosition, getObsPosition, getProvisionAgreement, getSeriesPosition, isTimeSeries, moveNextDataset, moveNextKeyable, moveNextObservation
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCopy, getDatasetAttributes
public AbstractSdmxDataReaderEngine(ReadableDataLocation dataLocation, SdmxBeanRetrievalManager beanRetrieval, DataStructureBean defaultDsd, DataflowBean dataflowBean, ProvisionAgreementBean provisionAgreement)
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 provideddefaultDsd
- the default dsd to use if the beanRetrieval is null, or if the bean retrieval does not return the dsd for the given datasetpublic void reset()
reset
in interface DataReaderEngine
reset
in class AbstractDataReaderEngine
public HeaderBean getHeader()
DataReaderEngine
getHeader
in interface DataReaderEngine
getHeader
in class AbstractDataReaderEngine
public void close()
DataReaderEngine