Class TableDestinationCoderV3

  • All Implemented Interfaces:
    java.io.Serializable

    public class TableDestinationCoderV3
    extends org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
    A Coder for TableDestination that includes time partitioning and clustering information. Users must opt in to this version of the coder by setting one of the clustering options on BigQueryIO.Write, otherwise TableDestinationCoderV2 will be used and clustering information will be discarded.
    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
      TableDestination decode​(java.io.InputStream inStream)  
      void encode​(TableDestination value, java.io.OutputStream outStream)  
      static TableDestinationCoderV3 of()  
      void verifyDeterministic()  
      • Methods inherited from class org.apache.beam.sdk.coders.AtomicCoder

        equals, getCoderArguments, getComponents, hashCode
      • 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
    • Constructor Detail

      • TableDestinationCoderV3

        public TableDestinationCoderV3()
    • Method Detail

      • encode

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

        public TableDestination decode​(java.io.InputStream inStream)
                                throws java.io.IOException
        Specified by:
        decode in class org.apache.beam.sdk.coders.Coder<TableDestination>
        Throws:
        java.io.IOException
      • verifyDeterministic

        public void verifyDeterministic()
                                 throws org.apache.beam.sdk.coders.Coder.NonDeterministicException
        Overrides:
        verifyDeterministic in class org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
        Throws:
        org.apache.beam.sdk.coders.Coder.NonDeterministicException