public interface IGroupByRewriteState
GroupByState
in which all IAggregate
expressions have been lifted out in order to (a) minimize redundancy when
computing the aggregates; and (b) simplify the logic required to compute the
IAggregate
s.Modifier and Type | Method and Description |
---|---|
LinkedHashMap<IAggregate<?>,IVariable<?>> |
getAggExpr()
The set of all unique
IAggregate expressions paired with
anonymous variables. |
IConstraint[] |
getHaving2()
A modified version of the original HAVING expression which has the same
semantics (and
null iff the original was null
or empty). |
IValueExpression<?>[] |
getSelect2()
A modified version of the original SELECT expression which has the same
semantics.
|
LinkedHashMap<IAggregate<?>,IVariable<?>> getAggExpr()
IAggregate
expressions paired with
anonymous variables. Any internal IAggregate
have been lifted out
and will appear before any IAggregate
s which use them. The
IAggregate
MAY have a complex internal IValueExpression
,
but it WILL NOT have a nested IAggregate
.IConstraint[] getHaving2()
null
iff the original was null
or empty). However, the modified select expressions DO NOT contain any
IAggregate
functions. All IAggregate
functions have been
lifted out into #aggExp
.IValueExpression<?>[] getSelect2()
IAggregate
functions. All IAggregate
functions have been
lifted out into #aggExp
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.