public class DataDictionaryOrdered extends Object implements DataProviderDictionary
DataProviderDictionary implementation that minimizes memory footprint and serialized size at the expense of access speed.
Instances of this class are immutable. Order of DataProviderInfo instances is preserved.
int keyFlag is associated with every tree node to tell how to extract path and key from the full path:
| Constructor and Description |
|---|
DataDictionaryOrdered(DataProviderDictionary other) |
DataDictionaryOrdered(List<DataProviderInfo> data) |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getCCSTimeStamp()
Deprecated.
|
List<DataProviderInfo> |
getDataProviderDescriptionsForGroup(String group)
Deprecated.
|
DataProviderInfo |
getDataProviderInfoForPath(String path)
Get the DataProviderInfo definition for the provided path.
|
List<DataProviderInfo> |
getDataProviderInfos() |
Set<String> |
getGroups()
Deprecated.
|
int |
size()
Returns the size of this dictionary.
|
public DataDictionaryOrdered(DataProviderDictionary other)
public DataDictionaryOrdered(List<DataProviderInfo> data)
public List<DataProviderInfo> getDataProviderInfos()
getDataProviderInfos in interface DataProviderDictionarypublic DataProviderInfo getDataProviderInfoForPath(String path)
DataProviderDictionarygetDataProviderInfoForPath in interface DataProviderDictionarypath - The path for the desired DataProviderInfo@Deprecated public Set<String> getGroups()
getGroups in interface DataProviderDictionary@Deprecated public List<DataProviderInfo> getDataProviderDescriptionsForGroup(String group)
getDataProviderDescriptionsForGroup in interface DataProviderDictionary@Deprecated public org.lsst.ccs.utilities.taitime.CCSTimeStamp getCCSTimeStamp()
DataProviderDictionarygetCCSTimeStamp in interface DataProviderDictionarypublic int size()
DataProviderDictionarysize in interface DataProviderDictionaryCopyright © 2022 LSST. All rights reserved.