Class TableDestinationCoderV3
- java.lang.Object
-
- org.apache.beam.sdk.coders.Coder<T>
-
- org.apache.beam.sdk.coders.StructuredCoder<T>
-
- org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
-
- org.apache.beam.sdk.io.gcp.bigquery.TableDestinationCoderV3
-
- All Implemented Interfaces:
java.io.Serializable
public class TableDestinationCoderV3 extends org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
ACoderforTableDestinationthat includes time partitioning and clustering information. Users must opt in to this version of the coder by setting one of the clustering options onBigQueryIO.Write, otherwiseTableDestinationCoderV2will be used and clustering information will be discarded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableDestinationCoderV3()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableDestinationdecode(java.io.InputStream inStream)voidencode(TableDestination value, java.io.OutputStream outStream)static TableDestinationCoderV3of()voidverifyDeterministic()-
Methods inherited from class org.apache.beam.sdk.coders.AtomicCoder
equals, getCoderArguments, getComponents, hashCode
-
Methods inherited from class org.apache.beam.sdk.coders.Coder
consistentWithEquals, decode, encode, getEncodedElementByteSize, getEncodedElementByteSizeUsingCoder, getEncodedTypeDescriptor, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, verifyDeterministic, verifyDeterministic
-
-
-
-
Method Detail
-
of
public static TableDestinationCoderV3 of()
-
encode
public void encode(TableDestination value, java.io.OutputStream outStream) throws java.io.IOException
- Specified by:
encodein classorg.apache.beam.sdk.coders.Coder<TableDestination>- Throws:
java.io.IOException
-
decode
public TableDestination decode(java.io.InputStream inStream) throws java.io.IOException
- Specified by:
decodein classorg.apache.beam.sdk.coders.Coder<TableDestination>- Throws:
java.io.IOException
-
verifyDeterministic
public void verifyDeterministic() throws org.apache.beam.sdk.coders.Coder.NonDeterministicException- Overrides:
verifyDeterministicin classorg.apache.beam.sdk.coders.AtomicCoder<TableDestination>- Throws:
org.apache.beam.sdk.coders.Coder.NonDeterministicException
-
-