public abstract class FileVec extends ByteVec
Vec.VectorGroup, Vec.Writer| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_SZ |
| Modifier | Constructor and Description |
|---|---|
protected |
FileVec(Key key,
long len,
byte be) |
| Modifier and Type | Method and Description |
|---|---|
long |
byteSize()
Size of compressed vector data.
|
protected Value |
chunkIdx(int cidx)
Get a Chunk's Value by index.
|
static long |
chunkOffset(Key ckey) |
boolean |
isInt()
Is all integers?
|
long |
length()
Number of elements in the vector.
|
double |
max()
Return column max - lazily computed as needed.
|
double |
mean()
Return column mean - lazily computed as needed.
|
double |
min()
Return column min - lazily computed as needed.
|
long |
naCnt()
Return column missing-element-count - lazily computed as needed.
|
int |
nChunks()
Number of chunks.
|
double |
sigma()
Return column standard deviation - lazily computed as needed.
|
boolean |
writable()
Default read/write behavior for Vecs.
|
chunkForChunkIdx, getFirstBytes, openStreamalign, at, at16h, at16l, at8, atStr, base, bins, cardinality, checkMissing, chunkForRow, chunkKey, chunkKey, chunkLen, domain, equals, factors, getVecKey, group, hashCode, isConst, isEnum, isNA, isString, isTime, isUUID, makeCon, makeCon, makeCon, makeConSeq, makeSeq, makeTransf, makeTransf, makeZero, makeZero, masterVec, maxs, mins, newKey, ninfs, nzCnt, open, pinfs, postWrite, preWriting, readable, remove_impl, rollupStats, rollupStatsKey, set_factors, set, set, set, set, stride, timeParse, toEnum, toStringclone, frozenType, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONpublic static final int CHUNK_SZ
protected FileVec(Key key, long len, byte be)
public long length()
Vecpublic int nChunks()
Vecpublic boolean writable()
Vecpublic double min()
Vecpublic double mean()
public double sigma()
public long naCnt()
public long byteSize()
public static long chunkOffset(Key ckey)