Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.Measure
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about whether a column is a measure and, if so, what is the
expression to evaluate that measure in the current context.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Context for a use of a measure at a call site.static interface
Handler API. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpand
(int column, BuiltInMetadata.Measure.Context context) Expands a measure to an expression.isMeasure
(int column) Returns whether a given column is a measure.
-
Field Details
-
DEF
-
-
Method Details
-
isMeasure
Returns whether a given column is a measure.- Parameters:
column
- Column ordinal (0-based)
-
expand
Expands a measure to an expression.- Parameters:
column
- Column ordinal (0-based)context
- Evaluation context
-