public class KeyValueData extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueData.KeyValueDataType |
| Constructor and Description |
|---|
KeyValueData(String key,
Serializable value)
Build a KeyValueData object providing the name and the value for the key-value pair.
|
KeyValueData(String key,
Serializable value,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp) |
KeyValueData(String key,
Serializable value,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp,
KeyValueData.KeyValueDataType type) |
KeyValueData(String key,
Serializable value,
long timestamp)
Deprecated.
use constructor with CCSTimeStamp
|
KeyValueData(String key,
Serializable value,
long timestamp,
KeyValueData.KeyValueDataType type)
Deprecated.
use constructor with CCSTimeStamp
|
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getCCSTimeStamp()
Get the CCSTimeStamp associated with the key-value pair.
|
String |
getKey()
Get the key.
|
long |
getTimestamp()
Deprecated.
uset
getCCSTimeStamp() instead |
KeyValueData.KeyValueDataType |
getType()
Get the KeyValueData type.
|
Serializable |
getValue()
Get the value embedding in this object.
|
String |
toString() |
@Deprecated public KeyValueData(String key, Serializable value, long timestamp, KeyValueData.KeyValueDataType type)
key - The String representing the keyvalue - The Object representing the value of the pair.timestamp - The timestamp is in milliseconds.public KeyValueData(String key, Serializable value, org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp, KeyValueData.KeyValueDataType type)
@Deprecated public KeyValueData(String key, Serializable value, long timestamp)
key - The String representing the keyvalue - The Object representing the value of the pair.timestamp - The timestamp is in milliseconds.public KeyValueData(String key, Serializable value, org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp)
public KeyValueData(String key, Serializable value)
key - The String representing the keyvalue - The Object representing the value of the pair.public long getTimestamp()
getCCSTimeStamp() insteadpublic org.lsst.ccs.utilities.taitime.CCSTimeStamp getCCSTimeStamp()
public Serializable getValue()
public String getKey()
public KeyValueData.KeyValueDataType getType()
Copyright © 2018 LSST. All rights reserved.