Class ExtendedCellSerialization
java.lang.Object
org.apache.hadoop.hbase.mapreduce.ExtendedCellSerialization
- All Implemented Interfaces:
org.apache.hadoop.io.serializer.Serialization<ExtendedCell>
@Private
public class ExtendedCellSerialization
extends Object
implements org.apache.hadoop.io.serializer.Serialization<ExtendedCell>
Similar to CellSerialization, but includes the sequenceId from an ExtendedCell. This is necessary
so that CellSortReducer can sort by sequenceId, if applicable. Note that these two serializations
are not compatible -- data serialized by CellSerialization cannot be deserialized with
ExtendedCellSerialization and vice versa. This is ok for
HFileOutputFormat2 because the
serialization is not actually used for the actual written HFiles, just intermediate data (between
mapper and reducer of a single job).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
ExtendedCellSerialization
public ExtendedCellSerialization()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-
getDeserializer
- Specified by:
getDeserializerin interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-
getSerializer
- Specified by:
getSerializerin interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-