Class RowMutation
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigquery.RowMutation
-
public abstract class RowMutation extends java.lang.ObjectA convenience class for applying row updates to BigQuery usingBigQueryIO.applyRowMutations(). This class encapsulates aTableRowpayload along with information how to update the row. A sequence number must also be supplied to order the updates. Incorrect sequence numbers will result in unexpected state in the BigQuery table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRowMutation.RowMutationCoder
-
Constructor Summary
Constructors Constructor Description RowMutation()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract RowMutationInformationgetMutationInformation()abstract com.google.api.services.bigquery.model.TableRowgetTableRow()static RowMutationof(com.google.api.services.bigquery.model.TableRow tableRow, RowMutationInformation rowMutationInformation)
-
-
-
Method Detail
-
getTableRow
public abstract com.google.api.services.bigquery.model.TableRow getTableRow()
-
getMutationInformation
public abstract RowMutationInformation getMutationInformation()
-
of
public static RowMutation of(com.google.api.services.bigquery.model.TableRow tableRow, RowMutationInformation rowMutationInformation)
-
-