Interface SequenceFormat
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultSequenceFormat
public interface SequenceFormat extends Serializable
Interface for convertingTupleobjects to HDFS sequence file key-value pairs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectkey(Tuple tuple)Given a tuple, return the key that should be written to the sequence file.ClasskeyClass()Key class used by implementation (e.g.Objectvalue(Tuple tuple)Given a tuple, return the value that should be written to the sequence file.ClassvalueClass()Value class used by implementation (e.g.
-