public class OIndexTxAwareMultiValue extends OIndexTxAware<Collection<OIdentifiable>>
OIndexTxAware.PartialSearchMode
database
delegate
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 |
---|
OIndexTxAwareMultiValue(ODatabaseDocumentInternal database,
OIndexInternal delegate) |
Modifier and Type | Method and Description |
---|---|
Stream<ORawPair<Object,ORID>> |
descStream() |
Collection<OIdentifiable> |
get(Object key)
Deprecated.
|
Stream<ORID> |
getRids(Object key) |
Stream<ORawPair<Object,ORID>> |
stream() |
Stream<ORawPair<Object,ORID>> |
streamEntries(Collection<?> keys,
boolean ascSortOrder)
Returns stream which presents data associated with passed in keys.
|
Stream<ORawPair<Object,ORID>> |
streamEntriesBetween(Object fromKey,
boolean fromInclusive,
Object toKey,
boolean toInclusive,
boolean ascOrder)
Returns stream which presents subset of index data between passed in keys.
|
Stream<ORawPair<Object,ORID>> |
streamEntriesMajor(Object fromKey,
boolean fromInclusive,
boolean ascOrder)
Returns stream which presents subset of data which associated with key which is greater than
passed in key.
|
Stream<ORawPair<Object,ORID>> |
streamEntriesMinor(Object toKey,
boolean toInclusive,
boolean ascOrder)
Returns stream which presents subset of data which associated with key which is less than
passed in key.
|
clear, enhanceFromCompositeKeyBetweenAsc, enhanceFromCompositeKeyBetweenDesc, enhanceToCompositeKeyBetweenAsc, enhanceToCompositeKeyBetweenDesc, put, remove, remove, size
acquireAtomicExclusiveLock, addCluster, addTxOperation, canBeUsedInEqualityOperators, checkForKeyType, close, commit, compareTo, count, create, cursor, delete, descCursor, doPut, doRemove, doRemove, equals, flush, getAlgorithm, getClusters, getCollatingValue, getConfiguration, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeySize, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getSize, getType, getVersion, hashCode, hasRangeQuerySupport, interpretTxKeyChanges, isAutomatic, isNativeTxSupported, isRebuilding, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, keyStream, loadFromConfiguration, loadMetadata, postCommit, preCommit, rebuild, rebuild, removeCluster, setType, supportsOrderedIterations, toString, updateConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isLabelSecurityDefined, isReadRestrictedBySecurityPolicy, securityFilterOnRead, securityFilterOnRead
public OIndexTxAwareMultiValue(ODatabaseDocumentInternal database, OIndexInternal delegate)
@Deprecated public Collection<OIdentifiable> get(Object key)
OIndex
get
in interface OIndex
get
in class OIndexAbstractDelegate
key
- The key to searchpublic Stream<ORID> getRids(Object key)
getRids
in interface OIndexInternal
getRids
in class OIndexAbstractDelegate
public Stream<ORawPair<Object,ORID>> stream()
stream
in interface OIndexInternal
stream
in class OIndexAbstractDelegate
public Stream<ORawPair<Object,ORID>> descStream()
descStream
in interface OIndexInternal
descStream
in class OIndexAbstractDelegate
public Stream<ORawPair<Object,ORID>> streamEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder)
OIndexInternal
streamEntriesBetween
in interface OIndexInternal
streamEntriesBetween
in class OIndexAbstractDelegate
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 stream should be in ascending or
descending order.public Stream<ORawPair<Object,ORID>> streamEntriesMajor(Object fromKey, boolean fromInclusive, boolean ascOrder)
OIndexInternal
streamEntriesMajor
in interface OIndexInternal
streamEntriesMajor
in class OIndexAbstractDelegate
fromKey
- Lower border of index data.fromInclusive
- Indicates whether lower border should be inclusive or exclusive.ascOrder
- Flag which determines whether data iterated by stream should be in ascending or
descending order.public Stream<ORawPair<Object,ORID>> streamEntriesMinor(Object toKey, boolean toInclusive, boolean ascOrder)
OIndexInternal
streamEntriesMinor
in interface OIndexInternal
streamEntriesMinor
in class OIndexAbstractDelegate
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 stream should be in ascending or
descending order.public Stream<ORawPair<Object,ORID>> streamEntries(Collection<?> keys, boolean ascSortOrder)
OIndexInternal
streamEntries
in interface OIndexInternal
streamEntries
in class OIndexAbstractDelegate
keys
- Keys data of which should be returned.ascSortOrder
- Flag which determines whether data iterated by stream should be in
ascending or descending order.Copyright © 2009–2020 OrientDB. All rights reserved.