Interface SequenceFormat
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultSequenceFormat
Interface for converting
Tuple
objects to HDFS sequence file key-value pairs.-
Method Summary
Modifier and TypeMethodDescriptionGiven a tuple, return the key that should be written to the sequence file.keyClass()
Key class used by implementation (e.g.Given a tuple, return the value that should be written to the sequence file.Value class used by implementation (e.g.
-
Method Details
-
keyClass
Class keyClass()Key class used by implementation (e.g. IntWritable.class, etc.). -
valueClass
Class valueClass()Value class used by implementation (e.g. Text.class, etc.). -
key
Given a tuple, return the key that should be written to the sequence file. -
value
Given a tuple, return the value that should be written to the sequence file.
-