public class TextSerializerDeserializer extends Object implements SerializerDeserializer
Modifier and Type | Field and Description |
---|---|
static byte[] |
falseBytes |
static byte[] |
trueBytes |
Constructor and Description |
---|
TextSerializerDeserializer() |
Modifier and Type | Method and Description |
---|---|
Datum |
deserialize(Column col,
byte[] bytes,
int offset,
int length,
byte[] nullCharacters) |
int |
serialize(Column col,
Datum datum,
OutputStream out,
byte[] nullCharacters) |
public static final byte[] trueBytes
public static final byte[] falseBytes
public int serialize(Column col, Datum datum, OutputStream out, byte[] nullCharacters) throws IOException
serialize
in interface SerializerDeserializer
IOException
public Datum deserialize(Column col, byte[] bytes, int offset, int length, byte[] nullCharacters) throws IOException
deserialize
in interface SerializerDeserializer
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.