Class DatasetId (2.45.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
Name Description
dataset String
Returns
Type Description
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
Name Description
project String
dataset String
Returns
Type Description
DatasetId

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataset()

public String getDataset()

Returns dataset's user-defined id.

Returns
Type Description
String

getProject()

public String getProject()

Returns project's user-defined id.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides