public class CellDeduplicationHelper
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
protected static class |
CellDeduplicationHelper.QualifierOnlyKey |
Constructor | Description |
---|---|
CellDeduplicationHelper() |
Modifier and Type | Method | Description |
---|---|---|
static java.util.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 java.util.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.