public class TableDestination
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TableDestination(java.lang.String tableSpec,
@Nullable java.lang.String tableDescription) |
TableDestination(java.lang.String tableSpec,
@Nullable java.lang.String tableDescription,
@Nullable java.lang.String jsonTimePartitioning) |
TableDestination(java.lang.String tableSpec,
@Nullable java.lang.String tableDescription,
@Nullable java.lang.String jsonTimePartitioning,
@Nullable java.lang.String jsonClustering) |
TableDestination(java.lang.String tableSpec,
@Nullable java.lang.String tableDescription,
TimePartitioning timePartitioning) |
TableDestination(java.lang.String tableSpec,
@Nullable java.lang.String tableDescription,
TimePartitioning timePartitioning,
Clustering clustering) |
TableDestination(TableReference tableReference,
@Nullable java.lang.String tableDescription) |
TableDestination(TableReference tableReference,
@Nullable java.lang.String tableDescription,
@Nullable java.lang.String jsonTimePartitioning) |
TableDestination(TableReference tableReference,
@Nullable java.lang.String tableDescription,
@Nullable java.lang.String jsonTimePartitioning,
@Nullable java.lang.String jsonClustering) |
TableDestination(TableReference tableReference,
@Nullable java.lang.String tableDescription,
TimePartitioning timePartitioning) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable java.lang.Object o) |
@Nullable Clustering |
getClustering() |
@Nullable java.lang.String |
getJsonClustering() |
@Nullable java.lang.String |
getJsonTimePartitioning() |
java.lang.String |
getShortTableUrn()
Return shortened tablespec in datasets/[dataset]/tables/[table] format.
|
@Nullable java.lang.String |
getTableDescription() |
TableReference |
getTableReference() |
java.lang.String |
getTableSpec()
Return the tablespec in [project:].dataset.tableid format.
|
java.lang.String |
getTableUrn(BigQueryOptions bigQueryOptions)
Return the tablespec in projects/[project]/datasets/[dataset]/tables/[table] format.
|
@Nullable TimePartitioning |
getTimePartitioning() |
int |
hashCode() |
java.lang.String |
toString() |
TableDestination |
withTableReference(TableReference tableReference) |
public TableDestination(java.lang.String tableSpec, @Nullable java.lang.String tableDescription)
public TableDestination(TableReference tableReference, @Nullable java.lang.String tableDescription)
public TableDestination(TableReference tableReference, @Nullable java.lang.String tableDescription, TimePartitioning timePartitioning)
public TableDestination(java.lang.String tableSpec, @Nullable java.lang.String tableDescription, TimePartitioning timePartitioning)
public TableDestination(java.lang.String tableSpec, @Nullable java.lang.String tableDescription, TimePartitioning timePartitioning, Clustering clustering)
public TableDestination(java.lang.String tableSpec, @Nullable java.lang.String tableDescription, @Nullable java.lang.String jsonTimePartitioning)
public TableDestination(TableReference tableReference, @Nullable java.lang.String tableDescription, @Nullable java.lang.String jsonTimePartitioning)
public TableDestination(TableReference tableReference, @Nullable java.lang.String tableDescription, @Nullable java.lang.String jsonTimePartitioning, @Nullable java.lang.String jsonClustering)
public TableDestination(java.lang.String tableSpec, @Nullable java.lang.String tableDescription, @Nullable java.lang.String jsonTimePartitioning, @Nullable java.lang.String jsonClustering)
public TableDestination withTableReference(TableReference tableReference)
public java.lang.String getTableSpec()
public java.lang.String getTableUrn(BigQueryOptions bigQueryOptions)
public java.lang.String getShortTableUrn()
public TableReference getTableReference()
public @Nullable java.lang.String getJsonTimePartitioning()
public @Nullable TimePartitioning getTimePartitioning()
public @Nullable java.lang.String getJsonClustering()
public @Nullable Clustering getClustering()
public @Nullable java.lang.String getTableDescription()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object