Class DatasetId (2.21.0)

public final class DatasetId implements Serializable

Google BigQuery Dataset identity.

Inheritance

Object > DatasetId

Implements

Serializable

Static Methods

of(String dataset)

public static DatasetId of(String dataset)

Creates a dataset identity given only its user-defined id.

Parameter
NameDescription
datasetString
Returns
TypeDescription
DatasetId

of(String project, String dataset)

public static DatasetId of(String project, String dataset)

Creates a dataset identity given project's and dataset's user-defined ids.

Parameters
NameDescription
projectString
datasetString
Returns
TypeDescription
DatasetId

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataset()

public String getDataset()

Returns dataset's user-defined id.

Returns
TypeDescription
String

getProject()

public String getProject()

Returns project's user-defined id.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides