Package org.apache.iceberg.expressions
Class CountAggregate<T>
java.lang.Object
org.apache.iceberg.expressions.Aggregate<BoundTerm<T>>
org.apache.iceberg.expressions.BoundAggregate<T,Long>
org.apache.iceberg.expressions.CountAggregate<T>
- All Implemented Interfaces:
Serializable
,Bound<Long>
,Expression
- Direct Known Subclasses:
CountNonNull
,CountStar
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.expressions.Expression
Expression.Operation
-
Constructor Summary
ModifierConstructorDescriptionprotected
CountAggregate
(Expression.Operation op, BoundTerm<T> term) -
Method Summary
Modifier and TypeMethodDescriptionprotected Long
protected Long
countFor
(StructLike row) eval
(StructLike struct) Produce a value from the struct for this expression.org.apache.iceberg.expressions.BoundAggregate.Aggregator<Long>
Methods inherited from class org.apache.iceberg.expressions.BoundAggregate
columnName, describe, ref, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.iceberg.expressions.Expression
isEquivalentTo, negate
-
Constructor Details
-
CountAggregate
-
-
Method Details
-
eval
Description copied from interface:Bound
Produce a value from the struct for this expression. -
eval
-
countFor
-
countFor
-
newAggregator
-