public class DataKey extends AbstractKey
| Constructor and Description |
|---|
DataKey(byte[] data) |
DataKey(ClonableDataStream stream) |
| Modifier and Type | Method and Description |
|---|---|
Key |
cloneKey()
Clone the current key without influencing this instance
|
Key |
cloneKey(boolean includeChildren)
Clone the current key without influencing this instance, whilst leaving the values
|
CompareResult |
compare(Key otherKey,
CompareMethod method) |
int |
compareTo(Key o) |
ClonableDataStream |
getStream() |
InputStream |
getValue() |
addKey, getChildrenAsComposite, getKey, getKey, getKeyCount, getKeys, getKeysByName, hasChildren, setKeys, setKeys, sizepublic DataKey(byte[] data)
public DataKey(ClonableDataStream stream)
public ClonableDataStream getStream() throws JasDBStorageException
JasDBStorageExceptionpublic Key cloneKey()
Keypublic Key cloneKey(boolean includeChildren)
KeyincludeChildren - True if child keys need to be included;public int compareTo(Key o)
compareTo in interface Comparable<Key>compareTo in class AbstractKeypublic CompareResult compare(Key otherKey, CompareMethod method)
public InputStream getValue()
Copyright © 2015. All rights reserved.