public final class DataDictionaryCompro 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 partially preserved.
int keyFlag is associated with every tree node to tell how to extract path and key from the full path:
| Constructor and Description |
|---|
DataDictionaryCompro(DataProviderDictionary other) |
DataDictionaryCompro(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic DataDictionaryCompro(DataProviderDictionary other)
public DataDictionaryCompro(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()
size in interface DataProviderDictionaryCopyright © 2023 LSST. All rights reserved.