Interface RecordQueryPlanWithNoChildren
-
- All Superinterfaces:
Bindable
,Correlated<RelationalExpression>
,PlanHashable
,PlannerGraphRewritable
,QueryPlan<FDBQueriedRecord<Message>>
,RecordQueryPlan
,RelationalExpression
- All Known Implementing Classes:
ComposedBitmapIndexQueryPlan
,RecordQueryCoveringIndexPlan
,RecordQueryIndexPlan
,RecordQueryLoadByKeysPlan
,RecordQueryScanPlan
,RecordQueryTextIndexPlan
@API(EXPERIMENTAL) public interface RecordQueryPlanWithNoChildren extends RecordQueryPlan
A query plan that does not have any child plans.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<RecordQueryPlan>
getChildren()
Returns the (zero or more)RecordQueryPlan
children of this plan.default List<? extends Quantifier>
getQuantifiers()
Return an iterator of references to the children of this planner expression.-
Methods inherited from interface com.apple.foundationdb.record.query.plan.temp.Correlated
getCorrelatedTo, rebase
-
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash
-
Methods inherited from interface com.apple.foundationdb.record.query.plan.temp.explain.PlannerGraphRewritable
rewritePlannerGraph
-
Methods inherited from interface com.apple.foundationdb.record.query.plan.plans.QueryPlan
execute, execute, getComplexity, getUsedIndexes, hasFullRecordScan, hasIndexScan, hasLoadBykeys, hasRecordScan, isReverse, logPlanStructure
-
Methods inherited from interface com.apple.foundationdb.record.query.plan.plans.RecordQueryPlan
accept, execute, execute, execute, execute, getAvailableFields, getQueryPlanChildren, structuralEquals, structuralEquals, structuralHashCode
-
Methods inherited from interface com.apple.foundationdb.record.query.plan.temp.RelationalExpression
acceptPropertyVisitor, bindTo, canCorrelate, equalsWithoutChildren, hashCodeWithoutChildren, semanticEquals, semanticEquals, semanticHashCode, show
-
-
-
-
Method Detail
-
getChildren
@Nonnull default List<RecordQueryPlan> getChildren()
Description copied from interface:RecordQueryPlan
Returns the (zero or more)RecordQueryPlan
children of this plan.Warning: This part of the API is undergoing active development. At some point in the future, the return type of this method will change to allow it to return a list of generic
QueryPlan
s. At current, everyRecordQueryPlan
can only have otherRecordQueryPlan
s as children. However, this is not guaranteed to be the case in the future. This method has been marked asAPI.Status.UNSTABLE
as of version 2.5.- Specified by:
getChildren
in interfaceRecordQueryPlan
- Returns:
- the child plans
-
getQuantifiers
@Nonnull default List<? extends Quantifier> getQuantifiers()
Description copied from interface:RelationalExpression
Return an iterator of references to the children of this planner expression. The iterators returned by different calls are guaranteed to be independent (i.e., advancing one will not advance another). However, they might point to the same object, as whenCollections.emptyIterator()
is returned. The returned iterator should be treated as an immutable object and may throw an exception ifIterator.remove()
is called. The iterator must return its elements in a consistent order.- Specified by:
getQuantifiers
in interfaceRelationalExpression
- Returns:
- an iterator of references to the children of this planner expression
-
-