public static enum BigQueryIO.TypedRead.Priority extends java.lang.Enum<BigQueryIO.TypedRead.Priority>
Enum Constant and Description |
---|
BATCH
Specifies that a query should be run with a BATCH priority.
|
INTERACTIVE
Specifies that a query should be run with an INTERACTIVE priority.
|
Modifier and Type | Method and Description |
---|---|
static BigQueryIO.TypedRead.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryIO.TypedRead.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigQueryIO.TypedRead.Priority INTERACTIVE
Interactive mode allows for BigQuery to execute the query as soon as possible. These queries count towards your concurrent rate limit and your daily limit.
public static final BigQueryIO.TypedRead.Priority BATCH
Batch mode queries are queued by BigQuery. These are started as soon as idle resources are available, usually within a few minutes. Batch queries don’t count towards your concurrent rate limit.
public static BigQueryIO.TypedRead.Priority[] values()
for (BigQueryIO.TypedRead.Priority c : BigQueryIO.TypedRead.Priority.values()) System.out.println(c);
public static BigQueryIO.TypedRead.Priority 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