public class CountAggregate<T> extends BoundAggregate<T,java.lang.Long>
Expression.Operation
Modifier | Constructor and Description |
---|---|
protected |
CountAggregate(Expression.Operation op,
BoundTerm<T> term) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long |
countFor(DataFile file) |
protected java.lang.Long |
countFor(StructLike row) |
java.lang.Long |
eval(DataFile file) |
java.lang.Long |
eval(StructLike struct)
Produce a value from the struct for this expression.
|
org.apache.iceberg.expressions.BoundAggregate.Aggregator<java.lang.Long> |
newAggregator() |
columnName, describe, ref, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isEquivalentTo, negate
protected CountAggregate(Expression.Operation op, BoundTerm<T> term)
public java.lang.Long eval(StructLike struct)
Bound
eval
in interface Bound<java.lang.Long>
eval
in class BoundAggregate<T,java.lang.Long>
struct
- a struct of incoming datapublic java.lang.Long eval(DataFile file)
protected java.lang.Long countFor(StructLike row)
protected java.lang.Long countFor(DataFile file)
public org.apache.iceberg.expressions.BoundAggregate.Aggregator<java.lang.Long> newAggregator()