Package com.google.cloud.bigquery
Class TableId
- java.lang.Object
-
- com.google.cloud.bigquery.TableId
-
- All Implemented Interfaces:
Serializable
public final class TableId extends Object implements Serializable
Google BigQuery Table identity.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDataset()
Returns dataset's user-defined id.String
getIAMResourceName()
Returns the IAM resource name for the table.String
getProject()
Returns project's user-defined id.String
getTable()
Returns table's user-defined id.int
hashCode()
static TableId
of(String dataset, String table)
Creates a table identity given dataset's and table's user-defined ids.static TableId
of(String project, String dataset, String table)
Creates a table identity given project's, dataset's and table's user-defined ids.String
toString()
-
-
-
Method Detail
-
getProject
public String getProject()
Returns project's user-defined id.
-
getDataset
public String getDataset()
Returns dataset's user-defined id.
-
getTable
public String getTable()
Returns table's user-defined id.
-
getIAMResourceName
public String getIAMResourceName()
Returns the IAM resource name for the table. *
-
of
public static TableId of(String project, String dataset, String table)
Creates a table identity given project's, dataset's and table's user-defined ids.
-
of
public static TableId of(String dataset, String table)
Creates a table identity given dataset's and table's user-defined ids.
-
-