
public class OIndexTxAwareOneValue extends OIndexTxAware<OIdentifiable>
OIndexTxAware.PartialSearchModedatabasedelegateMERGE_KEYS| Constructor and Description |
|---|
OIndexTxAwareOneValue(ODatabaseDocumentInternal iDatabase,
OIndex<OIdentifiable> iDelegate) |
| Modifier and Type | Method and Description |
|---|---|
ODocument |
checkEntry(OIdentifiable iRecord,
Object iKey)
For unique indexes it will throw exception if passed in key is contained in index.
|
boolean |
contains(Object key)
Tells if a key is contained in the index.
|
OIdentifiable |
get(Object key)
Gets the set of records associated with the passed key.
|
OIndexCursor |
iterateEntries(Collection<?> keys,
boolean ascSortOrder)
Returns cursor which presents data associated with passed in keys.
|
OIndexCursor |
iterateEntriesBetween(Object fromKey,
boolean fromInclusive,
Object toKey,
boolean toInclusive,
boolean ascOrder)
Returns cursor which presents subset of index data between passed in keys.
|
OIndexCursor |
iterateEntriesMajor(Object fromKey,
boolean fromInclusive,
boolean ascOrder)
Returns cursor which presents subset of data which associated with key which is greater than passed in key.
|
OIndexCursor |
iterateEntriesMinor(Object toKey,
boolean toInclusive,
boolean ascOrder)
Returns cursor which presents subset of data which associated with key which is less than passed in key.
|
clear, enhanceCompositeKey, enhanceFromCompositeKeyBetweenAsc, enhanceFromCompositeKeyBetweenDesc, enhanceToCompositeKeyBetweenAsc, enhanceToCompositeKeyBetweenDesc, getCollatingValue, getFirstKey, getLastKey, getSize, put, putOnlyClientTrack, remove, remove, removeOnlyClientTrackcheckForKeyType, compareTo, count, create, cursor, delete, descCursor, equals, flush, getAlgorithm, getClusters, getConfiguration, getDatabaseName, getDefinition, getIndexId, getInternal, getKeySize, getKeyTypes, getMetadata, getName, getRebuildVersion, getType, getVersion, hashCode, isAutomatic, isRebuilding, isUnique, keyCursor, rebuild, rebuild, supportsOrderedIterations, toStringpublic OIndexTxAwareOneValue(ODatabaseDocumentInternal iDatabase, OIndex<OIdentifiable> iDelegate)
public ODocument checkEntry(OIdentifiable iRecord, Object iKey)
OIndexcheckEntry in interface OIndex<OIdentifiable>checkEntry in class OIndexAbstractDelegate<OIdentifiable>public OIdentifiable get(Object key)
OIndexget in interface OIndex<OIdentifiable>get in class OIndexAbstractDelegate<OIdentifiable>key - The key to searchpublic boolean contains(Object key)
OIndexcontains in interface OIndex<OIdentifiable>contains in class OIndexAbstractDelegate<OIdentifiable>key - The key to searchpublic OIndexCursor iterateEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder)
OIndexiterateEntriesBetween in interface OIndex<OIdentifiable>iterateEntriesBetween in class OIndexAbstractDelegate<OIdentifiable>fromKey - Lower border of index data.fromInclusive - Indicates whether lower border should be inclusive or exclusive.toKey - Upper border of index data.toInclusive - Indicates whether upper border should be inclusive or exclusive.ascOrder - Flag which determines whether data iterated by cursor should be in ascending or descending order.public OIndexCursor iterateEntriesMajor(Object fromKey, boolean fromInclusive, boolean ascOrder)
OIndexiterateEntriesMajor in interface OIndex<OIdentifiable>iterateEntriesMajor in class OIndexAbstractDelegate<OIdentifiable>fromKey - Lower border of index data.fromInclusive - Indicates whether lower border should be inclusive or exclusive.ascOrder - Flag which determines whether data iterated by cursor should be in ascending or descending order.public OIndexCursor iterateEntriesMinor(Object toKey, boolean toInclusive, boolean ascOrder)
OIndexiterateEntriesMinor in interface OIndex<OIdentifiable>iterateEntriesMinor in class OIndexAbstractDelegate<OIdentifiable>toKey - Upper border of index data.toInclusive - Indicates Indicates whether upper border should be inclusive or exclusive.ascOrder - Flag which determines whether data iterated by cursor should be in ascending or descending order.public OIndexCursor iterateEntries(Collection<?> keys, boolean ascSortOrder)
OIndexiterateEntries in interface OIndex<OIdentifiable>iterateEntries in class OIndexAbstractDelegate<OIdentifiable>keys - Keys data of which should be returned.ascSortOrder - Flag which determines whether data iterated by cursor should be in ascending or descending order.Copyright © 2009–2025 OrientDB. All rights reserved.