|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwater.Iced
water.fvec.Vec
water.fvec.ByteVec
water.fvec.FileVec
public abstract class FileVec
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class water.fvec.Vec |
|---|
Vec.CollectDomain, Vec.VectorGroup |
| Field Summary | |
|---|---|
static long |
CHUNK_SZ
|
static int |
LOG_CHK
|
| Fields inherited from class water.fvec.Vec |
|---|
_domain, _key, KEY_PREFIX_LEN, MAX_ENUM_SIZE |
| Constructor Summary | |
|---|---|
protected |
FileVec(Key key,
long len,
byte be)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class water.fvec.ByteVec |
|---|
elem2BV, openStream |
| Methods inherited from class water.fvec.Vec |
|---|
adaptTo, asEnum, at, at8, chunk, chunkKey, chunkLen, defaultLevels, domain, domain, equals, espc, group, hashCode, isEnum, isNA, makeCon, makeCon, makeTransf, makeTransf, makeZero, newKey, postWrite, readable, remove, rollupStats, rollupStats, rollupStats, set, set, set, setNA, toEnum, toString |
| Methods inherited from class water.Iced |
|---|
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LOG_CHK
public static final long CHUNK_SZ
| Constructor Detail |
|---|
protected FileVec(Key key,
long len,
byte be)
| Method Detail |
|---|
public long length()
Vec
length in class Vecpublic int nChunks()
Vec
nChunks in class Vecpublic boolean writable()
Vec
writable in class Vecpublic double min()
Vec
min in class Vecpublic double max()
max in class Vecpublic double mean()
mean in class Vecpublic double sigma()
sigma in class Vecpublic long naCnt()
naCnt in class Vecpublic boolean isInt()
isInt in class Vecpublic long byteSize()
byteSize in class Vecpublic long chunk2StartElem(int cidx)
Vec
chunk2StartElem in class Vecpublic static long chunkOffset(Key ckey)
public static int chunkIdx(Key ckey)
public Value chunkIdx(int cidx)
VecDKV.get. Warning: this pulls the data locally;
using this call on every Chunk index on the same node will
probably trigger an OOM!
chunkIdx in class Vec
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||