public class ByteVec extends Vec
Vec.ESPC, Vec.Holder, Vec.Reader, Vec.VectorGroup, Vec.Writer
_cids, _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, chunkLen, copyMeta, doCopy, domain, elem2ChunkIdx, equals, espc, factor, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isCategorical, isCompatibleWith, isConst, isDomainTruncated, isHomedLocally, isNA, isNumeric, isString, isTime, isUUID, isVolatile, lazy_bins, length, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeConN, makeCons, makeCons, makeCopy, makeCopy, makeCopy, makeDoubles, makeRand, makeRepSeq, makeSeq, makeSeq, makeSeq, makeTimeVec, makeVec, makeVec, makeVec, makeVec, makeVec, makeVec, makeVolatileDoubles, makeVolatileInts, makeZero, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, mean, min, mins, mode, nChunks, nChunksFor, newKey, ninfs, nonEmptyChunks, nzCnt, open, pctiles, pinfs, postWrite, preWriting, readAll_impl, remove_impl, rollupStatsKey, set, set, set, set, set, setBad, setChunkIdx, setDomain, setNA, sigma, sparseRatio, startRollupStats, startRollupStats, stride, stringAt, toCategoricalVec, toNumericVec, toString, toStringVec, toTwoDimTable, toTwoDimTable, 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)