public abstract class LongColumnMap
extends java.lang.Object
| Constructor and Description |
|---|
LongColumnMap() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear()
Resets all values.
|
abstract boolean |
contains(int columnId)
Check if this map contains the specified column.
|
abstract long |
get(int columnId)
Returns the value associated with a particular column ID.
|
abstract void |
inc(int columnId,
long value)
Increments the current value associated with a column ID.
|
void |
incAll(LongColumnMap longColumnMap)
Increments by all values in a given
LongColumnMap. |
abstract LongColumnIterator |
iterator()
Returns an iterator over the columnId-value pairs contained in this
object.
|
abstract void |
set(int columnId,
long value)
Sets the value associated with a particular column ID.
|
public abstract boolean contains(int columnId)
columnId - the column ID to check.public abstract long get(int columnId)
columnId - the column ID.public abstract void set(int columnId,
long value)
columnId - the column ID.value - the value associated with columnId.public abstract void inc(int columnId,
long value)
columnId - the column ID.value - the value to increment by.public void incAll(LongColumnMap longColumnMap)
LongColumnMap.longColumnMap - object containing all values to increment by.public abstract void clear()
public abstract LongColumnIterator iterator()