Class DefaultSequenceFormat
java.lang.Object
org.apache.storm.hdfs.bolt.format.DefaultSequenceFormat
- All Implemented Interfaces:
- Serializable,- SequenceFormat
Basic 
SequenceFormat implementation that uses
 LongWritable for keys and Text for values.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.hadoop.io.WritableGiven a tuple, return the key that should be written to the sequence file.keyClass()Key class used by implementation (e.g.org.apache.hadoop.io.WritableGiven a tuple, return the value that should be written to the sequence file.Value class used by implementation (e.g.
- 
Constructor Details- 
DefaultSequenceFormat
 
- 
- 
Method Details- 
keyClassDescription copied from interface:SequenceFormatKey class used by implementation (e.g. IntWritable.class, etc.).- Specified by:
- keyClassin interface- SequenceFormat
 
- 
valueClassDescription copied from interface:SequenceFormatValue class used by implementation (e.g. Text.class, etc.).- Specified by:
- valueClassin interface- SequenceFormat
 
- 
keyDescription copied from interface:SequenceFormatGiven a tuple, return the key that should be written to the sequence file.- Specified by:
- keyin interface- SequenceFormat
 
- 
valueDescription copied from interface:SequenceFormatGiven a tuple, return the value that should be written to the sequence file.- Specified by:
- valuein interface- SequenceFormat
 
 
-