Class PigRelFactories.PigFilterFactory

    • Constructor Detail

      • PigFilterFactory

        public PigFilterFactory()
    • Method Detail

      • createFilter

        public RelNode createFilter​(RelNode input,
                                    RexNode condition,
                                    java.util.Set<CorrelationId> variablesSet)
        Description copied from interface: RelFactories.FilterFactory
        Creates a filter.

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

        Specified by:
        createFilter in interface RelFactories.FilterFactory
        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