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>
ACoder
forTableDestination
that 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
, otherwiseTableDestinationCoderV2
will 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 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
-
-
-
-
Method Detail
-
of
public static TableDestinationCoderV3 of()
-
encode
public void encode(TableDestination value, java.io.OutputStream outStream) throws java.io.IOException
- Specified by:
encode
in 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:
decode
in classorg.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 classorg.apache.beam.sdk.coders.AtomicCoder<TableDestination>
- Throws:
org.apache.beam.sdk.coders.Coder.NonDeterministicException
-
-