Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.AllPredicates
-
- All Superinterfaces:
Metadata
- All Known Subinterfaces:
BuiltInMetadata.All
- Enclosing class:
- BuiltInMetadata
public static interface BuiltInMetadata.AllPredicates extends Metadata
Metadata about the predicates that hold in the rows emitted from a relational expression.The difference with respect to
BuiltInMetadata.Predicates
provider is that this provider tries to extract ALL predicates even if they are not applied on the output expressions of the relational expression; we rely onRexTableInputRef
to reference origin columns inTableScan
for the result predicates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BuiltInMetadata.AllPredicates.Handler
Handler API.
-
Field Summary
Fields Modifier and Type Field Description static MetadataDef<BuiltInMetadata.AllPredicates>
DEF
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelOptPredicateList
getAllPredicates()
Derives the predicates that hold on rows emitted from a relational expression.
-
-
-
Field Detail
-
DEF
static final MetadataDef<BuiltInMetadata.AllPredicates> DEF
-
-
Method Detail
-
getAllPredicates
RelOptPredicateList getAllPredicates()
Derives the predicates that hold on rows emitted from a relational expression.- Returns:
- predicate list, or null if the provider cannot infer the lineage for any of the expressions contained in any of the predicates
-
-