public final class NullableSignedInteger extends IntegerCodec
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
Modifier and Type | Method and Description |
---|---|
ScalarValue |
decode(InputStream in)
Reads in a stream of data and stores it to a numericValue object - type
integer
|
byte[] |
encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
boolean |
equals(Object obj) |
boolean |
isNullable() |
createValue, getSignedIntegerSize, getUnsignedIntegerSize
public byte[] encodeValue(ScalarValue value)
encodeValue
in class TypeCodec
value
- The ScalarValue to be encodedpublic ScalarValue decode(InputStream in)
public boolean isNullable()
isNullable
in class TypeCodec
public boolean equals(Object obj)
equals
in class IntegerCodec
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.