Package org.apache.iceberg.expressions
Class CountNonNull<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Aggregate<BoundTerm<T>>
-
- org.apache.iceberg.expressions.BoundAggregate<T,java.lang.Long>
-
- org.apache.iceberg.expressions.CountAggregate<T>
-
- org.apache.iceberg.expressions.CountNonNull<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Bound<java.lang.Long>
,Expression
public class CountNonNull<T> extends CountAggregate<T>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.expressions.Expression
Expression.Operation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CountNonNull(BoundTerm<T> term)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Long
countFor(DataFile file)
protected java.lang.Long
countFor(StructLike row)
protected boolean
hasValue(DataFile file)
-
Methods inherited from class org.apache.iceberg.expressions.CountAggregate
eval, eval, newAggregator
-
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
-
-
-
-
Method Detail
-
countFor
protected java.lang.Long countFor(StructLike row)
- Overrides:
countFor
in classCountAggregate<T>
-
hasValue
protected boolean hasValue(DataFile file)
-
countFor
protected java.lang.Long countFor(DataFile file)
- Overrides:
countFor
in classCountAggregate<T>
-
-