| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<Long,Update> |
LONG_TO_PUTS |
| Constructor and Description |
|---|
Updates() |
| Modifier and Type | Method and Description |
|---|---|
static Update |
mergeUpdates(Update base,
Update modifier)
Merges together two Update instances:
Put a + Put b = Put b
Put a + Increment b = new Put(a + b)
Increment a + Put b = Put b
Increment a + Increment b = new Increment(a + b)
|
static NavigableMap<byte[],NavigableMap<Long,byte[]>> |
rowToBytes(NavigableMap<byte[],NavigableMap<Long,Update>> row)
Returns a new
NavigableMap with the underlying updates represented as byte[]. |
public static NavigableMap<byte[],NavigableMap<Long,byte[]>> rowToBytes(NavigableMap<byte[],NavigableMap<Long,Update>> row)
NavigableMap with the underlying updates represented as byte[].
public static Update mergeUpdates(Update base, Update modifier)
base - The currently stored or buffered updatemodifier - The new update to combineCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.