Interface RelFactories.FilterFactory

All Known Implementing Classes:
PigRelFactories.PigFilterFactory
Enclosing class:
RelFactories

public static interface RelFactories.FilterFactory
Can create a Filter of the appropriate type for this rule's calling convention.
  • Method Details

    • createFilter

      RelNode createFilter(RelNode input, RexNode condition, Set<CorrelationId> variablesSet)
      Creates a filter.

      Some implementations of Filter do not support correlation variables, and for these, this method will throw if variablesSet is not empty.

      Parameters:
      input - Input relational expression
      condition - Filter condition; only rows for which this condition evaluates to TRUE will be emitted
      variablesSet - Correlating variables that are set when reading a row from the input, and which may be referenced from inside the condition
    • createFilter

      @Deprecated default RelNode createFilter(RelNode input, RexNode condition)
      Deprecated.