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. |
static BigInteger |
estimateCost(boolean identitySearch,
boolean hasQueries,
boolean hasUsefulIndexes) |
BigInteger |
estimateNodeCostPerQ() |
BigInteger |
estimateNodeResultSetSizePerQ() |
com.redhat.lightblue.assoc.scorers.CostAndSize |
getCostAndSize() |
List<Path> |
getIdFields()
The identities of the entity
|
Index |
getIdIndex()
The index for the entity id
|
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 |
isIdentitySearch()
If there is an identity search on this entity
|
boolean |
isRootNode()
True if this is the root node
|
QueryPlanData |
newInstance()
Creates a new instance.
|
void |
setIdentitySearch(boolean b)
If there is an identity search on this entity
|
void |
setIdFields(List<Path> list)
The identities of the entity
|
void |
setIdIndex(Index i)
The index for the entity id
|
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, getReference, setConjuncts, setReferencepublic BigInteger estimateNodeCostPerQ()
public BigInteger estimateNodeResultSetSizePerQ()
public static BigInteger estimateCost(boolean identitySearch, boolean hasQueries, boolean hasUsefulIndexes)
public com.redhat.lightblue.assoc.scorers.CostAndSize getCostAndSize()
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 Index getIdIndex()
public void setIdIndex(Index i)
public boolean isIdentitySearch()
public void setIdentitySearch(boolean b)
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 © 2016. All rights reserved.