Package org.apache.iceberg.expressions
Class UnboundAggregate<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Aggregate<UnboundTerm<T>>
-
- org.apache.iceberg.expressions.UnboundAggregate<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Unbound<T,Expression>
public class UnboundAggregate<T> extends Aggregate<UnboundTerm<T>> implements Unbound<T,Expression>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.expressions.Expression
Expression.Operation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
bind(Types.StructType struct, boolean caseSensitive)
Bind this UnboundAggregate.NamedReference<?>
ref()
Returns this expression's underlying reference.-
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
-
ref
public NamedReference<?> ref()
Description copied from interface:Unbound
Returns this expression's underlying reference.- Specified by:
ref
in interfaceUnbound<T,Expression>
-
bind
public Expression bind(Types.StructType struct, boolean caseSensitive)
Bind this UnboundAggregate.- Specified by:
bind
in interfaceUnbound<T,Expression>
- Parameters:
struct
- Thestruct type
to resolve references by name.caseSensitive
- A boolean flag to control whether the bind should enforce case sensitivity.- Returns:
- an
Expression
- Throws:
ValidationException
- if literals do not match bound references, or if comparison on expression is invalid
-
-