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
ConstructorsModifierConstructorDescriptionprotectedCountAggregate(Expression.Operation op, BoundTerm<T> term) -
Method Summary
Modifier and TypeMethodDescriptionprotected Longprotected LongcountFor(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, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.expressions.Expression
isEquivalentTo, negate
-
Constructor Details
-
CountAggregate
-
-
Method Details
-
eval
Description copied from interface:BoundProduce a value from the struct for this expression. -
eval
-
countFor
-
countFor
-
newAggregator
-