Package org.epics.archiverappliance.data
Interface SampleValue
- All Superinterfaces:
org.json.simple.JSONAware
- All Known Implementing Classes:
ByteBufSampleValue,ScalarStringSampleValue,ScalarValue,VectorStringSampleValue,VectorValue
public interface SampleValue
extends org.json.simple.JSONAware
Get the value of this event.
Within the archiver appliance, we only ask some form of converting to a string and perhaps a Number.
The toString for vectors generates a JSON form of the vector...
- Author:
- mshankar
-
Method Summary
Modifier and TypeMethodDescriptionintgetStringValue(int index) getValue()getValue(int index) Return the value as a ByteBuffer that is ready to read.toString()
-
Method Details
-
toString
String toString() -
getElementCount
int getElementCount() -
getValue
Number getValue() -
getValue
-
getStringValue
-
toJSONString
String toJSONString()- Specified by:
toJSONStringin interfaceorg.json.simple.JSONAware
-
getValues
List getValues() -
getValueAsBytes
ByteBuffer getValueAsBytes()Return the value as a ByteBuffer that is ready to read.- Returns:
- ByteBuffer
-