Interface OIndexEngine
- All Superinterfaces:
OBaseIndexEngine
- All Known Subinterfaces:
OLuceneIndexEngine
- All Known Implementing Classes:
OAutoShardingIndexEngine,OHashTableIndexEngine,OLuceneFullTextIndexEngine,OLuceneGeoSpatialIndexEngine,OLuceneIndexEngineAbstract,OLuceneLegacySpatialIndexEngine,OLuceneSpatialIndexEngineAbstract,OLuceneSpatialIndexEngineDelegator,ORemoteIndexEngine,OSBTreeIndexEngine
- Since:
- 6/29/13
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault intvoidput(OAtomicOperation atomicOperation, Object key, Object value) booleanremove(OAtomicOperation atomicOperation, Object key) voidupdate(OAtomicOperation atomicOperation, Object key, OIndexKeyUpdater<Object> updater) booleanvalidatedPut(OAtomicOperation atomicOperation, Object key, ORID value, IndexEngineValidator<Object, ORID> validator) Puts the given value under the given key into this index engine.Methods inherited from interface com.orientechnologies.orient.core.index.engine.OBaseIndexEngine
acquireAtomicExclusiveLock, clear, close, create, delete, descStream, flush, getId, getIndexNameByKey, getName, getUniqueIndexVersion, hasRangeQuerySupport, hasRidBagTreesSupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyStream, load, size, stream, updateUniqueIndexVersion
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
get
-
put
- Throws:
IOException
-
update
void update(OAtomicOperation atomicOperation, Object key, OIndexKeyUpdater<Object> updater) throws IOException - Throws:
IOException
-
remove
- Throws:
IOException
-
validatedPut
boolean validatedPut(OAtomicOperation atomicOperation, Object key, ORID value, IndexEngineValidator<Object, ORID> validator) throws IOExceptionPuts the given value under the given key into this index engine. Validates the operation using the provided validator.- Parameters:
atomicOperation-key- the key to put the value under.value- the value to put.validator- the operation validator.- Returns:
trueif the validator allowed the put,falseotherwise.- Throws:
IOException- See Also:
-
getEngineAPIVersion
default int getEngineAPIVersion()- Specified by:
getEngineAPIVersionin interfaceOBaseIndexEngine
-