public class AggregateIndexPlan extends java.lang.Object implements QueryIndex.IndexPlan
QueryIndex.IndexPlan.Builder| Modifier and Type | Method and Description |
|---|---|
QueryIndex.IndexPlan |
copy()
Creates a cloned copy of current plan.
|
@Nullable java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the named attribute as an
Object,
or null if no attribute of the given name exists. |
double |
getCostPerEntry()
The cost to read one entry from the cursor.
|
double |
getCostPerExecution()
The cost to execute the query once.
|
NodeState |
getDefinition()
The node state with the index definition.
|
long |
getEstimatedEntryCount()
The estimated number of entries in the cursor that is returned by the query method,
when using this plan.
|
Filter |
getFilter()
The filter to use.
|
java.lang.String |
getPathPrefix()
The path prefix for this index plan.
|
java.lang.String |
getPlanName()
Get the unique plan name.
|
@Nullable Filter.PropertyRestriction |
getPropertyRestriction()
The property restriction for this index plan or
null if
this index plan isn't base on a property restriction. |
java.util.List<QueryIndex.OrderEntry> |
getSortOrder()
An aggregated query can not sort, as it gets results from a number of
indexes.
|
boolean |
getSupportsPathRestriction()
Whether index for this plan supports handling path restrictions natively.
|
boolean |
includesNodeData()
Whether all base plan include node data.
|
boolean |
isDelayed()
Whether any base plan is delayed.
|
boolean |
isDeprecated()
Whether the index is deprecated.
|
boolean |
isFulltextIndex()
Whether any base plan is a full text index.
|
void |
setFilter(Filter filter)
Use the given filter.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogWarningForPathFilterMismatchpublic double getCostPerExecution()
QueryIndex.IndexPlangetCostPerExecution in interface QueryIndex.IndexPlanpublic double getCostPerEntry()
QueryIndex.IndexPlangetCostPerEntry in interface QueryIndex.IndexPlanpublic long getEstimatedEntryCount()
QueryIndex.IndexPlangetEstimatedEntryCount in interface QueryIndex.IndexPlanpublic Filter getFilter()
QueryIndex.IndexPlangetFilter in interface QueryIndex.IndexPlanpublic void setFilter(Filter filter)
QueryIndex.IndexPlansetFilter in interface QueryIndex.IndexPlanpublic boolean isDelayed()
isDelayed in interface QueryIndex.IndexPlanpublic boolean isDeprecated()
QueryIndex.IndexPlanisDeprecated in interface QueryIndex.IndexPlanpublic boolean isFulltextIndex()
isFulltextIndex in interface QueryIndex.IndexPlanpublic boolean includesNodeData()
includesNodeData in interface QueryIndex.IndexPlanpublic java.util.List<QueryIndex.OrderEntry> getSortOrder()
getSortOrder in interface QueryIndex.IndexPlan@Nullable public @Nullable Filter.PropertyRestriction getPropertyRestriction()
QueryIndex.IndexPlannull if
this index plan isn't base on a property restriction. E.g. a plan
based on an order by clause in the query.getPropertyRestriction in interface QueryIndex.IndexPlannull.public QueryIndex.IndexPlan copy()
QueryIndex.IndexPlancopy in interface QueryIndex.IndexPlanpublic NodeState getDefinition()
QueryIndex.IndexPlangetDefinition in interface QueryIndex.IndexPlanpublic java.lang.String getPathPrefix()
QueryIndex.IndexPlangetPathPrefix in interface QueryIndex.IndexPlanpublic boolean getSupportsPathRestriction()
QueryIndex.IndexPlangetSupportsPathRestriction in interface QueryIndex.IndexPlan@Nullable public @Nullable java.lang.Object getAttribute(java.lang.String name)
QueryIndex.IndexPlanObject,
or null if no attribute of the given name exists.getAttribute in interface QueryIndex.IndexPlanname - String specifying the name of
the attributeObject containing the value
of the attribute, or null if the attribute does not existpublic java.lang.String getPlanName()
QueryIndex.IndexPlangetPlanName in interface QueryIndex.IndexPlanCopyright © 2010 - 2023 Adobe. All Rights Reserved