public class ColumnValueSerializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
NULL_VALUE |
| Constructor and Description |
|---|
ColumnValueSerializer(DataType dt) |
ColumnValueSerializer(TableDefinition tableDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Object |
byteArrayToObject(byte[] b)
this is the reverse of the
objectToByteArray(Object value) |
static int |
getSerializedSize(DataType dt)
return the size in bytes of the encoded data type if it can be encoded on fixed size, or -1 if not.
|
byte[] |
objectToByteArray(Object value) |
public ColumnValueSerializer(DataType dt)
public ColumnValueSerializer(TableDefinition tableDefinition)
public byte[] objectToByteArray(Object value)
public Object byteArrayToObject(byte[] b)
objectToByteArray(Object value)public static int getSerializedSize(DataType dt)
dt - Copyright © 2018 Space Applications Services. All rights reserved.