
public interface OIndexEngine extends OBaseIndexEngine
OBaseIndexEngine.Validator<K,V>, OBaseIndexEngine.ValuesTransformer| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
default int |
getEngineAPIVersion() |
void |
load(String indexName,
OBinarySerializer valueSerializer,
boolean isAutomatic,
OBinarySerializer keySerializer,
OType[] keyTypes,
boolean nullPointerSupport,
int keySize,
Map<String,String> engineProperties,
OEncryption encryption) |
void |
put(OAtomicOperation atomicOperation,
Object key,
Object value) |
void |
update(OAtomicOperation atomicOperation,
Object key,
OIndexKeyUpdater<Object> updater) |
boolean |
validatedPut(OAtomicOperation atomicOperation,
Object key,
ORID value,
OBaseIndexEngine.Validator<Object,ORID> validator)
Puts the given value under the given key into this index engine.
|
acquireAtomicExclusiveLock, clear, close, contains, create, cursor, delete, deleteWithoutLoad, descCursor, flush, get, getFirstKey, getIndexNameByKey, getLastKey, getName, getVersion, hasRangeQuerySupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, remove, sizestatic final int VERSION
void put(OAtomicOperation atomicOperation, Object key, Object value) throws IOException
IOExceptionvoid update(OAtomicOperation atomicOperation, Object key, OIndexKeyUpdater<Object> updater) throws IOException
IOExceptionboolean validatedPut(OAtomicOperation atomicOperation, Object key, ORID value, OBaseIndexEngine.Validator<Object,ORID> validator) throws IOException
atomicOperation - key - the key to put the value under.value - the value to put.validator - the operation validator.true if the validator allowed the put, false otherwise.IOExceptionValidator#validate(Object, Object, Object)default int getEngineAPIVersion()
getEngineAPIVersion in interface OBaseIndexEnginevoid load(String indexName, OBinarySerializer valueSerializer, boolean isAutomatic, OBinarySerializer keySerializer, OType[] keyTypes, boolean nullPointerSupport, int keySize, Map<String,String> engineProperties, OEncryption encryption)
Copyright © 2009–2025 OrientDB. All rights reserved.