Package org.apache.iceberg.expressions
Class BoundReference<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.BoundReference<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Accessor<StructLike>accessor()Teval(StructLike struct)Produce a value from the struct for this expression.Types.NestedFieldfield()intfieldId()booleanisEquivalentTo(BoundTerm<?> other)Returns whether this term is equivalent to another.java.lang.Stringname()BoundReference<T>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
-
-
-
-
Method Detail
-
eval
public T eval(StructLike struct)
Description copied from interface:BoundProduce a value from the struct for this expression.
-
field
public Types.NestedField field()
-
ref
public BoundReference<T> ref()
Description copied from interface:BoundReturns the underlying reference.
-
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
-
fieldId
public int fieldId()
-
accessor
public Accessor<StructLike> accessor()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-