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
Internally, the functionality of this class is implemented based on
a
LogicalPlanVisitor, which makes sure that we get a compiler
error whenever we add a new type of logical operator but forget to
extend this class here to cover that new operator.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
BaseForTextBasedPlanPrinters.ExtPrintablePlan, BaseForTextBasedPlanPrinters.ShortNameCreatorNested classes/interfaces inherited from interface se.liu.ida.hefquin.engine.queryplan.utils.LogicalPlanPrinter
LogicalPlanPrinter.LogicalPlanStage -
Field Summary
FieldsFields inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
snc -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidprint(LogicalPlan plan, PrintStream out, LogicalPlanPrinter.LogicalPlanStage planType) Prints the given plan to the given stream.voidprint(LogicalPlan plan, LogicalPlanPrinter.LogicalPlanStage planType) Prints the given plan to the stream(s) that are stored in this printer.Methods inherited from class se.liu.ida.hefquin.engine.queryplan.utils.BaseForTextBasedPlanPrinters
addPropStrings, addPropStrings, printFullStringsForGraphPatterns, printFullStringsForGraphPatterns
-
Field Details
-
pe
-
outs
-
-
Constructor Details
-
TextBasedLogicalPlanPrinterImpl
-
TextBasedLogicalPlanPrinterImpl
public TextBasedLogicalPlanPrinterImpl()
-
-
Method Details
-
print
Description copied from interface:LogicalPlanPrinterPrints the given plan to the given stream. Plan type is used to distinguish between different types of plans when printing.- Specified by:
printin interfaceLogicalPlanPrinter
-
print
Description copied from interface:LogicalPlanPrinterPrints the given plan to the stream(s) that are stored in this printer. Plan type is used to distinguish between different types of plans when printing.- Specified by:
printin interfaceLogicalPlanPrinter
-
createPrintablePlan
-
createPrintableSubPlans
-