public class ByteVec extends Vec
Vec.ESPC, Vec.Reader, Vec.VectorGroup, Vec.Writer
_rowLayout, DO_HISTOGRAMS, KEY_PREFIX_LEN, PERCENTILES, T_BAD, T_CAT, T_NUM, T_STR, T_TIME, T_UUID, TYPE_STR
Modifier and Type | Method and Description |
---|---|
water.fvec.C1NChunk |
chunkForChunkIdx(int cidx)
The Chunk for a chunk#.
|
byte[] |
getFirstBytes()
Get an unspecified amount of initial bytes; typically a whole C1NChunk of
length Vec.DFLT_CHUNK_SIZE but no guarantees.
|
byte[] |
getPreviewChunkBytes(int chkIdx)
Get all the bytes of a given chunk.
|
boolean |
isInt()
Is all integers? Yes, it's all bytes
|
long |
naCnt()
Return column missing-element-count - ByteVecs do not allow any "missing elements"
|
java.io.InputStream |
openStream(Key job_key)
Open a stream view over the underlying data
|
adaptTo, align, at, at16h, at16l, at8, atStr, base, bins, byteSize, cardinality, checksum_impl, chunkForRow, chunkIdx, chunkKey, chunkKey, copyMeta, doCopy, domain, elem2ChunkIdx, equals, espc, factor, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isCategorical, isConst, isNA, isNumeric, isString, isTime, isUUID, lazy_bins, length, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCons, makeCons, makeCopy, makeCopy, makeCopy, makeDoubles, makeRand, makeRepSeq, makeSeq, makeSeq, makeSeq, makeVec, makeVec, makeVec, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, mean, min, mins, mode, nChunks, newKey, ninfs, nzCnt, open, pctiles, pinfs, postWrite, preWriting, readAll_impl, remove_impl, rollupStatsKey, set, set, set, set, setBad, setDomain, sigma, sparseRatio, startRollupStats, startRollupStats, stride, toCategoricalVec, toNumericVec, toString, toStringVec, writeAll_impl
checksum, makeSchema, readAll, remove, remove, remove, remove, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public ByteVec(Key key, int rowLayout)
public water.fvec.C1NChunk chunkForChunkIdx(int cidx)
Vec
chunkForChunkIdx
in class Vec
public long naCnt()
public boolean isInt()
public byte[] getFirstBytes()
public byte[] getPreviewChunkBytes(int chkIdx)
chkIdx
- index of desired chunkpublic java.io.InputStream openStream(Key job_key)