
public class OIndexUnique extends OIndexOneValue
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 |
|---|
OIndexUnique(String name,
String typeId,
String algorithm,
int version,
OAbstractPaginatedStorage storage,
String valueContainerAlgorithm,
ODocument metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeUsedInEqualityOperators()
Indicates whether given index can be used to calculate result of
OQueryOperatorEquality operators. |
protected Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> |
interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
Interprets transaction index changes for a certain key.
|
OIndexOneValue |
put(Object key,
OIdentifiable iSingleValue)
Inserts a new entry in the index.
|
boolean |
supportsOrderedIterations() |
checkEntry, count, create, cursor, descCursor, determineValueSerializer, get, getKeySize, getSize, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinoracquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, clear, clearSnapshot, close, commit, commitSnapshot, compareTo, contains, create, delete, doReloadIndexEngine, equals, flush, getAlgorithm, getClusters, getCollatingValue, getConfiguration, getDatabase, getDatabaseName, getDefinition, getEngineProperties, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getType, getVersion, hashCode, hasRangeQuerySupport, indexCluster, indexConfigurationInstance, isAutomatic, isRebuilding, keyCursor, loadFromConfiguration, loadMetadata, loadMetadataInternal, lockKeysForUpdate, lockKeysForUpdate, onIndexEngineChange, onShutdown, onStartup, populateIndex, postCommit, preCommit, putInSnapshot, rebuild, rebuild, releaseExclusiveLock, releaseKeysForUpdate, releaseSharedLock, remove, remove, removeCluster, removeFromSnapshot, removeFromSnapshot, setRebuildingFlag, setType, toString, updateConfigurationpublic OIndexOneValue put(Object key, OIdentifiable iSingleValue)
OIndexkey - Entry's keyiSingleValue - Entry's value as OIdentifiable instancepublic boolean canBeUsedInEqualityOperators()
OIndexInternalOQueryOperatorEquality operators.true if given index can be used to calculate result of
OQueryOperatorEquality operators.public boolean supportsOrderedIterations()
protected Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
OIndexAbstractORecordDuplicatedException while applying index changes.interpretTxKeyChanges in class OIndexAbstract<OIdentifiable>changes - the changes to interpret.Copyright © 2009–2025 OrientDB. All rights reserved.