Package org.apache.iceberg.expressions
Class BoundExtract<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.BoundExtract<T>
-
public class BoundExtract<T> extends java.lang.Object implements BoundTerm<T>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Teval(StructLike struct)Produce a value from the struct for this expression.booleanisEquivalentTo(BoundTerm<?> other)Returns whether this term is equivalent to another.java.lang.Stringpath()BoundReference<?>ref()Returns the underlying reference.java.lang.StringtoString()Typetype()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, producesNull
-
-
-
-
Method Detail
-
ref
public BoundReference<?> ref()
Description copied from interface:BoundReturns the underlying reference.
-
path
public java.lang.String path()
-
type
public Type type()
Description copied from interface:BoundTermReturns the type produced by this expression.
-
isEquivalentTo
public boolean isEquivalentTo(BoundTerm<?> other)
Description copied from interface:BoundTermReturns whether this term is equivalent to another.- Specified by:
isEquivalentToin interfaceBoundTerm<T>- Parameters:
other- a term- Returns:
- true if this term returns the same values as the other, false otherwise
-
eval
public T eval(StructLike struct)
Description copied from interface:BoundProduce a value from the struct for this expression.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-