@InternalApi(value="For internal usage only") public class CellDeduplicationHelper extends Object
This is used primarily to apply client-side Increment and Append deduplication logic.
For internal use only - public for technical reasons.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CellDeduplicationHelper.QualifierOnlyKey |
| Constructor and Description |
|---|
CellDeduplicationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.hadoop.hbase.Cell> |
deduplicateFamily(org.apache.hadoop.hbase.client.Mutation mutation,
byte[] family)
Given a Mutation and a family with potentially duplicate cell family:qualifier combinations,
remove all entries except for the last for that family:qualifier pair.
|
public static List<org.apache.hadoop.hbase.Cell> deduplicateFamily(org.apache.hadoop.hbase.client.Mutation mutation, byte[] family)
mutation - a Mutation object.family - an array of byte.List object.