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
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
ExtendedCellSerialization
public ExtendedCellSerialization()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-
getDeserializer
- Specified by:
getDeserializer
in interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-
getSerializer
- Specified by:
getSerializer
in interfaceorg.apache.hadoop.io.serializer.Serialization<ExtendedCell>
-