public abstract class NotStopBitEncodedTypeCodec extends TypeCodec
ASCII, BIT_VECTOR, BYTE_VECTOR, DATE_INTEGER, DATE_STRING, EPOCH_TIMESTAMP, INTEGER, NULLABLE_ASCII, NULLABLE_BYTE_VECTOR_TYPE, NULLABLE_INTEGER, NULLABLE_SF_SCALED_NUMBER, NULLABLE_STRING_DELTA, NULLABLE_UNICODE, NULLABLE_UNSIGNED_INTEGER, SF_SCALED_NUMBER, STOP_BIT, STRING_DELTA, TIME_IN_MS, TIME_INTEGER, TIME_STRING, TIMESTAMP_INTEGER, TIMESTAMP_STRING, UINT, UNICODE
Constructor and Description |
---|
NotStopBitEncodedTypeCodec() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(ScalarValue value)
Template Method to encode the passed object, the actual encoding is done
in the encodeValue() method overridden in sub-classes.
|
boolean |
equals(Object obj) |
decode, encodeValue, isNullable
public byte[] encode(ScalarValue value)
TypeCodec
Note: The final SBIT is set in this method, not in encodeValue().
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.