public class HDFSWritableSerializer extends Object implements SequenceFileSerializer
Modifier and Type | Class and Description |
---|---|
static class |
HDFSWritableSerializer.Builder |
SequenceFileSerializer.Record
Constructor and Description |
---|
HDFSWritableSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<org.apache.hadoop.io.LongWritable> |
getKeyClass() |
Class<org.apache.hadoop.io.BytesWritable> |
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.BytesWritable> getValueClass()
getValueClass
in interface SequenceFileSerializer
public Iterable<SequenceFileSerializer.Record> serialize(Event e)
SequenceFileSerializer
serialize
in interface SequenceFileSerializer
e
- eventCopyright © 2009-2016 Apache Software Foundation. All Rights Reserved.