Package org.apache.calcite.interpreter
Class AggregateNode.FilterAccumulator
- java.lang.Object
-
- org.apache.calcite.interpreter.AggregateNode.FilterAccumulator
-
- All Implemented Interfaces:
AggregateNode.Accumulator
- Enclosing class:
- AggregateNode
private static class AggregateNode.FilterAccumulator extends java.lang.Object implements AggregateNode.Accumulator
Accumulator that applies a filter to another accumulator. The filter is a BOOLEAN field in the input row.
-
-
Field Summary
Fields Modifier and Type Field Description private AggregateNode.Accumulator
accumulator
private int
filterArg
-
Constructor Summary
Constructors Constructor Description FilterAccumulator(AggregateNode.Accumulator accumulator, int filterArg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
end()
void
send(Row row)
-
-
-
Field Detail
-
accumulator
private final AggregateNode.Accumulator accumulator
-
filterArg
private final int filterArg
-
-
Constructor Detail
-
FilterAccumulator
FilterAccumulator(AggregateNode.Accumulator accumulator, int filterArg)
-
-
Method Detail
-
send
public void send(Row row)
- Specified by:
send
in interfaceAggregateNode.Accumulator
-
end
public java.lang.Object end()
- Specified by:
end
in interfaceAggregateNode.Accumulator
-
-