@Service public class DataInformationManagerImpl extends java.lang.Object implements DataInformationManager
Constructor and Description |
---|
DataInformationManagerImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<TIME_FORMAT,java.util.List<java.lang.String>> |
getAllReportedDates(DataReaderEngine dataReaderEngine)
Returns an ordered list of all the unique dates for each time format in the dataset.
|
DataInformation |
getDataInformation(DataReaderEngine dre)
Returns DataInformation about the data, this processes the entire dataset to give an overview of what is in the dataset.
|
DataFormat |
getDataType(ReadableDataLocation sourceData)
Returns the data type for the sourceData
|
java.util.List<KeyValue> |
getFixedConcepts(DataReaderEngine dre,
boolean includeObs,
boolean includeAttributes)
Returns a list of dimension - value pairs where there is only a single value in the data for the dimension.
|
java.lang.String |
getTargetNamepace(ReadableDataLocation sourceData)
Returns the target namespace of the dataset
|
public java.util.Map<TIME_FORMAT,java.util.List<java.lang.String>> getAllReportedDates(DataReaderEngine dataReaderEngine)
DataInformationManager
reset()
on the dataReaderEngine before and after the
information has been gatheredgetAllReportedDates
in interface DataInformationManager
public java.util.List<KeyValue> getFixedConcepts(DataReaderEngine dre, boolean includeObs, boolean includeAttributes)
DataInformationManager
getFixedConcepts
in interface DataInformationManager
includeAttributes
- if true will also report the attributes that have only one value in the entire datasetpublic DataInformation getDataInformation(DataReaderEngine dre)
DataInformationManager
getDataInformation
in interface DataInformationManager
public DataFormat getDataType(ReadableDataLocation sourceData)
DataInformationManager
getDataType
in interface DataInformationManager
public java.lang.String getTargetNamepace(ReadableDataLocation sourceData)
DataInformationManager
getTargetNamepace
in interface DataInformationManager
uri
-