Class DeterminismEnvelope<T>

java.lang.Object
org.apache.flink.runtime.entrypoint.DeterminismEnvelope<T>
Type Parameters:
T - type of the wrapped value

public class DeterminismEnvelope<T> extends Object
Envelope that carries whether the wrapped value is deterministic or not.
  • Method Details

    • isDeterministic

      public boolean isDeterministic()
    • unwrap

      public T unwrap()
    • map

      public <V, E extends Exception> DeterminismEnvelope<V> map(org.apache.flink.util.function.FunctionWithException<? super T,? extends V,E> mapper) throws E
      Throws:
      E extends Exception
    • deterministicValue

      public static <T> DeterminismEnvelope<T> deterministicValue(T value)
    • nondeterministicValue

      public static <T> DeterminismEnvelope<T> nondeterministicValue(T value)
    • toString

      public String toString()
      Overrides:
      toString in class Object