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)
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, makeSchema, readAll, remove, remove, remove, remove, writeAllasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic 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.Objectpublic int len()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected long checksum_impl()
Keyedchecksum_impl in class Keyed<Vec.VectorGroup>protected Futures remove_impl(Futures fs)
KeyedVec (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>