Class TextBasedLogicalPlanPrinterImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
se.liu.ida.hefquin.engine.queryplan.utils.TextBasedLogicalPlanPrinterImpl
- All Implemented Interfaces:
LogicalPlanPrinter
public class TextBasedLogicalPlanPrinterImpl
extends BaseForTextBasedPlanPrinters
implements LogicalPlanPrinter
-
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 TypeMethodDescriptionvoidplanWalk(LogicalPlan 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.voidprint(LogicalPlan plan, PrintStream out) Prints the given plan to the given stream.protected voidprintOp(LogicalOpBGPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpBGPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpBind op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpFilter op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpGlobalToLocal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpGPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpGPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpJoin op, PrintStream out, String indentLevelString) protected voidprintOp(LogicalOpLocalToGlobal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpMultiwayJoin op, PrintStream out, String indentLevelString) protected voidprintOp(LogicalOpMultiwayLeftJoin op, PrintStream out, String indentLevelString) protected voidprintOp(LogicalOpMultiwayUnion op, PrintStream out, String indentLevelString) protected voidprintOp(LogicalOpRequest<?, ?> op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpRightJoin op, PrintStream out, String indentLevelString) protected voidprintOp(LogicalOpTPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpTPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) protected voidprintOp(LogicalOpUnion op, PrintStream out, String indentLevelString) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
getIndentLevelString, getIndentLevelStringForDetail, nameOfLogicalOp, printFederationMember, printLogicalOperatorBase, printSPARQLGraphPattern
-
Constructor Details
-
TextBasedLogicalPlanPrinterImpl
public TextBasedLogicalPlanPrinterImpl()
-
-
Method Details
-
print
Description copied from interface:LogicalPlanPrinterPrints the given plan to the given stream.- Specified by:
printin interfaceLogicalPlanPrinter
-
planWalk
public void planWalk(LogicalPlan 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(LogicalOpBGPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpBGPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpBind op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpFilter op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpGlobalToLocal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpGPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpGPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
-
printOp
protected void printOp(LogicalOpLocalToGlobal op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
-
printOp
-
printOp
-
printOp
protected void printOp(LogicalOpRequest<?, ?> op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
-
printOp
protected void printOp(LogicalOpTPAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
protected void printOp(LogicalOpTPOptAdd op, PrintStream out, String indentLevelString, String indentLevelStringForOpDetail) -
printOp
-