@Deprecated public class TextSerializerDeserializer extends Object implements SerializerDeserializer
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
falseBytes
Deprecated.
|
static byte[] |
trueBytes
Deprecated.
|
| Constructor and Description |
|---|
TextSerializerDeserializer()
Deprecated.
|
TextSerializerDeserializer(Schema schema)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Datum |
deserialize(int index,
byte[] bytes,
int offset,
int length,
byte[] nullCharacters)
Deprecated.
|
void |
init(Schema schema)
Deprecated.
|
int |
serialize(int index,
Tuple tuple,
OutputStream out,
byte[] nullCharacters)
Deprecated.
|
public static final byte[] trueBytes
public static final byte[] falseBytes
public TextSerializerDeserializer()
public TextSerializerDeserializer(Schema schema)
public void init(Schema schema)
init in interface SerializerDeserializerpublic int serialize(int index,
Tuple tuple,
OutputStream out,
byte[] nullCharacters)
throws IOException
serialize in interface SerializerDeserializerIOExceptionpublic Datum deserialize(int index, byte[] bytes, int offset, int length, byte[] nullCharacters) throws IOException
deserialize in interface SerializerDeserializerIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.