Uses of Interface
com.tangosol.util.MapIndex
-
Packages that use MapIndex Package Description com.tangosol.net Contains basic cluster interfaces and factories.com.tangosol.util Contains various generic utilities.com.tangosol.util.extractor ContainsValueExtractor
andValueUpdater
related classes.com.tangosol.util.filter Contains concreteFilter
implementations and related interfaces. -
-
Uses of MapIndex in com.tangosol.net
Methods in com.tangosol.net that return types with arguments of type MapIndex Modifier and Type Method Description Map<ValueExtractor,MapIndex>
BackingMapContext. getIndexMap()
Return a map of indexes defined for all partitions of thecache
that this BackingMapContext is associated with.default Map<ValueExtractor,MapIndex>
BackingMapContext. getIndexMap(int nPartition)
Return a map of indexes defined for the specified partition of thecache
that this BackingMapContext is associated with.Map<ValueExtractor,MapIndex>
BackingMapContext. getIndexMap(PartitionSet partitions)
Return a map of indexes defined for the specified partitions of thecache
that this BackingMapContext is associated with. -
Uses of MapIndex in com.tangosol.util
Classes in com.tangosol.util that implement MapIndex Modifier and Type Class Description class
ConditionalIndex
ConditionalIndex is aMapIndex
implementation that uses an associated filter to evaluate whether or not an entry should be indexed.class
ForwardOnlyMapIndex
ForwardOnlyMapIndex is aMapIndex
implementation that unlike theSimpleMapIndex
maintains only a forward index and not the inverse index.class
SimpleMapIndex
SimpleMapIndex is a MapIndex implementation used to correlate property values extracted from resource map entries with corresponding keys using what is commonly known as an Inverted Index algorithm.Methods in com.tangosol.util that return types with arguments of type MapIndex Modifier and Type Method Description default Map<ValueExtractor,MapIndex>
BinaryEntry. getIndexMap()
Return a map of indexes defined for the partition of thecache
that this BinaryEntry belongs to.Methods in com.tangosol.util with parameters of type MapIndex Modifier and Type Method Description protected static MapListener
InvocableMapHelper. ensureListener(MapIndex index)
Ensure a MapListener for the given index.Constructors in com.tangosol.util with parameters of type MapIndex Constructor Description IndexAdapter(MapIndex index)
Construct an IndexAdapter.IndexLookupRecord(ValueExtractor extractor, MapIndex index)
Construct an IndexLookupRecord. -
Uses of MapIndex in com.tangosol.util.extractor
Methods in com.tangosol.util.extractor that return MapIndex Modifier and Type Method Description MapIndex
ConditionalExtractor. createIndex(boolean fOrdered, Comparator comparator, Map<ValueExtractor<T,E>,MapIndex> mapIndex, BackingMapContext ctx)
Create an index and associate it with the corresponding extractor.MapIndex
DeserializationAccelerator. createIndex(boolean fOrdered, Comparator comparator, Map mapIndex, BackingMapContext ctx)
Create an index and associate it with the corresponding extractor.MapIndex
IndexAwareExtractor. createIndex(boolean fOrdered, Comparator comparator, Map<ValueExtractor<T,E>,MapIndex> mapIndex, BackingMapContext ctx)
Create an index and associate it with the corresponding extractor.MapIndex
ConditionalExtractor. destroyIndex(Map<ValueExtractor<T,E>,MapIndex> mapIndex)
Destroy an existing index and remove it from the given map of indexes.MapIndex
DeserializationAccelerator. destroyIndex(Map mapIndex)
Destroy an existing index and remove it from the given map of indexes.MapIndex
IndexAwareExtractor. destroyIndex(Map<ValueExtractor<T,E>,MapIndex> mapIndex)
Destroy an existing index and remove it from the given map of indexes.Methods in com.tangosol.util.extractor with parameters of type MapIndex Modifier and Type Method Description default ValueExtractor
IndexAwareExtractor. getExtractor(Map<ValueExtractor<T,E>,MapIndex> mapIndex, MapIndex index)
Obtain the underlying ValueExtractor that was added to the index map during theindex creation
.Method parameters in com.tangosol.util.extractor with type arguments of type MapIndex Modifier and Type Method Description MapIndex
ConditionalExtractor. createIndex(boolean fOrdered, Comparator comparator, Map<ValueExtractor<T,E>,MapIndex> mapIndex, BackingMapContext ctx)
Create an index and associate it with the corresponding extractor.MapIndex
IndexAwareExtractor. createIndex(boolean fOrdered, Comparator comparator, Map<ValueExtractor<T,E>,MapIndex> mapIndex, BackingMapContext ctx)
Create an index and associate it with the corresponding extractor.MapIndex
ConditionalExtractor. destroyIndex(Map<ValueExtractor<T,E>,MapIndex> mapIndex)
Destroy an existing index and remove it from the given map of indexes.MapIndex
IndexAwareExtractor. destroyIndex(Map<ValueExtractor<T,E>,MapIndex> mapIndex)
Destroy an existing index and remove it from the given map of indexes.default ValueExtractor
IndexAwareExtractor. getExtractor(Map<ValueExtractor<T,E>,MapIndex> mapIndex, MapIndex index)
Obtain the underlying ValueExtractor that was added to the index map during theindex creation
. -
Uses of MapIndex in com.tangosol.util.filter
Methods in com.tangosol.util.filter with parameters of type MapIndex Modifier and Type Method Description protected Integer
BetweenFilter. allOrNothing(MapIndex index, SortedMap<E,Set<?>> mapContents, Set setKeys)
Determine if the filter will match all or none of the entries in the index.protected Integer
GreaterFilter. allOrNothing(MapIndex index, SortedMap<E,Set<?>> mapContents, Set setKeys)
Determine if the filter will match all or none of the entries in the index.protected Integer
LessFilter. allOrNothing(MapIndex index, SortedMap<E,Set<?>> mapContents, Set setKeys)
Determine if the filter will match all or none of the entries in the index.protected void
BetweenFilter. applySortedIndex(MapIndex index, Set setKeys, SortedMap<E,Set<?>> mapContents)
Called by theBetweenFilter.applyIndex(java.util.Map, java.util.Set)
method if the index corresponding to this filter's value extractor is a sorted index.Method parameters in com.tangosol.util.filter with type arguments of type MapIndex Modifier and Type Method Description Filter<?>
IndexAwareFilter. applyIndex(Map<? extends ValueExtractor<? extends V,?>,? extends MapIndex<? extends K,? extends V,?>> mapIndexes, Set<? extends K> setKeys)
Filter remaining keys using a Map of available indexes.int
IndexAwareFilter. calculateEffectiveness(Map<? extends ValueExtractor<? extends V,?>,? extends MapIndex<? extends K,? extends V,?>> mapIndexes, Set<? extends K> setKeys)
Given a Map of available indexes, determine if this IndexAwareFilter can use any of the indexes to assist in its processing, and if so, determine how effective the use of that index would be.
-