public static final class SinkInfo.Destination.DatasetDestination extends SinkInfo.Destination
SinkInfo.Destination.BucketDestination, SinkInfo.Destination.DatasetDestination, SinkInfo.Destination.TopicDestination, SinkInfo.Destination.Type| Modifier and Type | Method and Description |
|---|---|
String |
dataset()
Returns the name of the Google Cloud BigQuery dataset this destination represents.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static SinkInfo.Destination.DatasetDestination |
of(String dataset)
Creates a
DatasetDestination object given the name of the dataset to be used as
sink destination. |
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. |
String |
project()
Returns the name of the project where the Google Cloud BigQuery dataset resides.
|
String |
toString() |
typepublic String project()
null, the default project is used.public String dataset()
public static SinkInfo.Destination.DatasetDestination of(String project, String dataset)
DatasetDestination object given the name of the project and dataset to be
used as sink destination.public static SinkInfo.Destination.DatasetDestination of(String dataset)
DatasetDestination object given the name of the dataset to be used as
sink destination. Dataset is assumed to reside in the default project.Copyright © 2016 Google. All rights reserved.