public static enum BigQueryIO.Write.Method extends java.lang.Enum<BigQueryIO.Write.Method>
Enum Constant and Description |
---|
DEFAULT
The default behavior if no method is explicitly set.
|
FILE_LOADS
Use BigQuery load jobs to insert data.
|
STREAMING_INSERTS
Use the BigQuery streaming insert API to insert data.
|
Modifier and Type | Method and Description |
---|---|
static BigQueryIO.Write.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryIO.Write.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigQueryIO.Write.Method DEFAULT
public static final BigQueryIO.Write.Method FILE_LOADS
BigQueryIO.Write.withTriggeringFrequency(org.joda.time.Duration)
. BigQuery has daily quotas on the number
of load jobs allowed per day, so be careful not to set the triggering frequency too
frequent. For more information, see Loading Data from
Cloud Storage.public static final BigQueryIO.Write.Method STREAMING_INSERTS
FILE_LOADS
insert method does guarantee no duplicates, though the latency for the
insert into BigQuery will be much higher. For more information, see Streaming Data into
BigQuery.public static BigQueryIO.Write.Method[] values()
for (BigQueryIO.Write.Method c : BigQueryIO.Write.Method.values()) System.out.println(c);
public static BigQueryIO.Write.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null