Modifier and Type | Class and Description |
---|---|
class |
CXIChunk.SparseIterator |
class |
CXIChunk.Value |
Modifier and Type | Field and Description |
---|---|
protected int |
_lastOff |
protected int |
_ridsz |
protected int |
_valsz |
protected int |
_valsz_log |
protected static int |
OFF |
Modifier | Constructor and Description |
---|---|
protected |
CXIChunk(int len,
int nzs,
int valsz,
byte[] buf) |
Modifier and Type | Method and Description |
---|---|
protected long |
at8_impl(int idx) |
protected double |
atd_impl(int idx)
Chunk-specific readers.
|
protected int |
findOffset(int idx) |
protected int |
getId(int off) |
protected long |
getIValue(int off) |
protected boolean |
isNA_impl(int i) |
boolean |
isSparse() |
int |
nextNZ(int rid) |
int |
nonzeros(int[] arr)
Get chunk-relative indexes of values (nonzeros for sparse, all for dense) stored in this chunk.
|
Chunk |
read(AutoBuffer bb)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
int |
sparseLen() |
java.util.Iterator<CXIChunk.Value> |
values() |
AutoBuffer |
write(AutoBuffer bb)
Chunk-specific implementations of read and write
|
at_slow, at, at0, at8_slow, at8, at80, byteSize, cidx, clone, close, getBytes, isNA_slow, isNA, isNA0, nonzeros, pformat_len, pformat_len0, pformat_len0, pformat, pformat0, readable, set, set, set, set0, set0, set0, setNA, setNA0, toString, writable
frozenType, init, newInstance, toDocField, writeJSON, writeJSONFields
protected transient int _valsz
protected transient int _valsz_log
protected transient int _ridsz
protected static final int OFF
protected transient int _lastOff
public final int nonzeros(int[] arr)
Chunk
protected double atd_impl(int idx)
Chunk
protected final int getId(int off)
protected final long getIValue(int off)
protected final int findOffset(int idx)
public AutoBuffer write(AutoBuffer bb)
Chunk
public Chunk read(AutoBuffer bb)
Freezable
public java.util.Iterator<CXIChunk.Value> values()