public class DataKeyFactory extends AbstractKeyFactory
| Constructor and Description |
|---|
DataKeyFactory(String field) |
| Modifier and Type | Method and Description |
|---|---|
String |
asHeader() |
Key |
convertKey(Key key) |
protected Key |
convertToKey(Object value) |
Key |
createEmptyKey() |
Key |
createKey(IndexableItem indexableItem) |
String |
getFieldName() |
String |
getKeyId() |
int |
getKeySize() |
KeyType |
getKeyType() |
int |
getMemorySize() |
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) |
createMultivalueKeys, getField, isMultiValueKeypublic DataKeyFactory(String field)
protected Key convertToKey(Object value) throws JasDBStorageException
convertToKey in class AbstractKeyFactoryJasDBStorageExceptionpublic Key loadKey(int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
JasDBStorageExceptionpublic void writeKey(Key key, int curPosition, ByteBuffer byteBuffer) throws JasDBStorageException
JasDBStorageExceptionpublic KeyLoadResult loadKey(int offset, DataBlock dataBlock) throws JasDBStorageException
JasDBStorageExceptionpublic DataBlock writeKey(Key key, DataBlock dataBlock) throws JasDBStorageException
JasDBStorageExceptionpublic Key convertKey(Key key) throws JasDBStorageException
JasDBStorageExceptionpublic boolean supportsKey(Key key)
public Key createKey(IndexableItem indexableItem) throws JasDBStorageException
JasDBStorageExceptionpublic Key createEmptyKey()
public KeyType getKeyType()
public String asHeader()
public String getKeyId()
public String getFieldName()
public int getKeySize()
public int getMemorySize()
Copyright © 2015. All rights reserved.