public class ByteVec extends Vec
Vec.CollectDomain, Vec.CollectDomainFast, Vec.VectorGroup, Vec.Writer
Keyed.BinarySerializer<X extends Keyed>
_espc, DO_HISTOGRAMS, KEY_PREFIX_LEN, NO_HISTOGRAMS, PERCENTILES, T_BAD, T_ENUM, T_NUM, T_STR, T_TIME, T_TIMELAST, T_UUID, TYPE_STR
_key, EMPTY_KEY_LIST
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, domain, equals, factor, get_espc, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isConst, isEnum, isNA, isNumeric, isString, isTime, isUUID, lazy_bins, length, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCons, makeCopy, makeCopy, makeRand, makeRepSeq, makeSeq, makeSeq, makeVec, makeVec, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, mean, min, mins, nChunks, 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, writeHTML_impl, writeHTML, writeJSON_impl, writeJSON
public ByteVec(Key key, long[] espc)
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)