Package com.google.cloud.bigquery
Class DatasetId
- java.lang.Object
-
- com.google.cloud.bigquery.DatasetId
-
- All Implemented Interfaces:
Serializable
public final class DatasetId extends Object implements Serializable
Google BigQuery Dataset 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
getProject()
Returns project's user-defined id.int
hashCode()
static DatasetId
of(String dataset)
Creates a dataset identity given only its user-defined id.static DatasetId
of(String project, String dataset)
Creates a dataset identity given project's and dataset'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.
-
of
public static DatasetId of(String project, String dataset)
Creates a dataset identity given project's and dataset's user-defined ids.
-
of
public static DatasetId of(String dataset)
Creates a dataset identity given only its user-defined id.
-
-