public static class Vec.VectorGroup extends Keyed<Vec.VectorGroup>
Modifier and Type | Field and Description |
---|---|
static Vec.VectorGroup |
VG_LEN1
The common shared vector group for very short vectors
|
Constructor and Description |
---|
VectorGroup() |
Modifier and Type | Method and Description |
---|---|
Key<Vec> |
addVec()
Shortcut for
addVecs(1) . |
Key<Vec>[] |
addVecs(int n)
Gets the next n keys of this group.
|
protected long |
checksum_impl()
High-quality 64-bit checksum of the content of the object.
|
boolean |
equals(java.lang.Object o)
True if two VectorGroups are equal
|
int |
hashCode()
VectorGroups's hashcode
|
int |
len() |
protected Keyed |
readAll_impl(AutoBuffer ab,
Futures fs) |
protected Futures |
remove_impl(Futures fs,
boolean cascade)
Override to remove subparts, but not self, of composite Keyed objects.
|
int |
reserveKeys(int n)
Reserve a range of keys and return index of first new available key
|
java.lang.String |
toString()
Pretty print the VectorGroup
|
Key<Vec> |
vecKey(int vecId)
Returns Vec Key from Vec id#.
|
protected AutoBuffer |
writeAll_impl(AutoBuffer ab)
Write out K/V pairs
|
checksum_impl, checksum, checksum, getKey, makeSchema, readAll, remove_impl, remove_self_key_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public static final Vec.VectorGroup VG_LEN1
public Key<Vec> vecKey(int vecId)
public int reserveKeys(int n)
public Key<Vec>[] addVecs(int n)
n
- number of keys to makepublic Key<Vec> addVec()
addVecs(1)
.addVecs(int)
public java.lang.String toString()
toString
in class java.lang.Object
public int len()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected long checksum_impl()
Keyed
checksum_impl
in class Keyed<Vec.VectorGroup>
protected Futures remove_impl(Futures fs, boolean cascade)
Keyed
Vec
(removing associated Chunk
keys)
and Frame
(removing associated Vec
keys.)remove_impl
in class Keyed<Vec.VectorGroup>
protected AutoBuffer writeAll_impl(AutoBuffer ab)
writeAll_impl
in class Keyed<Vec.VectorGroup>
protected Keyed readAll_impl(AutoBuffer ab, Futures fs)
readAll_impl
in class Keyed<Vec.VectorGroup>