Package org.apache.calcite.interpreter
Class Bindables
- java.lang.Object
-
- org.apache.calcite.interpreter.Bindables
-
public class Bindables extends java.lang.Object
Utilities pertaining toBindableRel
andBindableConvention
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bindables.BindableAggregate
Implementation ofAggregate
in bindable calling convention.static class
Bindables.BindableAggregateRule
Rule that converts anAggregate
to bindable convention.static class
Bindables.BindableFilter
Implementation ofFilter
in bindable convention.static class
Bindables.BindableFilterRule
Rule that converts aFilter
to bindable convention.static class
Bindables.BindableJoin
Implementation ofJoin
in bindable calling convention.static class
Bindables.BindableJoinRule
Rule to convert aLogicalJoin
to aBindables.BindableJoin
.static class
Bindables.BindableProject
Implementation ofProject
in bindable calling convention.static class
Bindables.BindableProjectRule
Rule to convert aLogicalProject
to aBindables.BindableProject
.static class
Bindables.BindableSort
Implementation ofSort
bindable calling convention.static class
Bindables.BindableSortRule
Rule to convert anSort
to aBindables.BindableSort
.static class
Bindables.BindableTableScan
Scan of a table that implementsScannableTable
and therefore can be converted into anEnumerable
.static class
Bindables.BindableTableScanRule
Rule that converts aTableScan
to bindable convention.static class
Bindables.BindableUnion
Implementation ofUnion
in bindable calling convention.static class
Bindables.BindableUnionRule
Rule to convert anLogicalUnion
to aBindables.BindableUnion
.static class
Bindables.BindableValues
Implementation ofValues
in bindable calling convention.static class
Bindables.BindableValuesRule
Rule that converts aValues
to bindable convention.static class
Bindables.BindableWindow
Implementation ofWindow
in bindable convention.static class
Bindables.BindableWindowRule
Rule to convert aLogicalWindow
to aBindables.BindableWindow
.
-
Field Summary
Fields Modifier and Type Field Description static RelOptRule
BINDABLE_AGGREGATE_RULE
static RelOptRule
BINDABLE_FILTER_RULE
static RelOptRule
BINDABLE_JOIN_RULE
static RelOptRule
BINDABLE_PROJECT_RULE
static RelOptRule
BINDABLE_SORT_RULE
static RelOptRule
BINDABLE_TABLE_SCAN_RULE
static RelOptRule
BINDABLE_UNION_RULE
static RelOptRule
BINDABLE_VALUES_RULE
static RelOptRule
BINDABLE_WINDOW_RULE
static com.google.common.collect.ImmutableList<RelOptRule>
RULES
All rules that convert logical relational expression to bindable.
-
Constructor Summary
Constructors Modifier Constructor Description private
Bindables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Enumerable<java.lang.Object[]>
help(DataContext dataContext, BindableRel rel)
Helper method that converts a bindable relational expression into a record iterator.
-
-
-
Field Detail
-
BINDABLE_TABLE_SCAN_RULE
public static final RelOptRule BINDABLE_TABLE_SCAN_RULE
-
BINDABLE_FILTER_RULE
public static final RelOptRule BINDABLE_FILTER_RULE
-
BINDABLE_PROJECT_RULE
public static final RelOptRule BINDABLE_PROJECT_RULE
-
BINDABLE_SORT_RULE
public static final RelOptRule BINDABLE_SORT_RULE
-
BINDABLE_JOIN_RULE
public static final RelOptRule BINDABLE_JOIN_RULE
-
BINDABLE_UNION_RULE
public static final RelOptRule BINDABLE_UNION_RULE
-
BINDABLE_VALUES_RULE
public static final RelOptRule BINDABLE_VALUES_RULE
-
BINDABLE_AGGREGATE_RULE
public static final RelOptRule BINDABLE_AGGREGATE_RULE
-
BINDABLE_WINDOW_RULE
public static final RelOptRule BINDABLE_WINDOW_RULE
-
RULES
public static final com.google.common.collect.ImmutableList<RelOptRule> RULES
All rules that convert logical relational expression to bindable.
-
-
Method Detail
-
help
private static Enumerable<java.lang.Object[]> help(DataContext dataContext, BindableRel rel)
Helper method that converts a bindable relational expression into a record iterator.Any bindable can be compiled; if its input is also bindable, it becomes part of the same compilation unit.
-
-