Class TextBasedPhysicalPlanPrinterImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
se.liu.ida.hefquin.engine.queryplan.utils.TextBasedPhysicalPlanPrinterImpl
- All Implemented Interfaces:
PhysicalPlanPrinter
public class TextBasedPhysicalPlanPrinterImpl
extends BaseForTextBasedPlanPrinters
implements PhysicalPlanPrinter
-
Field Summary
Fields inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
lastChildIndentBase, levelIndentBase, nonLastChildIndentBase, singleBase, spaceBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
print
(PhysicalPlan plan, PrintStream out) Prints the given plan to the given stream.protected void
printLogicalOperator
(PhysicalOperatorForLogicalOperator pop, PrintStream out, String indentLevelString) protected void
printOp
(PhysicalOpBinaryUnion op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpBindJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpBindJoinWithFILTER op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpBindJoinWithUNION op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpBindJoinWithVALUES op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpFilter op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpGlobalToLocal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpHashJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpHashRJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpIndexNestedLoopsJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpLocalToGlobal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpMultiwayUnion op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpNaiveNestedLoopsJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpParallelMultiLeftJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpRequest<?, ?> op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOp
(PhysicalOpSymmetricHashJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected void
printOperatorInfoFmAndPattern
(PhysicalOperatorForLogicalOperator pop, PrintStream out, String indentLevelStringForOpDetail) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
getIndentLevelString, getIndentLevelStringForDetail, nameOfLogicalOp, printFederationMember, printLogicalOperatorBase, printSPARQLGraphPattern
-
Constructor Details
-
TextBasedPhysicalPlanPrinterImpl
public TextBasedPhysicalPlanPrinterImpl()
-
-
Method Details
-
print
Description copied from interface:PhysicalPlanPrinter
Prints the given plan to the given stream.- Specified by:
print
in interfacePhysicalPlanPrinter
-
planWalk
public void 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.- Parameters:
plan
- The current plan (root operator) that will be formatted.planNumber
- The number of a plan in terms of its super plan.planLevel
- The depth of the root operator in a plan.numberOfSiblings
- The number of sibling plans of a plan.out
- The print stream that will print a plan.
-
printOp
protected void printOp(PhysicalOpBinaryUnion op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpBindJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpBindJoinWithFILTER op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpBindJoinWithUNION op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpBindJoinWithVALUES op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpFilter op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpGlobalToLocal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpHashJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpHashRJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpIndexNestedLoopsJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpLocalToGlobal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpMultiwayUnion op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpNaiveNestedLoopsJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpParallelMultiLeftJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpRequest<?, ?> op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(PhysicalOpSymmetricHashJoin op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printLogicalOperator
protected void printLogicalOperator(PhysicalOperatorForLogicalOperator pop, PrintStream out, String indentLevelString) -
printOperatorInfoFmAndPattern
protected void printOperatorInfoFmAndPattern(PhysicalOperatorForLogicalOperator pop, PrintStream out, String indentLevelStringForOpDetail)
-