Package org.apache.iceberg.expressions
Class MaxAggregate<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Aggregate<BoundTerm<T>>
-
- org.apache.iceberg.expressions.BoundAggregate<T,T>
-
- org.apache.iceberg.expressions.MaxAggregate<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Bound<T>
,Expression
public class MaxAggregate<T> extends BoundAggregate<T,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
MaxAggregate(BoundTerm<T> term)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
eval(DataFile file)
T
eval(StructLike struct)
Produce a value from the struct for this expression.protected java.lang.Object
evaluateRef(DataFile file)
protected boolean
hasValue(DataFile file)
org.apache.iceberg.expressions.BoundAggregate.Aggregator<T>
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
-
hasValue
protected boolean hasValue(DataFile file)
-
evaluateRef
protected java.lang.Object evaluateRef(DataFile file)
-
newAggregator
public org.apache.iceberg.expressions.BoundAggregate.Aggregator<T> newAggregator()
-
eval
public T eval(StructLike struct)
Description copied from interface:Bound
Produce a value from the struct for this expression.- Specified by:
eval
in interfaceBound<T>
- Overrides:
eval
in classBoundAggregate<T,T>
- Parameters:
struct
- a struct of incoming data- Returns:
- the value of this expression when evaluated on the incoming struct
-
eval
public T eval(DataFile file)
-
-