public interface KeyFactory
Modifier and Type | Method and Description |
---|---|
String |
asHeader() |
Key |
convertKey(Key key) |
Key |
createEmptyKey() |
Key |
createKey(IndexableItem indexableItem) |
Set<Key> |
createMultivalueKeys(IndexableItem indexableItem) |
String |
getFieldName() |
String |
getKeyId() |
int |
getKeySize() |
KeyType |
getKeyType() |
int |
getMemorySize() |
boolean |
isMultiValueKey(IndexableItem indexableItem) |
Key |
loadKey(int curPosition,
ByteBuffer byteBuffer) |
KeyLoadResult |
loadKey(int offset,
DataBlock dataBlock) |
boolean |
supportsKey(Key key) |
DataBlock |
writeKey(Key key,
DataBlock dataBlock) |
void |
writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
Key loadKey(int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
JasDBStorageException
void writeKey(Key key, int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
JasDBStorageException
KeyLoadResult loadKey(int offset, DataBlock dataBlock) throws JasDBStorageException
JasDBStorageException
DataBlock writeKey(Key key, DataBlock dataBlock) throws JasDBStorageException
JasDBStorageException
Key convertKey(Key key) throws JasDBStorageException
JasDBStorageException
boolean supportsKey(Key key)
Key createKey(IndexableItem indexableItem) throws JasDBStorageException
JasDBStorageException
Key createEmptyKey()
Set<Key> createMultivalueKeys(IndexableItem indexableItem) throws JasDBStorageException
JasDBStorageException
KeyType getKeyType()
String asHeader()
String getKeyId()
String getFieldName()
int getKeySize()
int getMemorySize()
boolean isMultiValueKey(IndexableItem indexableItem) throws JasDBStorageException
JasDBStorageException
Copyright © 2015. All rights reserved.