| 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 |
addUUID(Chunk c,
int row) |
void |
addUUID(Chunk c,
long row) |
void |
addUUID(long lo,
long hi) |
void |
addZeros(int n) |
protected long |
at16h_impl(int idx) |
protected long |
at16l_impl(int idx) |
long |
at8_impl(int i) |
double |
atd_impl(int i)
Chunk-specific readers.
|
protected void |
cancel_sparse() |
void |
close(Futures fs) |
protected double[] |
doubles() |
protected int[] |
exponent() |
protected int[] |
indices() |
protected boolean |
isEnum(int idx) |
protected boolean |
isEnum2(int idx) |
boolean |
isNA_impl(int i) |
protected boolean |
isNA2(int idx) |
boolean |
isSparse() |
boolean |
isUUID() |
protected long[] |
mantissa() |
Chunk |
new_close() |
NewChunk |
read(AutoBuffer bb)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
boolean |
set_impl(int i,
double d) |
protected void |
set_sparse(int nzeros) |
protected boolean |
setNA_impl2(int i) |
boolean |
sparse() |
int |
sparseLen() |
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, at16h, at16h0, at16l, at16l0, at8_slow, at8, at80, byteSize, cidx, clone, close, getBytes, isNA_slow, isNA, isNA0, len, nextNZ, nonzeros, nonzeros, pformat_len, pformat_len0, pformat_len0, pformat, pformat0, readable, set_len, set, set, set, set0, set0, set0, setNA, setNA0, writablefrozenType, init, newInstance, toDocField, writeJSON, writeJSONFieldspublic static final int MIN_SPARSE_RATIO
public NewChunk(Vec vec, int cidx)
public NewChunk(Chunk C)
public NewChunk(Vec vec, int cidx, int len)
protected final long[] mantissa()
protected final int[] exponent()
protected final int[] indices()
protected final double[] doubles()
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 void addUUID(long lo,
long hi)
public void addUUID(Chunk c, long row)
public void addUUID(Chunk c, int row)
public final boolean isUUID()
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 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)
Chunkprotected long at16l_impl(int idx)
at16l_impl in class Chunkprotected long at16h_impl(int idx)
at16h_impl in class Chunkpublic AutoBuffer write(AutoBuffer bb)
Chunkpublic NewChunk read(AutoBuffer bb)
Freezable