| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.externalize |
Facilities to externalize
RelNodes to and from
XML and JSON format. |
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| Modifier and Type | Method and Description |
|---|---|
static String |
RelOptUtil.dumpPlan(String header,
RelNode rel,
boolean asXml,
SqlExplainLevel detailLevel)
Dumps a plan as a string.
|
static String |
RelOptUtil.toString(RelNode rel,
SqlExplainLevel detailLevel)
Converts a relational expression to a string.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Prepare.PreparedResult |
Prepare.createPreparedExplanation(RelDataType resultType,
RelDataType parameterRowType,
RelNode rootRel,
boolean explainAsXml,
SqlExplainLevel detailLevel) |
| Constructor and Description |
|---|
Prepare.PreparedExplain(RelDataType rowType,
RelDataType parameterRowType,
RelNode rel,
boolean asXml,
SqlExplainLevel detailLevel) |
| Modifier and Type | Method and Description |
|---|---|
SqlExplainLevel |
RelWriter.getDetailLevel() |
| Modifier and Type | Method and Description |
|---|---|
SqlExplainLevel |
RelWriterImpl.getDetailLevel() |
SqlExplainLevel |
RelJsonWriter.getDetailLevel() |
| Constructor and Description |
|---|
RelWriterImpl(PrintWriter pw,
SqlExplainLevel detailLevel,
boolean withIdPrefix) |
RelXmlWriter(PrintWriter pw,
SqlExplainLevel detailLevel) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
RelMdExplainVisibility.isVisibleInExplain(RelNode rel,
SqlExplainLevel explainLevel) |
static boolean |
RelMetadataQuery.isVisibleInExplain(RelNode rel,
SqlExplainLevel explainLevel)
Returns the
BuiltInMetadata.ExplainVisibility.isVisibleInExplain(SqlExplainLevel)
statistic. |
Boolean |
BuiltInMetadata.ExplainVisibility.isVisibleInExplain(SqlExplainLevel explainLevel)
Determines whether a relational expression should be visible in EXPLAIN
PLAN output at a particular level of detail.
|
| Modifier and Type | Method and Description |
|---|---|
RelWriter |
RexProgram.collectExplainTerms(String prefix,
RelWriter pw,
SqlExplainLevel level)
Collects the expressions in this program into a list of terms and values.
|
| Modifier and Type | Method and Description |
|---|---|
SqlExplainLevel |
SqlExplain.getDetailLevel() |
static SqlExplainLevel |
SqlExplainLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlExplainLevel[] |
SqlExplainLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
SqlExplainLevel |
SqlParserImpl.ExplainDetailLevel()
Parses INCLUDING ALL ATTRIBUTES modifier for EXPLAIN PLAN.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.