public static enum BigQueryIO.TypedRead.QueryPriority extends java.lang.Enum<BigQueryIO.TypedRead.QueryPriority>
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.QueryPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryIO.TypedRead.QueryPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigQueryIO.TypedRead.QueryPriority 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.QueryPriority 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.QueryPriority[] values()
for (BigQueryIO.TypedRead.QueryPriority c : BigQueryIO.TypedRead.QueryPriority.values()) System.out.println(c);
public static BigQueryIO.TypedRead.QueryPriority 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