public class SparseLongRow extends SparseLongColumnMap implements LongRow
LongRow assumes a sparse set of columns,
ie. column IDs can be any int value. In general, this class is less CPU and
memory efficient than DenseLongRow.| Constructor and Description |
|---|
SparseLongRow()
Construct a new object, this object initially contains no columns (ie.
|
SparseLongRow(java.nio.ByteBuffer buffer)
Construct an object by de-serializing from a
ByteBuffer object. |
SparseLongRow(SparseLongRow other)
Copy constructor, constructs a new, deep copy of the argument.
|
| Modifier and Type | Method and Description |
|---|---|
SparseLongRow |
getCopy()
Returns a deep copy of this row.
|
void |
inc(RowUpdate rowUpdate)
Increment this row using a
RowUpdate object. |
clear, contains, get, inc, iterator, map, serialize, set, sizeincAllpublic SparseLongRow()
public SparseLongRow(SparseLongRow other)
other - object to construct a deep copy of.public SparseLongRow(java.nio.ByteBuffer buffer)
ByteBuffer object.buffer - the ByteBuffer containing the serialized data.public SparseLongRow getCopy()