Package org.apache.calcite.rel.metadata
Class RelMdNodeTypes
java.lang.Object
org.apache.calcite.rel.metadata.RelMdNodeTypes
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.NodeTypes>
RelMdNodeTypeCount supplies a default implementation of
RelMetadataQuery.getNodeTypes(org.apache.calcite.rel.RelNode)
for the standard logical algebra.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDef()
getNodeTypes
(RelSubset rel, RelMetadataQuery mq) getNodeTypes
(Aggregate rel, RelMetadataQuery mq) getNodeTypes
(Calc rel, RelMetadataQuery mq) getNodeTypes
(Correlate rel, RelMetadataQuery mq) getNodeTypes
(Exchange rel, RelMetadataQuery mq) getNodeTypes
(Filter rel, RelMetadataQuery mq) getNodeTypes
(Intersect rel, RelMetadataQuery mq) getNodeTypes
(Join rel, RelMetadataQuery mq) getNodeTypes
(Match rel, RelMetadataQuery mq) getNodeTypes
(Minus rel, RelMetadataQuery mq) getNodeTypes
(Project rel, RelMetadataQuery mq) getNodeTypes
(Sample rel, RelMetadataQuery mq) getNodeTypes
(Sort rel, RelMetadataQuery mq) getNodeTypes
(TableModify rel, RelMetadataQuery mq) getNodeTypes
(TableScan rel, RelMetadataQuery mq) getNodeTypes
(Union rel, RelMetadataQuery mq) getNodeTypes
(Values rel, RelMetadataQuery mq) getNodeTypes
(Window rel, RelMetadataQuery mq) getNodeTypes
(RelNode rel, RelMetadataQuery mq) Catch-all implementation forBuiltInMetadata.NodeTypes.getNodeTypes()
, invoked using reflection.
-
Field Details
-
SOURCE
-
-
Constructor Details
-
RelMdNodeTypes
public RelMdNodeTypes()
-
-
Method Details
-
getDef
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.NodeTypes>
-
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(RelNode rel, RelMetadataQuery mq) Catch-all implementation forBuiltInMetadata.NodeTypes.getNodeTypes()
, invoked using reflection.- See Also:
-
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(RelSubset rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Union rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Intersect rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Minus rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Filter rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Calc rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Project rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Sort rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Join rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Aggregate rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(TableScan rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Values rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(TableModify rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Exchange rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Sample rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Correlate rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Window rel, RelMetadataQuery mq) -
getNodeTypes
public @Nullable com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> getNodeTypes(Match rel, RelMetadataQuery mq)
-