Class LogicalSort

  • All Implemented Interfaces:
    java.lang.Cloneable, RelOptNode, RelNode

    public final class LogicalSort
    extends Sort
    Sub-class of Sort not targeted at any particular engine or calling convention.
    • Method Detail

      • create

        public static LogicalSort create​(RelNode input,
                                         RelCollation collation,
                                         RexNode offset,
                                         RexNode fetch)
        Creates a LogicalSort.
        input - Input relational expression
        collation - array of sort specifications
        offset - Expression for number of rows to discard before returning first row
        fetch - Expression for number of rows to fetch
      • accept

        public RelNode accept​(RelShuttle shuttle)
        Description copied from interface: RelNode
        Accepts a visit from a shuttle.
        Specified by:
        accept in interface RelNode
        accept in class AbstractRelNode
        shuttle - Shuttle
        A copy of this node incorporating changes made by the shuttle to this node's children