Class ExpressionBasedStreamId<R>

  • Type Parameters:
    R - the return type of the expression (and thus the type of the elements of the resulting stream)
    All Implemented Interfaces:
    java.io.Serializable, org.streamingpool.core.service.StreamId<R>

    public class ExpressionBasedStreamId<R>
    extends java.lang.Object
    implements org.streamingpool.core.service.StreamId<R>, java.io.Serializable
    A stream id backed by a tensorics expression. It can be used to request a stream of the expression (resolved) from the streaming pool.
    See Also:
    TensoricsExpressionStreamFactory, Serialized Form
    • Method Detail

      • of

        public static <R> ExpressionBasedStreamId<R> of​(org.tensorics.core.tree.domain.Expression<R> expression,
                                                        org.tensorics.core.tree.domain.ResolvingContext initialContext,
                                                        EvaluationStrategy evaluationStrategy)
      • of

        public static <R> ExpressionBasedStreamId<R> of​(org.tensorics.core.tree.domain.Expression<R> expression)
      • initialContext

        public org.tensorics.core.tree.domain.ResolvingContext initialContext()
      • expression

        public org.tensorics.core.tree.domain.Expression<R> expression()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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