Uses of Class
edu.caltech.nanodb.queryast.FromClause
-
Packages that use FromClause Package Description edu.caltech.nanodb.queryast edu.caltech.nanodb.queryeval This package contains the query-evaluation components of the database. -
-
Uses of FromClause in edu.caltech.nanodb.queryast
Fields in edu.caltech.nanodb.queryast declared as FromClause Modifier and Type Field Description private FromClause
SelectClause. fromClause
This field holds a hierarchy of one or more base and derived relations that produce the rows considered by this SELECT clause.private FromClause
FromClause. leftChild
If this FROM clause is a join expression then this references the left child of the join.private FromClause
FromClause. rightChild
If this FROM clause is a join expression then this references the right child of the join.Methods in edu.caltech.nanodb.queryast that return FromClause Modifier and Type Method Description FromClause
SelectClause. getFromClause()
Retrieves the from clause for this select clause.FromClause
FromClause. getLeftChild()
If the from-clause is a join expression, this method returns the left child-clause.FromClause
FromClause. getRightChild()
If the from-clause is a join expression, this method returns the right child-clause.Methods in edu.caltech.nanodb.queryast with parameters of type FromClause Modifier and Type Method Description void
SelectClause. setFromClause(FromClause fromClause)
Sets the hierarchy of base and derived relations that produce the rows considered by this SELECT clause.Constructors in edu.caltech.nanodb.queryast with parameters of type FromClause Constructor Description FromClause(FromClause left, FromClause right, JoinType type)
Construct a new FROM clause of typeFromClause.ClauseType.JOIN_EXPR
. -
Uses of FromClause in edu.caltech.nanodb.queryeval
Methods in edu.caltech.nanodb.queryeval with parameters of type FromClause Modifier and Type Method Description private void
CostBasedJoinPlanner. collectDetails(FromClause fromClause, java.util.HashSet<Expression> conjuncts, java.util.ArrayList<FromClause> leafFromClauses)
This helper method pulls the essential details for join optimization out of a FROM clause.private CostBasedJoinPlanner.JoinComponent
CostBasedJoinPlanner. makeJoinPlan(FromClause fromClause, java.util.Collection<Expression> extraConjuncts)
Given the top-levelFromClause
for a SELECT-FROM-WHERE block, this helper generates an optimal join plan for theFromClause
.private PlanNode
CostBasedJoinPlanner. makeLeafPlan(FromClause fromClause, java.util.Collection<Expression> conjuncts, java.util.HashSet<Expression> leafConjuncts)
Constructs a plan tree for evaluating the specified from-clause.Method parameters in edu.caltech.nanodb.queryeval with type arguments of type FromClause Modifier and Type Method Description private void
CostBasedJoinPlanner. collectDetails(FromClause fromClause, java.util.HashSet<Expression> conjuncts, java.util.ArrayList<FromClause> leafFromClauses)
This helper method pulls the essential details for join optimization out of a FROM clause.private java.util.ArrayList<CostBasedJoinPlanner.JoinComponent>
CostBasedJoinPlanner. generateLeafJoinComponents(java.util.Collection<FromClause> leafFromClauses, java.util.Collection<Expression> conjuncts)
This helper method performs the first step of the dynamic programming process to generate an optimal join plan, by generating a plan for every leaf from-clause identified from analyzing the query.
-