Class AttributeValueCoder

  • All Implemented Interfaces:
    java.io.Serializable

    public class AttributeValueCoder
    extends org.apache.beam.sdk.coders.AtomicCoder<software.amazon.awssdk.services.dynamodb.model.AttributeValue>
    A Coder that serializes and deserializes the AttributeValue objects.
    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 Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      software.amazon.awssdk.services.dynamodb.model.AttributeValue decode​(java.io.InputStream inStream)  
      void encode​(software.amazon.awssdk.services.dynamodb.model.AttributeValue value, java.io.OutputStream outStream)  
      static AttributeValueCoder of()  
      • Methods inherited from class org.apache.beam.sdk.coders.AtomicCoder

        equals, getCoderArguments, getComponents, hashCode, verifyDeterministic
      • Methods inherited from class org.apache.beam.sdk.coders.StructuredCoder

        toString
      • 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, wait, wait, wait
    • Method Detail

      • encode

        public void encode​(software.amazon.awssdk.services.dynamodb.model.AttributeValue value,
                           java.io.OutputStream outStream)
                    throws java.io.IOException
        Specified by:
        encode in class org.apache.beam.sdk.coders.Coder<software.amazon.awssdk.services.dynamodb.model.AttributeValue>
        Throws:
        java.io.IOException
      • decode

        public software.amazon.awssdk.services.dynamodb.model.AttributeValue decode​(java.io.InputStream inStream)
                                                                             throws java.io.IOException
        Specified by:
        decode in class org.apache.beam.sdk.coders.Coder<software.amazon.awssdk.services.dynamodb.model.AttributeValue>
        Throws:
        java.io.IOException