public final class Key extends Iced<Key> implements java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
byte[] |
_kb |
static byte |
DVEC |
static byte |
JOB |
static byte |
VEC |
static byte |
VGROUP |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
Key |
getVecKey() |
int |
hashCode() |
H2ONode |
home_node() |
boolean |
home() |
boolean |
isChunkKey() |
boolean |
isVec() |
static Key |
make() |
static Key |
make(byte[] kb) |
static Key |
make(byte rf,
byte systemType,
H2ONode... replicas) |
static Key |
make(java.lang.String s) |
static Key |
makeUserHidden(Key orig) |
Key |
read_impl(AutoBuffer ab) |
java.lang.String |
toString()
Converts the key to HTML displayable string.
|
int |
type() |
boolean |
user_allowed() |
AutoBuffer |
write_impl(AutoBuffer ab) |
DocGen.HTML |
writeHTML_impl(DocGen.HTML ab) |
AutoBuffer |
writeJSON_impl(AutoBuffer ab) |
clone, frozenType, read, readJSON_impl, readJSON, write, writeHTML, writeJSONpublic byte[] _kb
public static final byte JOB
public static final byte VEC
public static final byte DVEC
public static final byte VGROUP
public final boolean isVec()
public final boolean isChunkKey()
public final Key getVecKey()
public boolean home()
public H2ONode home_node()
public static Key make(byte[] kb)
public static Key make(java.lang.String s)
public static Key make()
public boolean user_allowed()
public int type()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic final AutoBuffer write_impl(AutoBuffer ab)
write_impl in interface Freezablewrite_impl in class Iced<Key>public final Key read_impl(AutoBuffer ab)
public final DocGen.HTML writeHTML_impl(DocGen.HTML ab)
writeHTML_impl in interface FreezablewriteHTML_impl in class Iced<Key>public final AutoBuffer writeJSON_impl(AutoBuffer ab)
writeJSON_impl in interface FreezablewriteJSON_impl in class Iced<Key>