Class RexFieldCollation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Pair<RexNode,​com.google.common.collect.ImmutableSet<SqlKind>>>, java.util.Map.Entry<RexNode,​com.google.common.collect.ImmutableSet<SqlKind>>

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

      • KINDS

        private static final com.google.common.collect.ImmutableMap<java.util.Set<SqlKind>,​com.google.common.collect.ImmutableSet<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)