Class 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.
    All Implemented Interfaces:, Bound<T>, BoundTerm<T>, Term

    public class BoundTransform<S,​T>
    extends java.lang.Object
    implements BoundTerm<T>
    A transform expression.
    See Also:
    Serialized Form
    • Method Detail

      • eval

        public T eval​(StructLike struct)
        Description copied from interface: Bound
        Produce a value from the struct for this expression.
        Specified by:
        eval in interface Bound<S>
        struct - a struct of incoming data
        the value of this expression when evaluated on the incoming struct
      • ref

        public BoundReference<S> ref()
        Description copied from interface: Bound
        Returns the underlying reference.
        Specified by:
        ref in interface Bound<S>
      • type

        public Type type()
        Description copied from interface: BoundTerm
        Returns the type produced by this expression.
        Specified by:
        type in interface BoundTerm<S>
      • isEquivalentTo

        public boolean isEquivalentTo​(BoundTerm<?> other)
        Description copied from interface: BoundTerm
        Returns whether this term is equivalent to another.
        Specified by:
        isEquivalentTo in interface BoundTerm<S>
        other - a term
        true if this term returns the same values as the other, false otherwise
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object