Class SinkInfo.Destination.DatasetDestination (3.13.7)

public static final class SinkInfo.Destination.DatasetDestination extends SinkInfo.Destination

Class for specifying a Google Cloud BigQuery dataset as destination for the sink.

Inheritance

Object > SinkInfo.Destination > SinkInfo.Destination.DatasetDestination

Static Methods

of(String dataset)

public static SinkInfo.Destination.DatasetDestination of(String dataset)

Creates a DatasetDestination object given the name of the dataset to be used as sink destination. Dataset is assumed to reside in the default project.

Parameter
Name Description
dataset String
Returns
Type Description
SinkInfo.Destination.DatasetDestination

of(String project, String dataset)

public static SinkInfo.Destination.DatasetDestination of(String project, String dataset)

Creates a DatasetDestination object given the name of the project and dataset to be used as sink destination.

Parameters
Name Description
project String
dataset String
Returns
Type Description
SinkInfo.Destination.DatasetDestination

Methods

equals(Object obj)

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

getDataset()

public String getDataset()

Returns the name of the Google Cloud BigQuery dataset this destination represents.

Returns
Type Description
String

getProject()

public String getProject()

Returns the name of the project where the Google Cloud BigQuery dataset resides. If null, the default project is used.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides