public class KeyData extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyData.CodedData
the value of data can be of a "well known type" (known to everybody)
and so is coded directly otherwise it is encoded in a CodedData object.
|
| Modifier and Type | Method and Description |
|---|---|
List<KeyData> |
getContentAsList()
returns a list of key-values that can be directly used byt a trending database:
each key (the name of fields in a composite object) is prepended with the actual key
of this object (if overall key is "position" you may get something like "position.x" and "position.y"
as keys in the list)
|
List<KeyData> |
getContentAsRawList() |
org.lsst.ccs.utilities.beanutils.Optional<byte[]> |
getCrystallizedData()
Big objects can be kept in database as Blobs.
|
String |
getKey() |
Object |
getRawValue() |
String |
getUpdatedKey(String globalName) |
org.lsst.ccs.utilities.beanutils.Optional<Object> |
getValue()
returns the value of the contained object if its class is accessible to the current
ClassLoader.
|
String |
toString() |
public String getKey()
public List<KeyData> getContentAsList()
public org.lsst.ccs.utilities.beanutils.Optional<Object> getValue()
public org.lsst.ccs.utilities.beanutils.Optional<byte[]> getCrystallizedData()
public Object getRawValue()
Copyright © 2014 LSST. All Rights Reserved.