Modifier and Type | Class and Description |
---|---|
class |
NewChunk.Value |
Modifier and Type | Field and Description |
---|---|
static int |
MIN_SPARSE_RATIO |
Constructor and Description |
---|
NewChunk(Chunk C) |
NewChunk(Vec vec,
int cidx) |
NewChunk(Vec vec,
int cidx,
int len) |
Modifier and Type | Method and Description |
---|---|
void |
add(NewChunk nc) |
void |
addEnum(int e) |
void |
addNA() |
void |
addNum(double d) |
void |
addNum(long val,
int exp) |
void |
addr(NewChunk nc) |
void |
addZeros(int n) |
long |
at8_impl(int i) |
double |
atd_impl(int i)
Chunk-specific readers.
|
protected void |
cancel_sparse() |
void |
close(Futures fs) |
protected boolean |
isEnum(int idx) |
protected boolean |
isEnum2(int idx) |
boolean |
isNA_impl(int i) |
protected boolean |
isNA2(int idx) |
Chunk |
new_close() |
NewChunk |
read(AutoBuffer bb)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
protected void |
set_enum() |
boolean |
set_impl(int i,
double d) |
protected void |
set_sparse(int nzeros) |
protected boolean |
setNA_impl2(int i) |
boolean |
sparse() |
protected void |
switch_to_doubles() |
java.lang.String |
toString() |
byte |
type() |
java.util.Iterator<NewChunk.Value> |
values(int fromIdx,
int toIdx) |
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, isSparse, nextNZ, nonzeros, nonzeros, pformat_len, pformat_len0, pformat_len0, pformat, pformat0, readable, set, set, set, set0, set0, set0, setNA, setNA0, sparseLen, writable
frozenType, init, newInstance, toDocField, writeJSON, writeJSONFields
public static final int MIN_SPARSE_RATIO
public NewChunk(Vec vec, int cidx)
public NewChunk(Chunk C)
public NewChunk(Vec vec, int cidx, int len)
public java.util.Iterator<NewChunk.Value> values(int fromIdx, int toIdx)
public byte type()
protected final boolean isNA2(int idx)
protected final boolean isEnum2(int idx)
protected final boolean isEnum(int idx)
public void addEnum(int e)
public void addNA()
public void addNum(long val, int exp)
public void addNum(double d)
public final boolean sparse()
public void addZeros(int n)
public void add(NewChunk nc)
public void addr(NewChunk nc)
public Chunk new_close()
public void close(Futures fs)
protected void set_enum()
protected void switch_to_doubles()
protected void set_sparse(int nzeros)
protected void cancel_sparse()
public boolean set_impl(int i, double d)
protected final boolean setNA_impl2(int i)
public double atd_impl(int i)
Chunk
public AutoBuffer write(AutoBuffer bb)
Chunk
public NewChunk read(AutoBuffer bb)
Freezable