java.lang.Object
org.yamcs.parameterarchive.BaseSegment
org.yamcs.parameterarchive.ObjectSegment<byte[]>
org.yamcs.parameterarchive.BinaryValueSegment
- All Implemented Interfaces:
ValueSegment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFields inherited from class org.yamcs.parameterarchive.BaseSegment
FORMAT_ID_BinaryValueSegment, FORMAT_ID_BooleanValueSegment, FORMAT_ID_DoubleValueSegment, FORMAT_ID_FloatValueSegment, FORMAT_ID_GenericValueSegment, FORMAT_ID_IntValueSegment, FORMAT_ID_LongValueSegment, FORMAT_ID_ParameterStatusSegment, FORMAT_ID_SortedTimeValueSegment, FORMAT_ID_StringValueSegment, formatId -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic BinaryValueSegmentconsolidate(List<Value> values) getRange(int posStart, int posStop, boolean ascending) returns an array containing the values in the range [posStart, posStop) if ascending or [posStop, posStart) if descendinggetValue(int index) returns Value at position indexstatic BinaryValueSegmentparseFrom(ByteBuffer bb) Methods inherited from class org.yamcs.parameterarchive.ObjectSegment
add, add, equals, get, getMaxSerializedSize, getRangeArray, getRleRangeDescending, parse, size, writeRaw, writeToMethods inherited from class org.yamcs.parameterarchive.BaseSegment
getFormatId, parseSegmentMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.parameterarchive.ValueSegment
size
-
Field Details
-
MAX_UTF8_CHAR_LENGTH
public static final int MAX_UTF8_CHAR_LENGTH- See Also:
-
values
-
-
Method Details
-
getValue
Description copied from interface:ValueSegmentreturns Value at position index- Specified by:
getValuein interfaceValueSegment- Returns:
- the value at the index
-
consolidate
- Specified by:
consolidatein interfaceValueSegment
-
add
- Specified by:
addin interfaceValueSegment
-
consolidate
-
parseFrom
- Throws:
DecodingException
-
getRange
Description copied from interface:ValueSegmentreturns an array containing the values in the range [posStart, posStop) if ascending or [posStop, posStart) if descending- Specified by:
getRangein interfaceValueSegment- Returns:
- an array containing the values in the specified range
-