Class JdbcRules.JdbcSortRule

Enclosing class:
JdbcRules

public static class JdbcRules.JdbcSortRule extends ConverterRule
Rule to convert a Sort to an JdbcRules.JdbcSort.
  • Constructor Details

  • Method Details

    • create

      public static JdbcRules.JdbcSortRule create(JdbcConvention out)
      Creates a JdbcSortRule.
    • 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
    • convert

      public RelNode convert(Sort sort, boolean convertInputTraits)
      Converts a Sort into a JdbcSort.
      Parameters:
      sort - Sort operator to convert
      convertInputTraits - Whether to convert input to sort's JDBC convention
      Returns:
      A new JdbcSort