public class UploadFileVec extends FileVec
Modifier and Type | Class and Description |
---|---|
static class |
UploadFileVec.ReadPutStats |
Vec.CollectDomain, Vec.CollectDomainFast, Vec.Reader, Vec.VectorGroup, Vec.Writer
Keyed.BinarySerializer<X extends Keyed>
_chunkSize, _log2ChkSize, DFLT_CHUNK_SIZE, DFLT_LOG2_CHUNK_SIZE
_espc, DO_HISTOGRAMS, KEY_PREFIX_LEN, PERCENTILES, T_BAD, T_ENUM, T_NUM, T_STR, T_TIME, T_UUID, TYPE_STR
_key, EMPTY_KEY_LIST
Modifier | Constructor and Description |
---|---|
protected |
UploadFileVec(Key key) |
Modifier and Type | Method and Description |
---|---|
void |
addAndCloseChunk(Chunk c,
Futures fs) |
Value |
chunkIdx(int cidx)
Get a Chunk's Value by index.
|
void |
close(water.fvec.C1NChunk c,
int cidx,
Futures fs) |
static Key |
readPut(Key k,
java.io.InputStream is,
UploadFileVec.ReadPutStats stats) |
static Key |
readPut(java.lang.String keyname,
java.io.InputStream is,
UploadFileVec.ReadPutStats stats) |
boolean |
writable()
Default read/write behavior for Vecs.
|
byteSize, calcOptimalChunkSize, chunkOffset, length, nChunks, setChunkSize, setChunkSize
chunkForChunkIdx, getFirstBytes, getPreviewChunkBytes, isInt, naCnt, openStream
adaptTo, align, at, at16h, at16l, at8, atStr, base, bins, cardinality, checksum_impl, chunkForRow, chunkKey, chunkKey, domain, equals, factor, get_espc, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isConst, isEnum, isNA, isNumeric, isString, isTime, isUUID, lazy_bins, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCons, makeCopy, makeCopy, makeRand, makeRepSeq, makeSeq, makeSeq, makeSeq, makeVec, makeVec, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, mean, min, mins, mode, newKey, ninfs, nzCnt, open, pctiles, pinfs, postWrite, preWriting, remove_impl, set, set, set, set, setDomain, sigma, sparseRatio, startRollupStats, startRollupStats, stride, toByteArray, toDoubleArray, toEnum, toInt, toString, toStringVec
checksum, getBinarySerializer, getPublishedKeys, remove, remove, remove, remove
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeJSON_impl, writeJSON
protected UploadFileVec(Key key)
public boolean writable()
Vec
public void close(water.fvec.C1NChunk c, int cidx, Futures fs)
public Value chunkIdx(int cidx)
Vec
DKV.get()
. Warning: this pulls the data locally; using this call
on every Chunk index on the same node will probably trigger an OOM!public static Key readPut(java.lang.String keyname, java.io.InputStream is, UploadFileVec.ReadPutStats stats) throws java.lang.Exception
java.lang.Exception
public static Key readPut(Key k, java.io.InputStream is, UploadFileVec.ReadPutStats stats) throws java.lang.Exception
java.lang.Exception