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.BindableIntersect,Bindables.BindableJoin,Bindables.BindableMatch,Bindables.BindableMinus,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 a
DataContext and then executed.-
Method Summary
Modifier and TypeMethodDescriptionbind(DataContext dataContext) Executes this statement and returns an enumerable which will yield rows.
-
Method Details
-
bind
Executes this statement and returns an enumerable which will yield rows. Theenvironmentparameter provides the values in the root of the environment (usually schemas).- Parameters:
dataContext- Environment that provides tables- Returns:
- Enumerable over rows
-