Class RexFieldCollation

  • All Implemented Interfaces:, java.lang.Comparable<Pair<RexNode,​<SqlKind>>>, java.util.Map.Entry<RexNode,​<SqlKind>>

    public class RexFieldCollation
    extends Pair<RexNode,​<SqlKind>>
    Expression combined with sort flags (DESCENDING, NULLS LAST).
    See Also:
    Serialized Form
    • Field Detail

      • KINDS

        private static final<java.util.Set<SqlKind>,​<SqlKind>> KINDS
        Canonical map of all combinations of SqlKind values that can ever occur. We use a canonical map to save a bit of memory. Because the sets are EnumSets they have predictable order for toString().
    • Constructor Detail

      • RexFieldCollation

        public RexFieldCollation​(RexNode left,
                                 java.util.Set<SqlKind> right)