public class OLuceneSpatialIndex extends OLuceneIndexNotUnique
OIndexAbstract.IndexConfiguration, OIndexAbstract.IndexTxSnapshot
apiVersion, binaryFormatVersion, clustersToIndex, CONFIG_MAP_RID, configuration, indexId, metadata, storage, type, valueContainerAlgorithm
ALGORITHM, CONFIG_AUTOMATIC, CONFIG_KEYTYPE, CONFIG_NAME, CONFIG_TYPE, INDEX_DEFINITION, INDEX_DEFINITION_CLASS, INDEX_VERSION, METADATA, VALUE_CONTAINER_ALGORITHM
MERGE_KEYS
Constructor and Description |
---|
OLuceneSpatialIndex(String name,
String typeId,
String algorithm,
int version,
OAbstractPaginatedStorage storage,
String valueContainerAlgorithm,
ODocument metadata,
int binaryFormatVersion) |
Modifier and Type | Method and Description |
---|---|
protected Object |
decodeKey(Object key) |
protected Object |
encodeKey(Object key) |
Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> |
interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
Interprets transaction index changes for a certain key.
|
OLuceneIndexNotUnique |
put(Object key,
OIdentifiable value)
Inserts a new entry in the index.
|
canBeUsedInEqualityOperators, clearSnapshot, commitSnapshot, create, delete, descStream, determineValueSerializer, doPut, get, getCollatingValue, getRids, isNativeTxSupported, onIndexEngineChange, putInSnapshot, rebuild, remove, remove, removeCluster, removeFromSnapshot, searcher, size, stream, streamEntries, streamEntriesBetween, streamEntriesMajor, streamEntriesMinor, supportsOrderedIterations
acquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, clear, close, commit, compareTo, count, create, cursor, descCursor, doReloadIndexEngine, doRemove, doRemove, equals, flush, getAlgorithm, getClusters, getConfiguration, getDatabase, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeySize, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getSize, getType, getVersion, hashCode, hasRangeQuerySupport, isAutomatic, isRebuilding, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, keyStream, loadFromConfiguration, loadMetadata, loadMetadataInternal, manualIndexesWarning, postCommit, preCommit, rebuild, releaseExclusiveLock, releaseSharedLock, setType, toString, updateConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isLabelSecurityDefined, isReadRestrictedBySecurityPolicy, securityFilterOnRead, securityFilterOnRead
public OLuceneIndexNotUnique put(Object key, OIdentifiable value)
OIndex
put
in interface OIndex
put
in class OLuceneIndexNotUnique
key
- Entry's keyvalue
- Entry's value as OIdentifiable instancepublic Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
OIndexAbstract
ORecordDuplicatedException
while applying index
changes.interpretTxKeyChanges
in interface OIndexInternal
interpretTxKeyChanges
in class OLuceneIndexNotUnique
changes
- the changes to interpret.protected Object encodeKey(Object key)
encodeKey
in class OLuceneIndexNotUnique
protected Object decodeKey(Object key)
decodeKey
in class OLuceneIndexNotUnique
Copyright © 2009–2020 OrientDB. All rights reserved.