public class IndexedFieldScorerData extends QueryPlanData
| Constructor and Description |
|---|
IndexedFieldScorerData() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(QueryPlanData source)
Copies contents of
source into this. |
BigInteger |
estimatedCost() |
BigInteger |
estimatedResultSize() |
BigInteger |
estimatedRootDescendantCost(BigInteger resultSetSize)
If there is a query after root, then we have to manually filter records, which is costly
|
Set<Path> |
getIndexableFields()
Set of fields that are collected from the queries associated to
this node that can be used for indexed access.
|
Map<Index,Set<Path>> |
getIndexMap()
Index info that shows which collections of fields can be
searched by which index
|
boolean |
hasQueries() |
boolean |
hasUsefulIndexes() |
boolean |
isRootNode()
True if this is the root node
|
QueryPlanData |
newInstance()
Creates a new instance.
|
void |
setIndexableFields(Set<Path> f)
Set of fields that are collected from the queries associated to
this node that can be used for indexed access.
|
void |
setIndexMap(Map<Index,Set<Path>> map)
Index info that shows which collections of fields can be
searched by which index
|
void |
setRootNode(boolean v)
True if this is the root node
|
String |
toString() |
getConjuncts, setConjunctspublic BigInteger estimatedCost()
public BigInteger estimatedRootDescendantCost(BigInteger resultSetSize)
public BigInteger estimatedResultSize()
public boolean isRootNode()
public void setRootNode(boolean v)
public boolean hasUsefulIndexes()
public boolean hasQueries()
public Set<Path> getIndexableFields()
public void setIndexableFields(Set<Path> f)
public Map<Index,Set<Path>> getIndexMap()
public void setIndexMap(Map<Index,Set<Path>> map)
public QueryPlanData newInstance()
QueryPlanDatanewInstance in class QueryPlanDatapublic void copyFrom(QueryPlanData source)
QueryPlanDatasource into this. Subclasses should override thiscopyFrom in class QueryPlanDatapublic String toString()
toString in class QueryPlanDataCopyright © 2015. All rights reserved.