public class OIndexDictionary extends OIndexOneValue
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 |
---|
OIndexDictionary(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, streamEntriesMinor
acquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, clear, clearSnapshot, close, commit, commitSnapshot, compareTo, count, create, cursor, delete, descCursor, 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, updateConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isLabelSecurityDefined, isReadRestrictedBySecurityPolicy, securityFilterOnRead, securityFilterOnRead
public OIndexOneValue put(Object key, OIdentifiable value)
OIndex
key
- Entry's keyvalue
- Entry's value as OIdentifiable instancepublic void doPut(OAbstractPaginatedStorage storage, Object key, ORID rid) throws OInvalidIndexEngineIdException
OInvalidIndexEngineIdException
public boolean isNativeTxSupported()
public boolean canBeUsedInEqualityOperators()
OIndexInternal
OQueryOperatorEquality
operators.true
if given index can be used to calculate result of OQueryOperatorEquality
operators.public boolean supportsOrderedIterations()
public Iterable<OTransactionIndexChangesPerKey.OTransactionIndexEntry> interpretTxKeyChanges(OTransactionIndexChangesPerKey changes)
OIndexAbstract
ORecordDuplicatedException
while applying index
changes.interpretTxKeyChanges
in interface OIndexInternal
interpretTxKeyChanges
in class OIndexAbstract
changes
- the changes to interpret.Copyright © 2009–2020 OrientDB. All rights reserved.