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:
    java.io.Serializable, 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>
        Parameters:
        struct - a struct of incoming data
        Returns:
        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>
      • toString

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