
public class OLuceneGeoSpatialIndexEngine extends OLuceneSpatialIndexEngineAbstract
OBaseIndexEngine.Validator<K,V>, OBaseIndexEngine.ValuesTransformerctx, factory, queryStrategy, strategy, strategyFactoryKEY, metadata, name, RID, versionVERSION| Constructor and Description |
|---|
OLuceneGeoSpatialIndexEngine(OStorage storage,
String name,
OShapeBuilder factory) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.document.Document |
buildDocument(Object key,
OIdentifiable value) |
protected org.apache.lucene.spatial.SpatialStrategy |
createSpatialStrategy(OIndexDefinition indexDefinition,
ODocument metadata) |
Object |
get(Object key) |
Set<OIdentifiable> |
getInTx(Object key,
OLuceneTxChanges changes) |
boolean |
isLegacy() |
void |
onRecordAddedToResultSet(OLuceneQueryContext queryContext,
OContextualRecordId recordId,
org.apache.lucene.document.Document doc,
org.apache.lucene.search.ScoreDoc score) |
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.
|
buildQuery, contains, createIndexWriter, cursor, getFirstKey, getLastKey, hasRangeQuerySupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, newGeoDocument, remove, strategyacquireAtomicExclusiveLock, addDocument, buildTxChanges, clear, close, create, delete, deleteQuery, deleteWithoutLoad, descCursor, flush, freeze, getDatabase, getIndexNameByKey, getName, getVersion, indexAnalyzer, indexName, isCollectionIndex, load, openIfClosed, queryAnalyzer, release, release, remove, searcher, size, sizeInTx, updateLastAccessacquireExclusiveLock, acquireSharedLock, releaseExclusiveLock, releaseSharedLock, tryAcquireExclusiveLock, tryAcquireSharedLockaddUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, removeUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchergetEngineAPIVersionpublic OLuceneGeoSpatialIndexEngine(OStorage storage, String name, OShapeBuilder factory)
protected org.apache.lucene.spatial.SpatialStrategy createSpatialStrategy(OIndexDefinition indexDefinition, ODocument metadata)
createSpatialStrategy in class OLuceneSpatialIndexEngineAbstractpublic Set<OIdentifiable> getInTx(Object key, OLuceneTxChanges changes)
public void onRecordAddedToResultSet(OLuceneQueryContext queryContext, OContextualRecordId recordId, org.apache.lucene.document.Document doc, org.apache.lucene.search.ScoreDoc score)
onRecordAddedToResultSet in interface OLuceneIndexEngineonRecordAddedToResultSet in class OLuceneIndexEngineAbstractpublic void put(OAtomicOperation atomicOperation, Object key, Object value)
public void update(OAtomicOperation atomicOperation, Object key, OIndexKeyUpdater<Object> updater)
public boolean validatedPut(OAtomicOperation atomicOperation, Object key, ORID value, OBaseIndexEngine.Validator<Object,ORID> validator)
OIndexEnginekey - 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.Validator#validate(Object, Object, Object)public org.apache.lucene.document.Document buildDocument(Object key, OIdentifiable value)
buildDocument in interface OLuceneIndexEnginebuildDocument in class OLuceneSpatialIndexEngineAbstractpublic boolean isLegacy()
Copyright © 2009–2025 OrientDB. All rights reserved.