Class TableDestination
java.lang.Object
org.apache.beam.sdk.io.gcp.bigquery.TableDestination
- All Implemented Interfaces:
 Serializable
Encapsulates a BigQuery table destination.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTableDestination(TableReference tableReference, @Nullable String tableDescription) TableDestination(TableReference tableReference, @Nullable String tableDescription, TimePartitioning timePartitioning) TableDestination(TableReference tableReference, @Nullable String tableDescription, @Nullable String jsonTimePartitioning) TableDestination(TableReference tableReference, @Nullable String tableDescription, @Nullable String jsonTimePartitioning, @Nullable String jsonClustering) TableDestination(String tableSpec, @Nullable String tableDescription) TableDestination(String tableSpec, @Nullable String tableDescription, @Nullable TimePartitioning timePartitioning, Clustering clustering) TableDestination(String tableSpec, @Nullable String tableDescription, TimePartitioning timePartitioning) TableDestination(String tableSpec, @Nullable String tableDescription, @Nullable String jsonTimePartitioning) TableDestination(String tableSpec, @Nullable String tableDescription, @Nullable String jsonTimePartitioning, @Nullable String jsonClustering)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn shortened tablespec in datasets/[dataset]/tables/[table] format.Return the tablespec in [project:].dataset.tableid format.getTableUrn(BigQueryOptions bigQueryOptions) Return the tablespec in projects/[project]/datasets/[dataset]/tables/[table] format.inthashCode()toString()withTableReference(TableReference tableReference)  
- 
Constructor Details
- 
TableDestination
 - 
TableDestination
 - 
TableDestination
public TableDestination(TableReference tableReference, @Nullable String tableDescription, TimePartitioning timePartitioning)  - 
TableDestination
public TableDestination(String tableSpec, @Nullable String tableDescription, TimePartitioning timePartitioning)  - 
TableDestination
public TableDestination(String tableSpec, @Nullable String tableDescription, @Nullable TimePartitioning timePartitioning, Clustering clustering)  - 
TableDestination
 - 
TableDestination
public TableDestination(TableReference tableReference, @Nullable String tableDescription, @Nullable String jsonTimePartitioning)  - 
TableDestination
 - 
TableDestination
 
 - 
 - 
Method Details
- 
withTableReference
 - 
getTableSpec
Return the tablespec in [project:].dataset.tableid format. - 
getTableUrn
Return the tablespec in projects/[project]/datasets/[dataset]/tables/[table] format. - 
getShortTableUrn
Return shortened tablespec in datasets/[dataset]/tables/[table] format. - 
getTableReference
 - 
getJsonTimePartitioning
 - 
getTimePartitioning
 - 
getJsonClustering
 - 
getClustering
 - 
getTableDescription
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() 
 -