| Package | Description |
|---|---|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
HepProgram |
HepProgramBuilder.build()
Returns the constructed program, clearing the state of this program
builder as a side-effect.
|
| Modifier and Type | Method and Description |
|---|---|
HepProgramBuilder |
HepProgramBuilder.addSubprogram(HepProgram program)
Adds an instruction to execute a subprogram.
|
| Constructor and Description |
|---|
HepPlanner(HepProgram program)
Creates a new HepPlanner that allows DAG.
|
HepPlanner(HepProgram program,
Context context)
Creates a new HepPlanner that allows DAG.
|
HepPlanner(HepProgram program,
Context context,
boolean noDAG,
Function2<RelNode,RelNode,Void> onCopyHook,
RelOptCostFactory costFactory)
Creates a new HepPlanner with the option to keep the graph a
tree(noDAG=true) or allow DAG(noDAG=false).
|
| Modifier and Type | Method and Description |
|---|---|
static Program |
Programs.of(HepProgram hepProgram,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a
HepProgram. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.