Class ArrowRules.ArrowProjectRule

Enclosing class:
ArrowRules

public static class ArrowRules.ArrowProjectRule extends ConverterRule
Planner rule that projects from an ArrowTableScan just the columns needed to satisfy a projection. If the projection's expressions are trivial, the projection is removed.
See Also:
  • Field Details

    • DEFAULT_CONFIG

      protected static final ConverterRule.Config DEFAULT_CONFIG
      Default configuration.
  • Constructor Details

    • ArrowProjectRule

      protected ArrowProjectRule(ConverterRule.Config config)
      Creates an ArrowProjectRule.
  • Method Details

    • convert

      public @Nullable RelNode convert(RelNode rel)
      Description copied from class: ConverterRule
      Converts a relational expression to the target trait(s) of this rule.

      Returns null if conversion is not possible.

      Specified by:
      convert in class ConverterRule