public class StringDelta 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 |
---|
StringDelta() |
Modifier and Type | Method and Description |
---|---|
ScalarValue |
decode(InputStream in)
Reads in a stream of data and stores it to a TwinValue object
|
byte[] |
encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
boolean |
equals(Object obj) |
ScalarValue |
fromString(String value)
Convert a string to a StringValue object with the string as the passed
value
|
ScalarValue |
getDefaultValue() |
encode, isNullable
public ScalarValue decode(InputStream in)
public byte[] encodeValue(ScalarValue value)
encodeValue
in class TypeCodec
value
- The ScalarValue to be encodedpublic ScalarValue getDefaultValue()
public ScalarValue fromString(String value)
value
- The value as a string to be convertedCopyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.