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()
T
eval(StructLike struct)
Produce a value from the struct for this expression.Types.NestedField
field()
int
fieldId()
boolean
isEquivalentTo(BoundTerm<?> other)
Returns whether this term is equivalent to another.java.lang.String
name()
BoundReference<T>
ref()
Returns the underlying reference.java.lang.String
toString()
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.
-
field
public Types.NestedField field()
-
ref
public BoundReference<T> 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<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:
toString
in classjava.lang.Object
-
-