Package org.apache.calcite.rel.metadata
Class RelMdParallelism
- java.lang.Object
-
- org.apache.calcite.rel.metadata.RelMdParallelism
-
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.Parallelism>
public class RelMdParallelism extends java.lang.Object implements MetadataHandler<BuiltInMetadata.Parallelism>
Default implementations of theBuiltInMetadata.Parallelism
metadata provider for the standard logical algebra.
-
-
Field Summary
Fields Modifier and Type Field Description static RelMetadataProvider
SOURCE
Source forBuiltInMetadata.Parallelism
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RelMdParallelism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataDef<BuiltInMetadata.Parallelism>
getDef()
java.lang.Boolean
isPhaseTransition(Exchange rel, RelMetadataQuery mq)
java.lang.Boolean
isPhaseTransition(TableScan rel, RelMetadataQuery mq)
java.lang.Boolean
isPhaseTransition(Values rel, RelMetadataQuery mq)
java.lang.Boolean
isPhaseTransition(RelNode rel, RelMetadataQuery mq)
Catch-all implementation forBuiltInMetadata.Parallelism.isPhaseTransition()
, invoked using reflection.java.lang.Integer
splitCount(RelNode rel, RelMetadataQuery mq)
Catch-all implementation forBuiltInMetadata.Parallelism.splitCount()
, invoked using reflection.
-
-
-
Field Detail
-
SOURCE
public static final RelMetadataProvider SOURCE
Source forBuiltInMetadata.Parallelism
.
-
-
Method Detail
-
getDef
public MetadataDef<BuiltInMetadata.Parallelism> getDef()
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.Parallelism>
-
isPhaseTransition
public java.lang.Boolean isPhaseTransition(RelNode rel, RelMetadataQuery mq)
Catch-all implementation forBuiltInMetadata.Parallelism.isPhaseTransition()
, invoked using reflection.
-
isPhaseTransition
public java.lang.Boolean isPhaseTransition(TableScan rel, RelMetadataQuery mq)
-
isPhaseTransition
public java.lang.Boolean isPhaseTransition(Values rel, RelMetadataQuery mq)
-
isPhaseTransition
public java.lang.Boolean isPhaseTransition(Exchange rel, RelMetadataQuery mq)
-
splitCount
public java.lang.Integer splitCount(RelNode rel, RelMetadataQuery mq)
Catch-all implementation forBuiltInMetadata.Parallelism.splitCount()
, invoked using reflection.
-
-