Package org.apache.calcite.rel.metadata
Class RelMdExplainVisibility
java.lang.Object
org.apache.calcite.rel.metadata.RelMdExplainVisibility
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.ExplainVisibility>
public class RelMdExplainVisibility
extends Object
implements MetadataHandler<BuiltInMetadata.ExplainVisibility>
RelMdExplainVisibility supplies a default implementation of
RelMetadataQuery.isVisibleInExplain(org.apache.calcite.rel.RelNode, org.apache.calcite.sql.SqlExplainLevel)
for the standard logical algebra.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDef()
@Nullable Boolean
isVisibleInExplain
(TableScan scan, RelMetadataQuery mq, SqlExplainLevel explainLevel) @Nullable Boolean
isVisibleInExplain
(RelNode rel, RelMetadataQuery mq, SqlExplainLevel explainLevel) Catch-all implementation forBuiltInMetadata.ExplainVisibility.isVisibleInExplain(SqlExplainLevel)
, invoked using reflection.
-
Field Details
-
SOURCE
-
-
Method Details
-
getDef
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.ExplainVisibility>
-
isVisibleInExplain
public @Nullable Boolean isVisibleInExplain(RelNode rel, RelMetadataQuery mq, SqlExplainLevel explainLevel) Catch-all implementation forBuiltInMetadata.ExplainVisibility.isVisibleInExplain(SqlExplainLevel)
, invoked using reflection. -
isVisibleInExplain
public @Nullable Boolean isVisibleInExplain(TableScan scan, RelMetadataQuery mq, SqlExplainLevel explainLevel)
-