public class WrappedValueKeyFactory extends Object implements KeyFactory
| Constructor and Description |
|---|
WrappedValueKeyFactory(KeyFactory originalKeyFactory,
MultiKeyloader valueLoader) |
| 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) |
public WrappedValueKeyFactory(KeyFactory originalKeyFactory, MultiKeyloader valueLoader)
public Key loadKey(int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
loadKey in interface KeyFactoryJasDBStorageExceptionpublic void writeKey(Key key, int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
writeKey in interface KeyFactoryJasDBStorageExceptionpublic KeyLoadResult loadKey(int offset, DataBlock dataBlock) throws JasDBStorageException
loadKey in interface KeyFactoryJasDBStorageExceptionpublic DataBlock writeKey(Key key, DataBlock dataBlock) throws JasDBStorageException
writeKey in interface KeyFactoryJasDBStorageExceptionpublic Key createKey(IndexableItem indexableItem) throws JasDBStorageException
createKey in interface KeyFactoryJasDBStorageExceptionpublic Key createEmptyKey()
createEmptyKey in interface KeyFactorypublic Set<Key> createMultivalueKeys(IndexableItem indexableItem) throws JasDBStorageException
createMultivalueKeys in interface KeyFactoryJasDBStorageExceptionpublic boolean isMultiValueKey(IndexableItem indexableItem) throws JasDBStorageException
isMultiValueKey in interface KeyFactoryJasDBStorageExceptionpublic Key convertKey(Key key) throws JasDBStorageException
convertKey in interface KeyFactoryJasDBStorageExceptionpublic boolean supportsKey(Key key)
supportsKey in interface KeyFactorypublic String asHeader()
asHeader in interface KeyFactorypublic KeyType getKeyType()
getKeyType in interface KeyFactorypublic int getKeySize()
getKeySize in interface KeyFactorypublic int getMemorySize()
getMemorySize in interface KeyFactorypublic String getKeyId()
getKeyId in interface KeyFactorypublic String getFieldName()
getFieldName in interface KeyFactoryCopyright © 2015. All rights reserved.