Class StateOrInput.StateOrInputCoder<T>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    StateOrInput<T>

    public static class StateOrInput.StateOrInputCoder<T>
    extends org.apache.beam.sdk.coders.CustomCoder<StateOrInput<T>>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.beam.sdk.coders.Coder

        org.apache.beam.sdk.coders.Coder.Context, org.apache.beam.sdk.coders.Coder.NonDeterministicException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      StateOrInput<T> decode​(java.io.InputStream inStream)  
      void encode​(StateOrInput<T> value, java.io.OutputStream outStream)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class org.apache.beam.sdk.coders.CustomCoder

        getCoderArguments, verifyDeterministic
      • Methods inherited from class org.apache.beam.sdk.coders.Coder

        consistentWithEquals, decode, encode, getEncodedElementByteSize, getEncodedTypeDescriptor, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, verifyDeterministic, verifyDeterministic
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • encode

        public void encode​(StateOrInput<T> value,
                           java.io.OutputStream outStream)
                    throws java.io.IOException
        Specified by:
        encode in class org.apache.beam.sdk.coders.Coder<StateOrInput<T>>
        Throws:
        java.io.IOException
      • decode

        public StateOrInput<T> decode​(java.io.InputStream inStream)
                               throws java.io.IOException
        Specified by:
        decode in class org.apache.beam.sdk.coders.Coder<StateOrInput<T>>
        Throws:
        java.io.IOException
      • 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