public static interface QueryIndex.AdvancedQueryIndex
| Modifier and Type | Method and Description |
|---|---|
String |
getPlanDescription(QueryIndex.IndexPlan plan,
org.apache.jackrabbit.oak.spi.state.NodeState root)
Get the query plan description (for logging purposes).
|
List<QueryIndex.IndexPlan> |
getPlans(Filter filter,
List<QueryIndex.OrderEntry> sortOrder,
org.apache.jackrabbit.oak.spi.state.NodeState rootState)
Return the possible index plans for the given filter and sort order.
|
Cursor |
query(QueryIndex.IndexPlan plan,
org.apache.jackrabbit.oak.spi.state.NodeState rootState)
Start a query.
|
List<QueryIndex.IndexPlan> getPlans(Filter filter, List<QueryIndex.OrderEntry> sortOrder, org.apache.jackrabbit.oak.spi.state.NodeState rootState)
filter - the filtersortOrder - the sort order or null if no sorting is requiredrootState - root state of the current repository snapshotString getPlanDescription(QueryIndex.IndexPlan plan, org.apache.jackrabbit.oak.spi.state.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, org.apache.jackrabbit.oak.spi.state.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 © 2012–2018 The Apache Software Foundation. All rights reserved.