Interface FlinkMetadata.FilteredColumnInterval
- All Superinterfaces:
org.apache.calcite.rel.metadata.Metadata
- Enclosing class:
- FlinkMetadata
public static interface FlinkMetadata.FilteredColumnInterval
extends org.apache.calcite.rel.metadata.Metadata
Metadata about the interval of given column under the given filter argument from a specified
relational expression.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHandler API. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.calcite.rel.metadata.MetadataDef<FlinkMetadata.FilteredColumnInterval>static final Method -
Method Summary
Modifier and TypeMethodDescriptionValueIntervalgetFilteredColumnInterval(int columnIndex, int filterArg) Returns the interval value of the given column under the given filter argument from a specified relational expression.Methods inherited from interface org.apache.calcite.rel.metadata.Metadata
rel
-
Field Details
-
METHOD
-
DEF
-
-
Method Details
-
getFilteredColumnInterval
ValueInterval getFilteredColumnInterval(int columnIndex, int filterArg) Returns the interval value of the given column under the given filter argument from a specified relational expression.- Parameters:
columnIndex- the index of the given column in a specified relational expressionfilterArg- the index of the filter argument, -1 when no filter argument existed- Returns:
- the interval of the given column. Returns null if interval cannot be estimated, Returns [[NullValueInterval]] if column values does not contains any value except for null.
-