Class RemoveRedundantOffset

  • All Implemented Interfaces:
    Rule<OffsetNode>

    public class RemoveRedundantOffset
    extends Object
    implements Rule<OffsetNode>
    Remove Offset node and its subplan when the subplan is guaranteed to produce no more rows than the offset and replace the plan with empty values. Remove Offset node from the plan if the offset is 0.