public class Memory.Table.Row.ColumnFamily extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Memory.Table.Row.ColumnFamily.ByteValue |
class |
Memory.Table.Row.ColumnFamily.IncrementingValue |
class |
Memory.Table.Row.ColumnFamily.Value<T> |
| Modifier and Type | Field and Description |
|---|---|
String |
name
The name for this column family
|
| Constructor and Description |
|---|
ColumnFamily(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,byte[]> |
getValues(String fromQualifierIncl,
String toQualifierIcl)
The set of values in this column family mapped according to their qualifier.
|
void |
incr(String qualifier,
Number increment)
Increments the value at the given key.
|
protected Memory.Table.Row.ColumnFamily.Value<?> |
newElement(String qualifier)
Creates a byte value
|
Memory.Table.Row.ColumnFamily.Value<?> |
remove(String key)
Removes an element from the map.
|
void |
removeAll(Set<String> keys)
Removes elements from the map according to their keys.
|
public final String name
public ColumnFamily(String name)
protected Memory.Table.Row.ColumnFamily.Value<?> newElement(String qualifier)
qualifier - the key for the newly created elementpublic void incr(String qualifier, Number increment)
qualifier - the qualifier of the incremented valueincrement - the non-null increment to be appliedpublic Map<String,byte[]> getValues(String fromQualifierIncl, String toQualifierIcl)
public final Memory.Table.Row.ColumnFamily.Value<?> remove(String key)
key - the non-null key of the elementCopyright © 2016. All Rights Reserved.