Package org.apache.iceberg.expressions
Class BoundTransform<S,T>
- java.lang.Object
-
- org.apache.iceberg.expressions.BoundTransform<S,T>
-
- Type Parameters:
S
- the Java type of values transformed by this function.T
- the Java type of values returned by the function.
public class BoundTransform<S,T> extends java.lang.Object implements BoundTerm<T>
A transform expression.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
eval(StructLike struct)
Produce a value from the struct for this expression.boolean
isEquivalentTo(BoundTerm<?> other)
Returns whether this term is equivalent to another.BoundReference<S>
ref()
Returns the underlying reference.java.lang.String
toString()
Transform<S,T>
transform()
Type
type()
Returns the type produced by this expression.-
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.BoundTerm
comparator
-
-
-
-
Method Detail
-
eval
public T eval(StructLike struct)
Description copied from interface:Bound
Produce a value from the struct for this expression.
-
ref
public BoundReference<S> ref()
Description copied from interface:Bound
Returns the underlying reference.
-
type
public Type type()
Description copied from interface:BoundTerm
Returns the type produced by this expression.
-
isEquivalentTo
public boolean isEquivalentTo(BoundTerm<?> other)
Description copied from interface:BoundTerm
Returns whether this term is equivalent to another.- Specified by:
isEquivalentTo
in interfaceBoundTerm<S>
- Parameters:
other
- a term- Returns:
- true if this term returns the same values as the other, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-