public class BinaryValueSegment extends ObjectSegment<byte[]> implements ValueSegment
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_UTF8_CHAR_LENGTH |
protected List<String> |
values |
FORMAT_ID_BinaryValueSegment, FORMAT_ID_BooleanValueSegment, FORMAT_ID_DoubleValueSegment, FORMAT_ID_FloatValueSegment, FORMAT_ID_GenericValueSegment, FORMAT_ID_IntValueSegment, FORMAT_ID_LongValueSegment, FORMAT_ID_OldBooleanValueSegment, FORMAT_ID_ParameterStatusSegment, FORMAT_ID_SortedTimeValueSegment, FORMAT_ID_StringValueSegment, formatId| Modifier and Type | Method and Description |
|---|---|
void |
add(int pos,
Value v) |
BinaryValueSegment |
consolidate() |
static BinaryValueSegment |
consolidate(List<Value> values) |
Value |
getValue(int index)
returns Value at position index
|
static BinaryValueSegment |
parseFrom(ByteBuffer bb) |
add, add, equals, get, getMaxSerializedSize, getRange, getRleRangeDescending, parse, size, writeRaw, writeTogetFormatId, parseSegmentclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsizepublic static final int MAX_UTF8_CHAR_LENGTH
public Value getValue(int index)
ValueSegmentgetValue in interface ValueSegmentpublic BinaryValueSegment consolidate()
consolidate in interface ValueSegmentpublic void add(int pos,
Value v)
add in interface ValueSegmentpublic static BinaryValueSegment consolidate(List<Value> values)
public static BinaryValueSegment parseFrom(ByteBuffer bb) throws DecodingException
DecodingExceptionCopyright © 2017 Space Applications Services. All rights reserved.