
public class OLuceneIndexNotUnique extends OIndexAbstract<Set<OIdentifiable>> implements OLuceneIndex
OIndexAbstract.IndexConfiguration, OIndexAbstract.IndexTxSnapshotCONFIG_CLUSTERS, CONFIG_MAP_RID, configuration, indexId, keyLockManager, metadata, storage, type, valueContainerAlgorithmALGORITHM, CONFIG_AUTOMATIC, CONFIG_KEYTYPE, CONFIG_NAME, CONFIG_TYPE, INDEX_DEFINITION, INDEX_DEFINITION_CLASS, INDEX_VERSION, METADATA, VALUE_CONTAINER_ALGORITHMMERGE_KEYS| Constructor and Description |
|---|
OLuceneIndexNotUnique(String name,
String typeId,
String algorithm,
int version,
OAbstractPaginatedStorage storage,
String valueContainerAlgorithm,
ODocument metadata) |
acquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, checkEntry, clear, close, commit, compareTo, contains, count, create, delete, doReloadIndexEngine, equals, flush, getAlgorithm, getClusters, getConfiguration, getDatabase, getDatabaseName, getDefinition, getEngineProperties, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getType, getVersion, hashCode, hasRangeQuerySupport, indexCluster, indexConfigurationInstance, isAutomatic, isRebuilding, isUnique, keyCursor, loadFromConfiguration, loadMetadata, loadMetadataInternal, lockKeysForUpdate, lockKeysForUpdate, onShutdown, onStartup, populateIndex, postCommit, preCommit, rebuild, releaseExclusiveLock, releaseKeysForUpdate, releaseSharedLock, removeCluster, removeFromSnapshot, setRebuildingFlag, setType, toString, updateConfigurationpublic long rebuild(OProgressListener iProgressListener)
rebuild in interface OIndex<Set<OIdentifiable>>rebuild in class OIndexAbstract<Set<OIdentifiable>>public boolean remove(Object key, OIdentifiable value)
remove in interface OIndex<Set<OIdentifiable>>remove in class OIndexAbstract<Set<OIdentifiable>>public boolean remove(Object key)
remove in interface OIndex<Set<OIdentifiable>>remove in class OIndexAbstract<Set<OIdentifiable>>protected OBinarySerializer determineValueSerializer()
determineValueSerializer in class OIndexAbstract<Set<OIdentifiable>>protected Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
interpretTxKeyChanges in class OIndexAbstract<Set<OIdentifiable>>public Object getCollatingValue(Object key)
getCollatingValue in interface OIndexInternal<Set<OIdentifiable>>getCollatingValue in class OIndexAbstract<Set<OIdentifiable>>protected void commitSnapshot(Map<Object,Object> snapshot)
commitSnapshot in class OIndexAbstract<Set<OIdentifiable>>protected void putInSnapshot(Object key, OIdentifiable value, Map<Object,Object> snapshot)
putInSnapshot in class OIndexAbstract<Set<OIdentifiable>>protected void removeFromSnapshot(Object key, OIdentifiable value, Map<Object,Object> snapshot)
removeFromSnapshot in class OIndexAbstract<Set<OIdentifiable>>protected void clearSnapshot(OIndexAbstract.IndexTxSnapshot indexTxSnapshot)
clearSnapshot in class OIndexAbstract<Set<OIdentifiable>>protected void onIndexEngineChange(int indexId)
onIndexEngineChange in class OIndexAbstract<Set<OIdentifiable>>public OLuceneTxChanges getTransactionChanges(OTransaction transaction)
public OLuceneIndexNotUnique create(String name, OIndexDefinition indexDefinition, String clusterIndexName, Set<String> clustersToIndex, boolean rebuild, OProgressListener progressListener)
create in interface OIndex<Set<OIdentifiable>>public Set<OIdentifiable> get(Object key)
get in interface OIndex<Set<OIdentifiable>>public OLuceneIndexNotUnique put(Object key, OIdentifiable singleValue)
put in interface OIndex<Set<OIdentifiable>>public long getSize()
getSize in interface OIndex<Set<OIdentifiable>>public long getKeySize()
getKeySize in interface OIndex<Set<OIdentifiable>>public OIndexCursor iterateEntries(Collection<?> keys, boolean ascSortOrder)
iterateEntries in interface OIndex<Set<OIdentifiable>>public OIndexCursor iterateEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder)
iterateEntriesBetween in interface OIndex<Set<OIdentifiable>>public OIndexCursor iterateEntriesMajor(Object fromKey, boolean fromInclusive, boolean ascOrder)
iterateEntriesMajor in interface OIndex<Set<OIdentifiable>>public OIndexCursor iterateEntriesMinor(Object toKey, boolean toInclusive, boolean ascOrder)
iterateEntriesMinor in interface OIndex<Set<OIdentifiable>>public OIndexCursor cursor()
cursor in interface OIndex<Set<OIdentifiable>>public OIndexCursor descCursor()
descCursor in interface OIndex<Set<OIdentifiable>>public boolean supportsOrderedIterations()
supportsOrderedIterations in interface OIndex<Set<OIdentifiable>>public org.apache.lucene.search.IndexSearcher searcher()
throws IOException
searcher in interface OLuceneIndexIOExceptionpublic boolean canBeUsedInEqualityOperators()
canBeUsedInEqualityOperators in interface OIndexInternal<Set<OIdentifiable>>Copyright © 2013–2017 OrientDB. All rights reserved.