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 Type
    Method
    Description
    bind(DataContext dataContext)
    Executes this statement and returns an enumerable which will yield rows.
  • Method Details

    • bind

      Enumerable<T> bind(DataContext dataContext)
      Executes this statement and returns an enumerable which will yield rows. The environment parameter provides the values in the root of the environment (usually schemas).
      Parameters:
      dataContext - Environment that provides tables
      Returns:
      Enumerable over rows