Package org.apache.calcite.runtime
Interface Bindable<T>
-
- Type Parameters:
T
- Element type of the resulting enumerable
- All Known Subinterfaces:
ArrayBindable
,BindableRel
- All Known Implementing Classes:
Bindables.BindableAggregate
,Bindables.BindableFilter
,Bindables.BindableJoin
,Bindables.BindableProject
,Bindables.BindableSort
,Bindables.BindableTableScan
,Bindables.BindableUnion
,Bindables.BindableValues
,Bindables.BindableWindow
,DruidQuery
,EnumerableBindable
,InterpretableConverter
public interface Bindable<T>
Statement that can be bound to aDataContext
and then executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Enumerable<T>
bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.
-
-
-
Method Detail
-
bind
Enumerable<T> bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows. Theenvironment
parameter provides the values in the root of the environment (usually schemas).- Parameters:
dataContext
- Environment that provides tables- Returns:
- Enumerable over rows
-
-