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, wait
logWarningForPathFilterMismatch
public double getCostPerExecution()
QueryIndex.IndexPlan
getCostPerExecution
in interface QueryIndex.IndexPlan
public double getCostPerEntry()
QueryIndex.IndexPlan
getCostPerEntry
in interface QueryIndex.IndexPlan
public long getEstimatedEntryCount()
QueryIndex.IndexPlan
getEstimatedEntryCount
in interface QueryIndex.IndexPlan
public Filter getFilter()
QueryIndex.IndexPlan
getFilter
in interface QueryIndex.IndexPlan
public void setFilter(Filter filter)
QueryIndex.IndexPlan
setFilter
in interface QueryIndex.IndexPlan
public boolean isDelayed()
isDelayed
in interface QueryIndex.IndexPlan
public boolean isDeprecated()
QueryIndex.IndexPlan
isDeprecated
in interface QueryIndex.IndexPlan
public boolean isFulltextIndex()
isFulltextIndex
in interface QueryIndex.IndexPlan
public boolean includesNodeData()
includesNodeData
in interface QueryIndex.IndexPlan
public java.util.List<QueryIndex.OrderEntry> getSortOrder()
getSortOrder
in interface QueryIndex.IndexPlan
@Nullable public @Nullable Filter.PropertyRestriction getPropertyRestriction()
QueryIndex.IndexPlan
null
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.IndexPlan
null
.public QueryIndex.IndexPlan copy()
QueryIndex.IndexPlan
copy
in interface QueryIndex.IndexPlan
public NodeState getDefinition()
QueryIndex.IndexPlan
getDefinition
in interface QueryIndex.IndexPlan
public java.lang.String getPathPrefix()
QueryIndex.IndexPlan
getPathPrefix
in interface QueryIndex.IndexPlan
public boolean getSupportsPathRestriction()
QueryIndex.IndexPlan
getSupportsPathRestriction
in interface QueryIndex.IndexPlan
@Nullable public @Nullable java.lang.Object getAttribute(java.lang.String name)
QueryIndex.IndexPlan
Object
,
or null
if no attribute of the given name exists.getAttribute
in interface QueryIndex.IndexPlan
name
- 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.IndexPlan
getPlanName
in interface QueryIndex.IndexPlan
Copyright © 2010 - 2020 Adobe. All Rights Reserved