public static interface QueryIndex.AdvancedQueryIndex
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPlanDescription(QueryIndex.IndexPlan plan,
NodeState root)
Get the query plan description (for logging purposes).
|
java.util.List<QueryIndex.IndexPlan> |
getPlans(Filter filter,
java.util.List<QueryIndex.OrderEntry> sortOrder,
NodeState rootState)
Return the possible index plans for the given filter and sort order.
|
Cursor |
query(QueryIndex.IndexPlan plan,
NodeState rootState)
Start a query.
|
java.util.List<QueryIndex.IndexPlan> getPlans(Filter filter, java.util.List<QueryIndex.OrderEntry> sortOrder, NodeState rootState)
filter
- the filtersortOrder
- the sort order or null if no sorting is requiredrootState
- root state of the current repository snapshotjava.lang.String getPlanDescription(QueryIndex.IndexPlan plan, NodeState root)
The index plan is one of the plans that the index returned in the getPlans call.
plan
- the index planroot
- root state of the current repository snapshotCursor query(QueryIndex.IndexPlan plan, NodeState rootState)
The index plan is one of the plans that the index returned in the getPlans call.
plan
- the index plan to userootState
- root state of the current repository snapshotCopyright © 2010 - 2020 Adobe. All Rights Reserved