public static class Vec.VectorGroup extends Keyed<Vec.VectorGroup>
Keyed.BinarySerializer<X extends Keyed>| Modifier and Type | Field and Description |
|---|---|
static Vec.VectorGroup |
VG_LEN1
The common shared vector group for very short vectors
|
_key, EMPTY_KEY_LIST| Constructor and Description |
|---|
Vec.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 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#.
|
checksum, getBinarySerializer, getPublishedKeys, remove, remove, remove, removeclone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeJSON_impl, 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>