public class ParameterValueColumnSerializer extends Object
| Constructor and Description |
|---|
ParameterValueColumnSerializer() |
| Modifier and Type | Method and Description |
|---|---|
ParameterValue |
deserialize(DataInputStream stream,
ColumnDefinition cd)
Read one column value (i.e.
|
T |
fromByteArray(byte[] b,
ColumnDefinition cd)
this method deserializes the value from a byte array
|
void |
serialize(DataOutputStream stream,
ParameterValue pv) |
byte[] |
toByteArray(T v)
This method serializes the value into a byte array
|
public ParameterValue deserialize(DataInputStream stream, ColumnDefinition cd) throws IOException
ColumnSerializerTableDefinition.deserialize(byte[], byte[]))stream - - data stream used for the inputcd - the column definition for the involved column (can be used to look up column name or other properties to help in deserialization)IOExceptionpublic void serialize(DataOutputStream stream, ParameterValue pv) throws IOException
IOExceptionpublic T fromByteArray(byte[] b, ColumnDefinition cd) throws IOException
ColumnSerializerfromByteArray in interface ColumnSerializer<T>b - the input byte arraycd - the column definition for the involved column (can be used to look up column name or other properties to help in deserialization)IOExceptionpublic byte[] toByteArray(T v)
ColumnSerializertoByteArray in interface ColumnSerializer<T>Copyright © 2018 Space Applications Services. All rights reserved.