public class TableDestinationCoderV3 extends org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
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.Constructor and Description |
---|
TableDestinationCoderV3() |
Modifier and Type | Method and Description |
---|---|
TableDestination |
decode(java.io.InputStream inStream) |
void |
encode(TableDestination value,
java.io.OutputStream outStream) |
static TableDestinationCoderV3 |
of() |
void |
verifyDeterministic() |
equals, getCoderArguments, getComponents, hashCode
public static TableDestinationCoderV3 of()
public void encode(TableDestination value, java.io.OutputStream outStream) throws java.io.IOException
encode
in class org.apache.beam.sdk.coders.Coder<TableDestination>
java.io.IOException
public TableDestination decode(java.io.InputStream inStream) throws java.io.IOException
decode
in class org.apache.beam.sdk.coders.Coder<TableDestination>
java.io.IOException
public void verifyDeterministic() throws org.apache.beam.sdk.coders.Coder.NonDeterministicException
verifyDeterministic
in class org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
org.apache.beam.sdk.coders.Coder.NonDeterministicException