public class AggregatingSelectScope.Resolved
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
com.google.common.collect.ImmutableList<SqlNode> |
extraExprList |
com.google.common.collect.ImmutableList<SqlNode> |
groupExprList |
java.util.Map<java.lang.Integer,java.lang.Integer> |
groupExprProjection |
ImmutableBitSet |
groupSet |
com.google.common.collect.ImmutableList<ImmutableBitSet> |
groupSets |
Constructor and Description |
---|
Resolved(java.util.List<SqlNode> extraExprList,
java.util.List<SqlNode> groupExprList,
java.lang.Iterable<ImmutableBitSet> groupSets,
java.util.Map<java.lang.Integer,java.lang.Integer> groupExprProjection) |
Modifier and Type | Method and Description |
---|---|
boolean |
isGroupingExpr(SqlNode operand)
Returns whether a given expression is equal to one of the grouping
expressions.
|
boolean |
isNullable(int i)
Returns whether a field should be nullable due to grouping sets.
|
int |
lookupGroupingExpr(SqlNode operand) |
public final com.google.common.collect.ImmutableList<SqlNode> extraExprList
public final com.google.common.collect.ImmutableList<SqlNode> groupExprList
public final ImmutableBitSet groupSet
public final com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets
public final java.util.Map<java.lang.Integer,java.lang.Integer> groupExprProjection
Resolved(java.util.List<SqlNode> extraExprList, java.util.List<SqlNode> groupExprList, java.lang.Iterable<ImmutableBitSet> groupSets, java.util.Map<java.lang.Integer,java.lang.Integer> groupExprProjection)
public boolean isNullable(int i)
public boolean isGroupingExpr(SqlNode operand)
public int lookupGroupingExpr(SqlNode operand)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.