Class TableDestinationCoderV2
- 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.TableDestinationCoderV2
-
- All Implemented Interfaces:
java.io.Serializable
public class TableDestinationCoderV2 extends org.apache.beam.sdk.coders.AtomicCoder<TableDestination>
ACoderforTableDestinationthat includes time partitioning information. It is the default coder forTableDestinationused byBigQueryIOand does not extend the oldTableDestinationCoder) for compatibility reasons. The old coder is kept around for the same compatibility reasons.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableDestinationCoderV2()
-
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 TableDestinationCoderV2of()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 TableDestinationCoderV2 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
-
-