Package org.epics.archiverappliance.data
Interface SampleValue
-
- All Known Implementing Classes:
ByteBufSampleValue
,ScalarStringSampleValue
,ScalarValue
,VectorStringSampleValue
,VectorValue
public interface SampleValue
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 Type Method Description int
getElementCount()
String
getStringValue(int index)
Number
getValue()
Number
getValue(int index)
ByteBuffer
getValueAsBytes()
Return the value as a ByteBuffer that is ready to read.List
getValues()
String
toJSONString()
String
toString()
-
-
-
Method Detail
-
getElementCount
int getElementCount()
-
getValue
Number getValue()
-
getValue
Number getValue(int index)
-
getStringValue
String getStringValue(int index)
-
toJSONString
String toJSONString()
-
getValues
List getValues()
-
getValueAsBytes
ByteBuffer getValueAsBytes()
Return the value as a ByteBuffer that is ready to read.- Returns:
- ByteBuffer
-
-