|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IndexAwareExtractor
IndexAwareExtractor is an extension to the ValueExtractor interface that supports the creation and destruction of an index. Instances of this interface are intended to be used with the QueryMap.addIndex(com.tangosol.util.ValueExtractor, boolean, java.util.Comparator) and QueryMap.removeIndex(com.tangosol.util.ValueExtractor) API to support the creation of custom indexes.
| Method Summary | |
|---|---|
MapIndex |
createIndex(boolean fOrdered, java.util.Comparator comparator, java.util.Map mapIndex, BackingMapContext ctx)Create an index and associate it with the corresponding extractor. |
MapIndex |
destroyIndex(java.util.Map mapIndex)Destroy an existing index and remove it from the given map of indexes. |
| Methods inherited from interface com.tangosol.util.ValueExtractor |
|---|
equals, extract, hashCode, toString |
| Method Detail |
|---|
MapIndex createIndex(boolean fOrdered,
java.util.Comparator comparator,
java.util.Map mapIndex,
BackingMapContext ctx)
fOrdered - true iff the contents of the indexed information should be ordered; false otherwisecomparator - the Comparator object which imposes an ordering of entries in the index contents; or null if the entries' values natural ordering should be usedmapIndex - Map<ValueExtractor, MapIndex> to be updated with the created indexctx - The context the index is associate with.MapIndex destroyIndex(java.util.Map mapIndex)
mapIndex - map<ValueExtractor, MapIndex> to be updated by removing the index being destroyed
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||