Uses of Interface
se.liu.ida.hefquin.engine.queryplan.physical.PhysicalPlan
Package
Description
-
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryplan.physical
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
Modifier and TypeMethodDescriptionPhysicalPlan.getSubPlan
(int i) Returns the i-th sub-plan of this plan, where i starts at index 0 (zero).PhysicalPlanWithUnaryRoot.getSubPlan()
Convenience method that always should return the same as what is returned by callinggetSubPlan(int)
with a value of 0.PhysicalPlanWithBinaryRoot.getSubPlan1()
Convenience method that always should return the same as what is returned by callinggetSubPlan(int)
with a value of 0.PhysicalPlanWithBinaryRoot.getSubPlan2()
Convenience method that always should return the same as what is returned by callinggetSubPlan(int)
with a value of 1.Modifier and TypeMethodDescriptionvoid
PhysicalPlanWalker.PhysicalWalkerVisitor.walk
(PhysicalPlan plan) static void
PhysicalPlanWalker.walk
(PhysicalPlan plan, PhysicalPlanVisitor beforeVisitor, PhysicalPlanVisitor afterVisitor) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryplan.physical.impl
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprotected final List<PhysicalPlan>
PhysicalPlanWithNaryRootImpl.subPlans
Modifier and TypeMethodDescriptionPhysicalPlanWithBinaryRootImpl.getSubPlan
(int i) PhysicalPlanWithNaryRootImpl.getSubPlan
(int i) PhysicalPlanWithNullaryRootImpl.getSubPlan
(int i) PhysicalPlanWithUnaryRootImpl.getSubPlan()
PhysicalPlanWithUnaryRootImpl.getSubPlan
(int i) PhysicalPlanWithBinaryRootImpl.getSubPlan1()
PhysicalPlanWithBinaryRootImpl.getSubPlan2()
Modifier and TypeMethodDescriptionstatic List<LogicalOpRequest<?,
?>> PhysicalOpParallelMultiLeftJoin.checkApplicability
(List<PhysicalPlan> children) Checks whether aLogicalOpMultiwayLeftJoin
with the given list of physical plans can be implemented by the parallel multi-left-join (as captured by this physical operator).ModifierConstructorDescriptionprotected
PhysicalPlanWithBinaryRootImpl
(BinaryPhysicalOp rootOp, PhysicalPlan subPlan1, PhysicalPlan subPlan2) Instead of creating such a plan directly using this constructor, usePhysicalPlanFactory
.protected
PhysicalPlanWithNaryRootImpl
(NaryPhysicalOp rootOp, PhysicalPlan... subPlans) Instead of creating such a plan directly using this constructor, usePhysicalPlanFactory
.protected
PhysicalPlanWithUnaryRootImpl
(UnaryPhysicalOp rootOp, PhysicalPlan subPlan) Instead of creating such a plan directly using this constructor, usePhysicalPlanFactory
.ModifierConstructorDescriptionprotected
PhysicalPlanWithNaryRootImpl
(NaryPhysicalOp rootOp, List<PhysicalPlan> subPlans) Instead of creating such a plan directly using this constructor, usePhysicalPlanFactory
. -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryplan.utils
Modifier and TypeFieldDescriptionprotected final Map<LogicalPlan,
PhysicalPlan> LogicalToPhysicalPlanConverterImpl.Worker.convertedSubPlans
Modifier and TypeMethodDescriptionLogicalToPhysicalPlanConverter.convert
(LogicalPlan lp, boolean keepMultiwayJoins) LogicalToPhysicalPlanConverterImpl.convert
(LogicalPlan lp, boolean keepMultiwayJoins) LogicalToPhysicalPlanConverterImpl.Worker.convert
(LogicalPlan lp, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlan
(LogicalOperator lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayJoin
(LogicalOpMultiwayJoin lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayLeftJoin
(LogicalOpMultiwayLeftJoin lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayUnion
(LogicalOpMultiwayUnion lop, List<PhysicalPlan> children) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithBinaryRoot
(BinaryLogicalOp lop, PhysicalPlan child1, PhysicalPlan child2) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithNaryRoot
(NaryLogicalOp lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithNullaryRoot
(NullaryLogicalOp lop) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithUnaryRoot
(UnaryLogicalOp lop, PhysicalPlan child) static PhysicalPlan
PhysicalPlanFactory.createPlan
(BinaryLogicalOp rootOp, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(LogicalOperator lop, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryLogicalOp rootOp, List<PhysicalPlan> subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryLogicalOp rootOp, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NullaryLogicalOp rootOp) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(UnaryLogicalOp rootOp, PhysicalPlan subplan) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(BinaryPhysicalOp rootOp, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryPhysicalOp rootOp, List<PhysicalPlan> subplans) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryPhysicalOp rootOp, PhysicalPlan... subplans) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NullaryPhysicalOp rootOp) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(PhysicalOperator lop, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(UnaryPhysicalOp rootOp, PhysicalPlan subplan) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanBasedOnTypeOfGivenPhysicalOp
(LogicalOpBGPAdd lop, Class<? extends PhysicalOperator> opClass, PhysicalPlan subplan) Creates a physical plan with a bgpAdd as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoin
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a FILTER-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a UNION-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a VALUES-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithDefaultUnaryOpIfPossible
(PhysicalPlan inputPlan, PhysicalPlan nextPlan) If the nextPlan is in the form of a request, filter with request, or union with requests, this function turns the requests into xxAdd operators with the inputPlan as subplans.static PhysicalPlan
PhysicalPlanFactory.createPlanWithHashJoin
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithHashJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithNaiveNLJ
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a naive nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithNaiveNLJ
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a naive nested loops join as root operator.static <R extends DataRetrievalRequest,
M extends FederationMember>
PhysicalPlanPhysicalPlanFactory.createPlanWithRequest
(LogicalOpRequest<R, M> lop) Creates a plan with a request operator as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithSymmetricHashJoin
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a symmetric hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithSymmetricHashJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a symmetric hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnaryOpForUnionPlan
(PhysicalPlan inputPlan, PhysicalPlan unionPlan) This function take a inputPlan and unionPlan as input, where the unionPlan is required to be a plan with union as root operator, and all subPlans under the UNION are all requests or filters with request.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnion
(LogicalOpUnion lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary union as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnion
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary union as root operator.static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(LogicalOpBGPAdd lop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(LogicalOpGPAdd lop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(LogicalOpTPAdd lop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(UnaryLogicalOp lop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(PhysicalOpBindJoin pop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(PhysicalOpBindJoinWithFILTER pop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(PhysicalOpBindJoinWithUNION pop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(PhysicalOpBindJoinWithVALUES pop) static PhysicalPlan
PhysicalPlanFactory.extractRequestAsPlan
(PhysicalOpIndexNestedLoopsJoin pop) Modifier and TypeMethodDescriptionprotected List<PhysicalPlan>
LogicalToPhysicalPlanConverterImpl.Worker.convertChildren
(LogicalPlan lp, boolean keepMultiwayJoins) Converts the sub-plans of the given logical plan (if any) and returns a list of the resulting physical plans.static List<PhysicalPlan>
PhysicalPlanFactory.enumeratePlansWithUnaryOpFromReq
(PhysicalOpRequest<?, ?> req, PhysicalPlan subplan) Modifier and TypeMethodDescriptionstatic boolean
PhysicalPlanFactory.checkUnaryOpApplicableToUnionPlan
(PhysicalPlan unionPlan) Check whether all operators under the UNION operator belong to any of the following: - The operator is a request - If the operator is a filter, then under that filter there must be a request, - If the operator is a L2G operator, under the L2G operator, there must be a request or a filter operator with requests.protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithBinaryRoot
(BinaryLogicalOp lop, PhysicalPlan child1, PhysicalPlan child2) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithUnaryRoot
(UnaryLogicalOp lop, PhysicalPlan child) static PhysicalPlan
PhysicalPlanFactory.createPlan
(BinaryLogicalOp rootOp, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(LogicalOperator lop, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryLogicalOp rootOp, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(UnaryLogicalOp rootOp, PhysicalPlan subplan) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(BinaryPhysicalOp rootOp, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryPhysicalOp rootOp, PhysicalPlan... subplans) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlan
(PhysicalOperator lop, PhysicalPlan... subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(UnaryPhysicalOp rootOp, PhysicalPlan subplan) Creates a physical plan with the given root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanBasedOnTypeOfGivenPhysicalOp
(LogicalOpBGPAdd lop, Class<? extends PhysicalOperator> opClass, PhysicalPlan subplan) Creates a physical plan with a bgpAdd as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoin
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a FILTER-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinFILTER
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a UNION-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinUNION
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with a VALUES-based bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithBindJoinVALUES
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with a bind join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithDefaultUnaryOpIfPossible
(PhysicalPlan inputPlan, PhysicalPlan nextPlan) If the nextPlan is in the form of a request, filter with request, or union with requests, this function turns the requests into xxAdd operators with the inputPlan as subplans.static PhysicalPlan
PhysicalPlanFactory.createPlanWithHashJoin
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithHashJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpBGPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpGPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithIndexNLJ
(LogicalOpTPAdd lop, PhysicalPlan subplan) Creates a plan with an index nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithNaiveNLJ
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a naive nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithNaiveNLJ
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a naive nested loops join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithSymmetricHashJoin
(LogicalOpJoin lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a symmetric hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithSymmetricHashJoin
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a symmetric hash join as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnaryOpForUnionPlan
(PhysicalPlan inputPlan, PhysicalPlan unionPlan) This function take a inputPlan and unionPlan as input, where the unionPlan is required to be a plan with union as root operator, and all subPlans under the UNION are all requests or filters with request.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnion
(LogicalOpUnion lop, PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary union as root operator.static PhysicalPlan
PhysicalPlanFactory.createPlanWithUnion
(PhysicalPlan subplan1, PhysicalPlan subplan2) Creates a plan with a binary union as root operator.static List<PhysicalPlan>
PhysicalPlanFactory.enumeratePlansWithUnaryOpFromReq
(PhysicalOpRequest<?, ?> req, PhysicalPlan subplan) static ExpectedVariables[]
ExpectedVariablesUtils.getExpectedVariables
(PhysicalPlan... plans) static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.intersectionOfAllVariables
(PhysicalPlan... plans) Returns an intersection of the sets of all variables (certain and possible) in all the given plans.static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.intersectionOfCertainVariables
(PhysicalPlan... plans) Returns an intersection of the sets of certain variables in all the given plans.static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.intersectionOfPossibleVariables
(PhysicalPlan... plans) Returns an intersection of the sets of possible variables in all the given plans.void
TextBasedPhysicalPlanPrinterImpl.planWalk
(PhysicalPlan plan, int planNumber, int planLevel, int numberOfSiblings, PrintStream out, String rootOpIndentString) This method recursively goes through a plan, and appends specific strings to a print stream.void
PhysicalPlanPrinter.print
(PhysicalPlan plan, PrintStream out) Prints the given plan to the given stream.void
TextBasedPhysicalPlanPrinterImpl.print
(PhysicalPlan plan, PrintStream out) static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.unionOfAllVariables
(PhysicalPlan... plans) Returns a set of all the variables (certain and possible) in all the given plans.static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.unionOfCertainVariables
(PhysicalPlan... plans) Returns a set of all the certain variables in all the given plans.static Set<org.apache.jena.sparql.core.Var>
ExpectedVariablesUtils.unionOfPossibleVariables
(PhysicalPlan... plans) Returns a set of all the possible variables in all the given plans.Modifier and TypeMethodDescriptionprotected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlan
(LogicalOperator lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayJoin
(LogicalOpMultiwayJoin lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayLeftJoin
(LogicalOpMultiwayLeftJoin lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanForMultiwayUnion
(LogicalOpMultiwayUnion lop, List<PhysicalPlan> children) protected PhysicalPlan
LogicalToPhysicalPlanConverterImpl.Worker.createPhysicalPlanWithNaryRoot
(NaryLogicalOp lop, List<PhysicalPlan> children, boolean keepMultiwayJoins) static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryLogicalOp rootOp, List<PhysicalPlan> subplans) Creates a physical plan in which the root operator is the default physical operator for the given logical operator, as perLogicalToPhysicalOpConverter
.static PhysicalPlan
PhysicalPlanFactory.createPlan
(NaryPhysicalOp rootOp, List<PhysicalPlan> subplans) Creates a physical plan with the given root operator. -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc
Modifier and TypeMethodDescriptionQueryPlanner.createPlan
(Query query) PhysicalOptimizer.optimize
(LogicalPlan initialPlan) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.compiler
Modifier and TypeFieldDescriptionprotected final Map<PhysicalPlan,
ExecPlanTask> PushBasedQueryPlanCompilerImpl.Worker.convertedSubPlans
Modifier and TypeMethodDescriptionprotected ExecPlanTask
TaskBasedQueryPlanCompilerBase.Worker._createTasks
(PhysicalPlan qep, LinkedList<ExecPlanTask> tasks, int preferredOutputBlockSize, ExecutionContext execCxt) IteratorBasedQueryPlanCompilerImpl.compile
(PhysicalPlan qep) protected ResultElementIterator
IteratorBasedQueryPlanCompilerImpl.compile
(PhysicalPlan qep, ExecutionContext execCxt) TaskBasedQueryPlanCompilerBase.compile
(PhysicalPlan qep) protected LinkedList<ExecPlanTask>
PushBasedQueryPlanCompilerImpl.createTasks
(PhysicalPlan qep, ExecutionContext execCxt) void
PushBasedQueryPlanCompilerImpl.Worker.createTasks
(PhysicalPlan qep, LinkedList<ExecPlanTask> tasks, int preferredOutputBlockSize, ExecutionContext execCxt) protected LinkedList<ExecPlanTask>
TaskBasedQueryPlanCompilerBase.createTasks
(PhysicalPlan qep, ExecutionContext execCxt) void
TaskBasedQueryPlanCompilerBase.Worker.createTasks
(PhysicalPlan qep, LinkedList<ExecPlanTask> tasks, int preferredOutputBlockSize, ExecutionContext execCxt) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.planning
ModifierConstructorDescriptionQueryPlanningStatsImpl
(long overallQueryPlanningTime, long sourcePlanningTime, long logicalOptimizationTime, long physicalOptimizationTime, SourcePlanningStats sourcePlanningStats, LogicalPlan resultingSourceAssignment, LogicalPlan resultingLogicalPlan, PhysicalPlan resultingPhysicalPlan, PhysicalOptimizationStats queryOptimizationStats) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer
Modifier and TypeFieldDescriptionprotected final PhysicalPlan
CardinalityEstimationException.plan
protected final PhysicalPlan
CostEstimationException.plan
Modifier and TypeMethodDescriptionCardinalityEstimationException.getPlan()
Returns the plan for which estimating the result cardinality failed with this exception.CostEstimationException.getPlan()
Returns the plan for which the cost estimation failed with this exception.Modifier and TypeMethodDescriptionPhysicalOptimizerBase.optimize
(LogicalPlan lp) protected abstract Pair<PhysicalPlan,
PhysicalOptimizationStats> PhysicalOptimizerBase.optimize
(PhysicalPlan initialPhysicalPlan) PhysicalOptimizerWithoutOptimization.optimize
(PhysicalPlan initialPlan) Modifier and TypeMethodDescriptionCardinalityEstimation.initiateCardinalityEstimation
(PhysicalPlan plan) Asynchronous method that initiates a process to estimate the cardinality of the result that will be produced by the given plan.CostModel.initiateCostEstimation
(PhysicalPlan p) protected abstract Pair<PhysicalPlan,
PhysicalOptimizationStats> PhysicalOptimizerBase.optimize
(PhysicalPlan initialPhysicalPlan) PhysicalOptimizerWithoutOptimization.optimize
(PhysicalPlan initialPlan) ModifierConstructorDescriptionCardinalityEstimationException
(String message, Throwable cause, PhysicalPlan plan) CardinalityEstimationException
(String message, PhysicalPlan plan) CardinalityEstimationException
(Throwable cause, PhysicalPlan plan) CostEstimationException
(String message, Throwable cause, PhysicalPlan plan) CostEstimationException
(String message, PhysicalPlan plan) CostEstimationException
(Throwable cause, PhysicalPlan plan) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality
Modifier and TypeFieldDescriptionprotected final PhysicalPlan
CardinalityEstimationImpl.WorkerForSubquery.plan
protected final PhysicalPlan
MinBasedCardinalityEstimationImpl.WorkerForUnion.plan
protected final PhysicalPlan
MinBasedCardinalityEstimationImpl.WorkerForJoin.plan1
protected final PhysicalPlan
MinBasedCardinalityEstimationImpl.WorkerForJoin.plan2
Modifier and TypeFieldDescriptionprotected final Map<PhysicalPlan,
CompletableFuture<Integer>> CardinalityEstimationImpl.cache
protected final Map<PhysicalPlan,
Map<org.apache.jena.sparql.core.Var, CompletableFuture<Integer>>> VarSpecificCardinalityEstimationImpl.MyCache.map
Modifier and TypeMethodDescriptionCardinalityEstimationImpl._initiateCardinalityEstimation
(PhysicalPlan plan) MinBasedCardinalityEstimationImpl._initiateCardinalityEstimation
(PhysicalPlan plan) protected CompletableFuture<Integer>
VarSpecificCardinalityEstimationImpl._initiateCardinalityEstimation
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) protected CompletableFuture<Integer>
VarSpecificCardinalityEstimationImpl._initiateJoinCardinalityEstimation
(PhysicalPlan plan1, PhysicalPlan plan2, org.apache.jena.sparql.core.Var v) protected CompletableFuture<Integer>
VarSpecificCardinalityEstimationImpl._initiateMultiwayUnionCardinalityEstimation
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) VarSpecificCardinalityEstimationImpl.MyCache.get
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) CardinalityEstimationImpl.initiateCardinalityEstimation
(PhysicalPlan plan) VarSpecificCardinalityEstimation.initiateCardinalityEstimation
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) Asynchronous method that initiates a process to estimate the the variable-specific cardinality of the result that will be produced by the given plan.VarSpecificCardinalityEstimationImpl.initiateCardinalityEstimation
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) void
VarSpecificCardinalityEstimationImpl.MyCache.put
(PhysicalPlan plan, org.apache.jena.sparql.core.Var v, CompletableFuture<Integer> future) ModifierConstructorDescriptionWorkerForJoin
(CardinalityEstimation cardEstimate, PhysicalPlan plan1, PhysicalPlan plan2) WorkerForUnion
(CardinalityEstimation cardEstimate, PhysicalPlan plan) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.costmodel
Modifier and TypeFieldDescriptionprotected final Map<PhysicalPlan,
CompletableFuture<Double>> CostModelImpl.cache
Modifier and TypeMethodDescriptionprotected CompletableFuture<Double>
CostModelImpl._initiateCostEstimation
(PhysicalPlan plan) CFRBasedCostFunctionForPlan.aggregateValueForAllSubPlans
(Set<PhysicalPlan> visitedPlan, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan) CFRBasedParallelismCostFunctionForPlan.aggregateValueForAllSubPlans
(Set<PhysicalPlan> visitedPlans, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan) protected CompletableFuture<Integer>
CFRBase.initiateCardinalityEstimation
(PhysicalPlan plan) CFRBasedCostFunctionForPlan.initiateCostEstimation
(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) CFRNumberOfProcessedSolMaps.initiateCostEstimation
(PhysicalPlan plan) CFRNumberOfRequests.initiateCostEstimation
(PhysicalPlan plan) CFRNumberOfTermsShippedInRequests.initiateCostEstimation
(PhysicalPlan plan) CFRNumberOfTermsShippedInResponses.initiateCostEstimation
(PhysicalPlan plan) CFRNumberOfVarsShippedInRequests.initiateCostEstimation
(PhysicalPlan plan) CFRNumberOfVarsShippedInResponses.initiateCostEstimation
(PhysicalPlan plan) CostFunctionForPlan.initiateCostEstimation
(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) A function for estimating the cost of a plan.CostFunctionForRootOp.initiateCostEstimation
(PhysicalPlan plan) CostModelImpl.initiateCostEstimation
(PhysicalPlan plan) Modifier and TypeMethodDescriptionCFRBasedCostFunctionForPlan.aggregateValueForAllSubPlans
(Set<PhysicalPlan> visitedPlan, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan) CFRBasedParallelismCostFunctionForPlan.aggregateValueForAllSubPlans
(Set<PhysicalPlan> visitedPlans, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan) CFRBasedCostFunctionForPlan.initiateCostEstimation
(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) CostFunctionForPlan.initiateCostEstimation
(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) A function for estimating the cost of a plan. -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.evolutionaryAlgorithm
Modifier and TypeMethodDescriptionEvolutionaryAlgorithmQueryOptimizer.optimize
(LogicalPlan initialPlan) EvolutionaryAlgorithmQueryOptimizer.optimize
(PhysicalPlan plan, TerminationCriterion tc) Modifier and TypeMethodDescriptionprotected Generation
EvolutionaryAlgorithmQueryOptimizer.generateFirstGen
(PhysicalPlan plan, PlanRewritingUtils cache) EvolutionaryAlgorithmQueryOptimizer.optimize
(PhysicalPlan plan, TerminationCriterion tc) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized
Modifier and TypeMethodDescriptionprotected List<PhysicalPlan>
RandomizedQueryOptimizerBase.getNeighbours
(PhysicalPlan initialPlan) IterativeImprovementBasedQueryOptimizer.optimize
(LogicalPlan initialPlan) IterativeImprovementBasedQueryOptimizer.optimize
(PhysicalPlan initialPlan) SimulatedAnnealing.optimize
(LogicalPlan initialPlan) SimulatedAnnealing.optimize
(PhysicalPlan initialPlan, int numberOfSubplans) SimulatedAnnealing.optimize
(PhysicalPlan initialPlan, int numberOfSubplans, double temperatureModifier) TwoPhaseQueryOptimizer.optimize
(LogicalPlan initialPlan) Modifier and TypeMethodDescriptionprotected List<PhysicalPlan>
RandomizedQueryOptimizerBase.getNeighbours
(PhysicalPlan initialPlan) IterativeImprovementBasedQueryOptimizer.optimize
(PhysicalPlan initialPlan) SimulatedAnnealing.optimize
(PhysicalPlan initialPlan, int numberOfSubplans) SimulatedAnnealing.optimize
(PhysicalPlan initialPlan, int numberOfSubplans, double temperatureModifier) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.rewriting
Modifier and TypeFieldDescriptionprotected final Map<PhysicalPlan,
Set<RuleApplication>> PlanRewritingUtils.cache
Modifier and TypeMethodDescriptionRuleApplication.getPlan()
Returns the (complete) original plan to which the rule is meant to be applied.RuleApplication.getResultingPlan()
Returns the complete rewritten plan.Modifier and TypeMethodDescriptionRewritingRule.determineAllPossibleApplications
(PhysicalPlan plan) Returns all possible applications of this rule for the given plan.PlanRewritingUtils.getRuleApplications
(PhysicalPlan plan) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.rewriting.rules
Modifier and TypeFieldDescriptionprotected final PhysicalPlan[]
AbstractRuleApplicationImpl.pathToTargetSubPlan
Modifier and TypeMethodDescriptionprotected PhysicalPlan[]
AbstractRuleApplicationImpl.getNewChildPlans
(PhysicalPlan parent, PhysicalPlan rewrittenChildBefore, PhysicalPlan rewrittenChildAfter) AbstractRuleApplicationImpl.getPlan()
AbstractRuleApplicationImpl.getResultingPlan()
protected PhysicalPlan
AbstractRuleApplicationImpl.reconstructParentPlan
(PhysicalPlan parent, PhysicalPlan rewrittenChildBefore, PhysicalPlan rewrittenChildAfter) protected abstract PhysicalPlan
AbstractRuleApplicationImpl.rewritePlan
(PhysicalPlan plan) Modifier and TypeMethodDescriptionprotected abstract boolean
AbstractRewritingRuleImpl.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderAndMergeJoinOfBGPReqIntoBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderAndMergeJoinOfTPReqIntoTPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfBGPAddAndTPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfThreeSubPlansOfJOIN.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfThreeSubPlansOfUNION.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfTPAddAndBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfTwoBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfTwoSubPlansOfJOIN.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfTwoSubPlansOfUNION.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleChangeOrderOfTwoTPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToBJFILTER.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToBJUNION.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToBJVALUES.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToHashJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToIndexNLJ.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertBGPAddToSymmetricHashJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertGBPAddToNaiveNLJ.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToBindJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToBJFILTER.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToBJUNION.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToBJVALUES.canBeAppliedTo
(PhysicalPlan plan) boolean
RuleConvertTPAddToHashJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToIndexNLJ.canBeAppliedTo
(PhysicalPlan plan) boolean
RuleConvertTPAddToNaiveNLJ.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertTPAddToSymmetricHashJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleConvertUnionOfTwoJoinsToJoinOfUnion.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDistributeJOINOverUNION.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDivideBGPAddToMultiTPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDivideBGPReqIntoJoinOfTPReqs.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDivideBGPReqIntoMultiTPAdds.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDivideMultiwayJoinToJoinOfSubPlans.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleDivideMultiwayUnionToUnionOfSubPlans.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeBGPAddOfBGPReqIntoOneBGPReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeBGPAddOfGraphPatternReqIntoOneRequest.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeBGPAddOfTPReqIntoOneBGPReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeChildJoinIntoMultiwayJoin.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeChildUnionIntoMultiwayUnion.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfOneBGPReqIntoBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfOneTPReqIntoTPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfTPReqAndBGPReqIntoOneBGPReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfTwoBGPReqIntoOneReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfTwoPatternReqIntoOneReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeJoinOfTwoTPReqIntoOneBGPReq.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeMultiwayJoinOfMultiIdenticalSubPlansIntoOne.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeMultiwayUnionOfMultiIdenticalSubPlansIntoOne.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeTPAddOfBGPAddIntoBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeTPAddOfBGPReqIntoOneRequest.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeTPAddOfGraphPatternReqIntoOneRequest.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeTwoBGPAddIntoOneBGPAdd.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeUnionOfTwoIdenticalSubPlansIntoOne.canBeAppliedTo
(PhysicalPlan plan) protected boolean
RuleMergeUNIONOfTwoPatternReqIntoOneReq.canBeAppliedTo
(PhysicalPlan plan) protected void
AbstractRewritingRuleImpl.collectAllPossibleApplications
(PhysicalPlan plan, Set<RuleApplication> collectedRuleApps, Stack<PhysicalPlan> currentPathFromRoot) protected abstract RuleApplication
AbstractRewritingRuleImpl.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
GenericRuleChangeOrderOfTwoUnaryOp.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
GenericRuleMergeBGPAddOfReqIntoOneBGPReq.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
GenericRuleMergeJoinOfTwoReqIntoOneBGPReq.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderAndMergeJoinOfBGPReqIntoBGPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderAndMergeJoinOfTPReqIntoTPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderOfThreeSubPlansOfJOIN.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderOfThreeSubPlansOfUNION.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderOfTwoSubPlansOfJOIN.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleChangeOrderOfTwoSubPlansOfUNION.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToBJFILTER.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToBJUNION.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToBJVALUES.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToHashJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToIndexNLJ.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertBGPAddToSymmetricHashJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertGBPAddToNaiveNLJ.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToBindJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToBJFILTER.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToBJUNION.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToBJVALUES.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToHashJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToIndexNLJ.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToNaiveNLJ.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertTPAddToSymmetricHashJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleConvertUnionOfTwoJoinsToJoinOfUnion.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDistributeJOINOverUNION.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDivideBGPAddToMultiTPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDivideBGPReqIntoJoinOfTPReqs.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDivideBGPReqIntoMultiTPAdds.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDivideMultiwayJoinToJoinOfSubPlans.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleDivideMultiwayUnionToUnionOfSubPlans.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeBGPAddOfGraphPatternReqIntoOneRequest.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeChildJoinIntoMultiwayJoin.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeChildUnionIntoMultiwayUnion.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeJoinOfOneBGPReqIntoBGPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeJoinOfOneTPReqIntoTPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeJoinOfTwoPatternReqIntoOneReq.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeMultiwayJoinOfMultiIdenticalSubPlansIntoOne.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeMultiwayUnionOfMultiIdenticalSubPlansIntoOne.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeTPAddOfBGPAddIntoBGPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeTPAddOfBGPReqIntoOneRequest.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeTPAddOfGraphPatternReqIntoOneRequest.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeTwoBGPAddIntoOneBGPAdd.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeUnionOfTwoIdenticalSubPlansIntoOne.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) protected RuleApplication
RuleMergeUNIONOfTwoPatternReqIntoOneReq.createRuleApplication
(PhysicalPlan[] pathToTargetPlan) AbstractRewritingRuleImpl.determineAllPossibleApplications
(PhysicalPlan plan) protected PhysicalPlan[]
AbstractRuleApplicationImpl.getNewChildPlans
(PhysicalPlan parent, PhysicalPlan rewrittenChildBefore, PhysicalPlan rewrittenChildAfter) protected PhysicalPlan
AbstractRuleApplicationImpl.reconstructParentPlan
(PhysicalPlan parent, PhysicalPlan rewrittenChildBefore, PhysicalPlan rewrittenChildAfter) protected abstract PhysicalPlan
AbstractRuleApplicationImpl.rewritePlan
(PhysicalPlan plan) Modifier and TypeMethodDescriptionprotected void
AbstractRewritingRuleImpl.collectAllPossibleApplications
(PhysicalPlan plan, Set<RuleApplication> collectedRuleApps, Stack<PhysicalPlan> currentPathFromRoot) ModifierConstructorDescriptionAbstractRuleApplicationImpl
(PhysicalPlan[] pathToTargetSubPlan, RewritingRule rule) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple
Modifier and TypeFieldDescriptionprotected Map<Integer,
Map<List<PhysicalPlan>, PhysicalPlan>> DPBasedJoinPlanOptimizer.OptimalPlansPerStage.map
protected Map<Integer,
Map<List<PhysicalPlan>, PhysicalPlan>> DPBasedJoinPlanOptimizer.OptimalPlansPerStage.map
protected final List<PhysicalPlan>
CardinalityBasedGreedyJoinPlanOptimizerImpl.GreedyConstructionAlgorithm.subplans
protected final List<PhysicalPlan>
CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
protected final List<PhysicalPlan>
DPBasedJoinPlanOptimizer.DynamicProgrammingOptimizerImpl.subplans
Modifier and TypeMethodDescriptionprotected PhysicalPlan
CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.addNextBestJoin
(PhysicalPlan currentPlan) Creates a binary join plan with the given plan as left child and one of the remaining subplans (seeCostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
) as the right child.protected PhysicalPlan
CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.chooseFirstSubplan()
Compares all available subplans (seeCostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
) in terms of their respective costs (as estimated by using theCostModelBasedGreedyJoinPlanOptimizerImpl.costModel
) and returns the one with the lowest estimated cost.JoinPlanOptimizer.determineJoinPlan
(List<PhysicalPlan> subplans) Returns a plan that combines the given subplans using binary joins.default PhysicalPlan
JoinPlanOptimizer.determineJoinPlan
(PhysicalPlan[] subplans) Returns a plan that combines the given subplans using binary joins.final PhysicalPlan
JoinPlanOptimizerBase.determineJoinPlan
(List<PhysicalPlan> subplans) RandomizedJoinPlanOptimizerImpl.determineJoinPlan
(List<PhysicalPlan> subplans) DPBasedJoinPlanOptimizer.OptimalPlansPerStage.get
(List<PhysicalPlan> subsets) protected PhysicalPlan[]
SimpleJoinOrderingQueryOptimizer.getOptimizedSubPlans
(PhysicalPlan plan) CardinalityBasedGreedyJoinPlanOptimizerImpl.GreedyConstructionAlgorithm.getResultingPlan()
CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.getResultingPlan()
DPBasedJoinPlanOptimizer.DynamicProgrammingOptimizerImpl.getResultingPlan()
JoinPlanOptimizerBase.EnumerationAlgorithm.getResultingPlan()
SimpleJoinOrderingQueryOptimizer.optimizePlan
(PhysicalPlan plan) Modifier and TypeMethodDescriptionprotected List<PhysicalPlan>
CostModelBasedGreedyJoinPlanOptimizerImpl.createAllJoinPlans
(PhysicalPlan leftOrChild, PhysicalPlan rightOrTop) Creates a list of join plans, including a (default) binary join of the given two plans as well as possible plans with unary (gpAdd-based) joins in which the first given plan is the child.protected Map<Integer,
List<PhysicalPlan>> CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.createNextPossiblePlans
(PhysicalPlan currentPlan) Creates all possible binary join plans with the given plan as left child and one of the remaining subplans (seeCostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
) as the right child, as well as plans with unary (gpAdd-based) joins with the given plan as the child.SimpleJoinOrderingQueryOptimizer.optimize
(PhysicalPlan initialPlan) Modifier and TypeMethodDescriptionvoid
DPBasedJoinPlanOptimizer.OptimalPlansPerStage.add
(List<PhysicalPlan> subsets, PhysicalPlan plan) protected PhysicalPlan
CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.addNextBestJoin
(PhysicalPlan currentPlan) Creates a binary join plan with the given plan as left child and one of the remaining subplans (seeCostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
) as the right child.protected List<PhysicalPlan>
CostModelBasedGreedyJoinPlanOptimizerImpl.createAllJoinPlans
(PhysicalPlan leftOrChild, PhysicalPlan rightOrTop) Creates a list of join plans, including a (default) binary join of the given two plans as well as possible plans with unary (gpAdd-based) joins in which the first given plan is the child.protected Map<Integer,
List<PhysicalPlan>> CostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.createNextPossiblePlans
(PhysicalPlan currentPlan) Creates all possible binary join plans with the given plan as left child and one of the remaining subplans (seeCostModelBasedGreedyJoinPlanOptimizerImpl.GreedyEnumerationAlgorithm.subplans
) as the right child, as well as plans with unary (gpAdd-based) joins with the given plan as the child.default PhysicalPlan
JoinPlanOptimizer.determineJoinPlan
(PhysicalPlan[] subplans) Returns a plan that combines the given subplans using binary joins.protected List<LogicalOpRequest<?,
?>> CardinalityBasedGreedyJoinPlanOptimizerImpl.GreedyConstructionAlgorithm.extractAllRequestOpsFromSourceAssignment
(PhysicalPlan plan) Extracts all request operators from the given plan, assuming that this plan is a sub-plan of a source assignment (hence, assuming that this plan can only be either a single request, a filter over a request, or a union with requests).protected PhysicalPlan[]
SimpleJoinOrderingQueryOptimizer.getOptimizedSubPlans
(PhysicalPlan plan) protected boolean
SimpleJoinOrderingQueryOptimizer.hasMultiwayJoinAsRoot
(PhysicalPlan plan) SimpleJoinOrderingQueryOptimizer.optimize
(PhysicalPlan initialPlan) SimpleJoinOrderingQueryOptimizer.optimizePlan
(PhysicalPlan plan) Modifier and TypeMethodDescriptionvoid
DPBasedJoinPlanOptimizer.OptimalPlansPerStage.add
(List<PhysicalPlan> subsets, PhysicalPlan plan) JoinPlanOptimizer.determineJoinPlan
(List<PhysicalPlan> subplans) Returns a plan that combines the given subplans using binary joins.final PhysicalPlan
JoinPlanOptimizerBase.determineJoinPlan
(List<PhysicalPlan> subplans) RandomizedJoinPlanOptimizerImpl.determineJoinPlan
(List<PhysicalPlan> subplans) protected boolean
DPBasedJoinPlanOptimizer.determineOptimalCandidatesAtStageN
(List<List<PhysicalPlan>> subsets, DPBasedJoinPlanOptimizer.OptimalPlansPerStage optPlansPerStage, boolean ignoreCartesianProductJoins) For each of the sets of plans in 'subsets', determines the best possible join plan and adds this best plan to 'optPlansPerStage'.DPBasedJoinPlanOptimizer.OptimalPlansPerStage.get
(List<PhysicalPlan> subsets) CardinalityBasedGreedyJoinPlanOptimizerImpl.initializeEnumerationAlgorithm
(List<PhysicalPlan> subplans) CostModelBasedGreedyJoinPlanOptimizerImpl.initializeEnumerationAlgorithm
(List<PhysicalPlan> subplans) DPBasedJoinPlanOptimizer.initializeEnumerationAlgorithm
(List<PhysicalPlan> subplans) protected abstract JoinPlanOptimizerBase.EnumerationAlgorithm
JoinPlanOptimizerBase.initializeEnumerationAlgorithm
(List<PhysicalPlan> subplans) ModifierConstructorDescriptionDynamicProgrammingOptimizerImpl
(List<PhysicalPlan> subplans) GreedyConstructionAlgorithm
(List<PhysicalPlan> subplans) GreedyEnumerationAlgorithm
(List<PhysicalPlan> subplans) -
Uses of PhysicalPlan in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.utils
Modifier and TypeMethodDescriptionstatic PhysicalPlanWithCost
PhysicalPlanWithCostUtils.annotatePlanWithCost
(CostModel cm, PhysicalPlan plan) static Integer[]
CardinalityEstimationUtils.getEstimates
(CardinalityEstimation cardEstimate, PhysicalPlan... plans) Initiates the cardinality estimation processes for all the given plans and, afterwards, waits for the resulting estimates and returns them.static Double[]
CostEstimationUtils.getEstimates
(CostModel costModel, PhysicalPlan... plans) Initiates the cost estimation processes for all the given plans and, afterwards, waits for the resulting estimates and returns them.Modifier and TypeMethodDescriptionstatic List<PhysicalPlanWithCost>
PhysicalPlanWithCostUtils.annotatePlansWithCost
(CostModel cost, List<PhysicalPlan> plans) static Integer[]
CardinalityEstimationUtils.getEstimates
(CardinalityEstimation cardEstimate, List<PhysicalPlan> plans) Initiates the cardinality estimation processes for all the plans in the given list and, afterwards, waits for the resulting estimates and returns them.static Double[]
CostEstimationUtils.getEstimates
(CostModel costModel, List<PhysicalPlan> plans) Initiates the cost estimation processes for all the plans in the given list and, afterwards, waits for the resulting estimates and returns them.