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, size
public DataKey(byte[] data)
public DataKey(ClonableDataStream stream)
public ClonableDataStream getStream() throws JasDBStorageException
JasDBStorageException
public Key cloneKey()
Key
public Key cloneKey(boolean includeChildren)
Key
includeChildren
- True if child keys need to be included;public int compareTo(Key o)
compareTo
in interface Comparable<Key>
compareTo
in class AbstractKey
public CompareResult compare(Key otherKey, CompareMethod method)
public InputStream getValue()
Copyright © 2015. All rights reserved.