public class RexFieldCollation extends Pair<RexNode,com.google.common.collect.ImmutableSet<SqlKind>>
Modifier and Type | Class and Description |
---|---|
private static class |
RexFieldCollation.Initializer
Helper, used during initialization, that builds a canonizing map from
sets of
SqlKind to immutable sets of SqlKind . |
Modifier and Type | Field and Description |
---|---|
private static 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. |
Constructor and Description |
---|
RexFieldCollation(RexNode left,
java.util.Set<SqlKind> right) |
Modifier and Type | Method and Description |
---|---|
RelFieldCollation.Direction |
getDirection() |
RelFieldCollation.NullDirection |
getNullDirection() |
java.lang.String |
toString() |
adjacents, compareTo, equals, firstAnd, getKey, getValue, hashCode, left, left, of, of, right, right, setValue, toMap, zip, zip, zip, zip
private static final com.google.common.collect.ImmutableMap<java.util.Set<SqlKind>,com.google.common.collect.ImmutableSet<SqlKind>> KINDS
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().public java.lang.String toString()
public RelFieldCollation.Direction getDirection()
public RelFieldCollation.NullDirection getNullDirection()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.