// For match-recognize we don't use the access functions
if (isMatchRecognize) {
return null;
}
AggregationStateTypeWStream type;
if (ever) {
type = parent.isMax() ? AggregationStateTypeWStream.MAXEVER : AggregationStateTypeWStream.MINEVER;
}
else {
type = AggregationStateTypeWStream.SORTED;