
public abstract class OIndexTxAware<T> extends OIndexAbstractDelegate<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
OIndexTxAware.PartialSearchMode
Indicates search behavior in case of
OCompositeKey keys that have less amount
of internal keys are used, whether lowest or highest partially matched key should be used. |
| Modifier and Type | Field and Description |
|---|---|
protected ODatabaseDocumentInternal |
database |
delegateMERGE_KEYS| Constructor and Description |
|---|
OIndexTxAware(ODatabaseDocumentInternal iDatabase,
OIndex<T> iDelegate) |
| Modifier and Type | Method and Description |
|---|---|
OIndexTxAware<T> |
clear()
Clears the index removing all the entries in one shot.
|
protected Object |
enhanceCompositeKey(Object key,
OIndexTxAware.PartialSearchMode partialSearchMode) |
protected Object |
enhanceFromCompositeKeyBetweenAsc(Object keyFrom,
boolean fromInclusive) |
protected Object |
enhanceFromCompositeKeyBetweenDesc(Object keyFrom,
boolean fromInclusive) |
protected Object |
enhanceToCompositeKeyBetweenAsc(Object keyTo,
boolean toInclusive) |
protected Object |
enhanceToCompositeKeyBetweenDesc(Object keyTo,
boolean toInclusive) |
protected Object |
getCollatingValue(Object key) |
Object |
getFirstKey() |
Object |
getLastKey() |
long |
getSize() |
OIndexTxAware<T> |
put(Object iKey,
OIdentifiable iValue)
Inserts a new entry in the index.
|
OIndexTxAware<T> |
putOnlyClientTrack(Object iKey,
OIdentifiable iValue) |
boolean |
remove(Object key)
Removes an entry by its key.
|
boolean |
remove(Object iKey,
OIdentifiable iRID)
Removes an entry by its key and value.
|
boolean |
removeOnlyClientTrack(Object iKey,
OIdentifiable iRID) |
checkEntry, checkForKeyType, compareTo, contains, count, create, cursor, delete, descCursor, equals, flush, get, getAlgorithm, getClusters, getConfiguration, getDatabaseName, getDefinition, getIndexId, getInternal, getKeySize, getKeyTypes, getMetadata, getName, getRebuildVersion, getType, getVersion, hashCode, isAutomatic, isRebuilding, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, rebuild, rebuild, supportsOrderedIterations, toStringprotected ODatabaseDocumentInternal database
public OIndexTxAware(ODatabaseDocumentInternal iDatabase, OIndex<T> iDelegate)
public long getSize()
public OIndexTxAware<T> put(Object iKey, OIdentifiable iValue)
OIndexpublic OIndexTxAware<T> putOnlyClientTrack(Object iKey, OIdentifiable iValue)
public boolean remove(Object key)
OIndexpublic boolean remove(Object iKey, OIdentifiable iRID)
OIndexpublic boolean removeOnlyClientTrack(Object iKey, OIdentifiable iRID)
public OIndexTxAware<T> clear()
OIndexpublic Object getFirstKey()
getFirstKey in interface OIndex<T>getFirstKey in class OIndexAbstractDelegate<T>public Object getLastKey()
getLastKey in interface OIndex<T>getLastKey in class OIndexAbstractDelegate<T>protected Object enhanceCompositeKey(Object key, OIndexTxAware.PartialSearchMode partialSearchMode)
protected Object enhanceToCompositeKeyBetweenAsc(Object keyTo, boolean toInclusive)
protected Object enhanceFromCompositeKeyBetweenAsc(Object keyFrom, boolean fromInclusive)
protected Object enhanceToCompositeKeyBetweenDesc(Object keyTo, boolean toInclusive)
protected Object enhanceFromCompositeKeyBetweenDesc(Object keyFrom, boolean fromInclusive)
Copyright © 2009–2025 OrientDB. All rights reserved.