
public class OIndexUnique extends OIndexOneValue
OIndexAbstract.IndexConfiguration, OIndexAbstract.IndexTxSnapshotapiVersion, binaryFormatVersion, clustersToIndex, CONFIG_MAP_RID, configuration, indexId, 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,
int binaryFormatVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeUsedInEqualityOperators()
Indicates whether given index can be used to calculate result of
OQueryOperatorEquality operators. |
void |
doPut(OAbstractPaginatedStorage storage,
Object key,
ORID rid) |
Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> |
interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
Interprets transaction index changes for a certain key.
|
boolean |
isNativeTxSupported() |
OIndexOneValue |
put(Object key,
OIdentifiable value)
Inserts a new entry in the index.
|
boolean |
supportsOrderedIterations() |
create, descStream, determineValueSerializer, get, getRids, isUnique, size, stream, streamEntries, streamEntriesBetween, streamEntriesMajor, streamEntriesMinoracquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, clear, clearSnapshot, close, commit, commitSnapshot, compareTo, count, create, cursor, delete, descCursor, doDelete, doReloadIndexEngine, doRemove, doRemove, equals, flush, getAlgorithm, getClusters, getCollatingValue, getConfiguration, getDatabase, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeySize, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getSize, getType, getVersion, hashCode, hasRangeQuerySupport, isAutomatic, isRebuilding, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, keyStream, loadFromConfiguration, loadMetadata, loadMetadataInternal, manualIndexesWarning, onIndexEngineChange, postCommit, preCommit, putInSnapshot, rebuild, rebuild, releaseExclusiveLock, releaseSharedLock, remove, remove, removeCluster, removeFromSnapshot, setType, toString, updateConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitisLabelSecurityDefined, isReadRestrictedBySecurityPolicy, securityFilterOnRead, securityFilterOnReadpublic OIndexOneValue put(Object key, OIdentifiable value)
OIndexkey - Entry's keyvalue - Entry's value as OIdentifiable instancepublic boolean isNativeTxSupported()
public void doPut(OAbstractPaginatedStorage storage, Object key, ORID rid) throws OInvalidIndexEngineIdException
OInvalidIndexEngineIdExceptionpublic boolean canBeUsedInEqualityOperators()
OIndexInternalOQueryOperatorEquality operators.true if given index can be used to calculate result of OQueryOperatorEquality operators.public boolean supportsOrderedIterations()
public Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
OIndexAbstractORecordDuplicatedException while applying index
changes.interpretTxKeyChanges in interface OIndexInternalinterpretTxKeyChanges in class OIndexAbstractchanges - the changes to interpret.Copyright © 2009–2025 OrientDB. All rights reserved.