public abstract class FileVec extends ByteVec
Vec.CollectDomain, Vec.VectorGroup| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_SZ |
_domain, _espc, _key, _time, KEY_PREFIX_LEN, LOG_CHK, MAX_ENUM_SIZE| 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.
|
long |
chunk2StartElem(int cidx)
Convert a chunk-index into a starting row #.
|
Value |
chunkIdx(int cidx)
Get a Chunk's Value by index.
|
static int |
chunkIdx(Key ckey) |
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.
|
elem2BV, openStreamalign, at, at8, cardinality, checkMissing, chunk, chunkKey, chunkLen, domain, domain, equals, getVecKey, group, hashCode, isEnum, isNA, isTime, makeCon, makeCon, makeSeq, makeTransf, makeTransf, makeZero, masterVec, newKey, postWrite, readable, remove, rollupStats, rollupStats, set, set, set, setNA, timeMode, timeParse, toEnum, toStringclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic 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 chunk2StartElem(int cidx)
Vecchunk2StartElem in class Vecpublic static long chunkOffset(Key ckey)
public static int chunkIdx(Key ckey)