Package org.apache.calcite.rel.metadata
Class RelMdColumnOrigins
java.lang.Object
org.apache.calcite.rel.metadata.RelMdColumnOrigins
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.ColumnOrigin>
public class RelMdColumnOrigins
extends Object
implements MetadataHandler<BuiltInMetadata.ColumnOrigin>
RelMdColumnOrigins supplies a default implementation of
RelMetadataQuery.getColumnOrigins(org.apache.calcite.rel.RelNode, int)
for the standard logical algebra.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Set<RelColumnOrigin>
getColumnOrigins
(Aggregate rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Calc rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Exchange rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Filter rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Join rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Project rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Sample rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(SetOp rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Snapshot rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(Sort rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(TableFunctionScan rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(TableModify rel, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(TableScan scan, RelMetadataQuery mq, int iOutputColumn) @Nullable Set<RelColumnOrigin>
getColumnOrigins
(RelNode rel, RelMetadataQuery mq, int iOutputColumn) getDef()
-
Field Details
-
SOURCE
-
-
Method Details
-
getDef
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.ColumnOrigin>
-
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Aggregate rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Join rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(SetOp rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Project rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Calc rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(TableScan scan, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Filter rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Sort rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(TableModify rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Exchange rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Sample rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(Snapshot rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(TableFunctionScan rel, RelMetadataQuery mq, int iOutputColumn) -
getColumnOrigins
public @Nullable Set<RelColumnOrigin> getColumnOrigins(RelNode rel, RelMetadataQuery mq, int iOutputColumn)
-