public class HDFSTextSerializer extends Object implements SequenceFileSerializer
Modifier and Type | Class and Description |
---|---|
static class |
HDFSTextSerializer.Builder |
SequenceFileSerializer.Record
Constructor and Description |
---|
HDFSTextSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<org.apache.hadoop.io.LongWritable> |
getKeyClass() |
Class<org.apache.hadoop.io.Text> |
getValueClass() |
Iterable<SequenceFileSerializer.Record> |
serialize(Event e)
Format the given event into zero, one or more SequenceFile records
|
public Class<org.apache.hadoop.io.LongWritable> getKeyClass()
getKeyClass
in interface SequenceFileSerializer
public Class<org.apache.hadoop.io.Text> getValueClass()
getValueClass
in interface SequenceFileSerializer
public Iterable<SequenceFileSerializer.Record> serialize(Event e)
SequenceFileSerializer
serialize
in interface SequenceFileSerializer
e
- eventCopyright © 2009–2019 Apache Software Foundation. All rights reserved.