Enum Class BigQueryIO.TypedRead.QueryPriority
java.lang.Object
java.lang.Enum<BigQueryIO.TypedRead.QueryPriority>
org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO.TypedRead.QueryPriority
- All Implemented Interfaces:
Serializable,Comparable<BigQueryIO.TypedRead.QueryPriority>,Constable
- Enclosing class:
BigQueryIO.TypedRead<T>
public static enum BigQueryIO.TypedRead.QueryPriority
extends Enum<BigQueryIO.TypedRead.QueryPriority>
An enumeration type for the priority of a query.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that a query should be run with a BATCH priority.Specifies that a query should be run with an INTERACTIVE priority. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BigQueryIO.TypedRead.QueryPriority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERACTIVE
Specifies that a query should be run with an INTERACTIVE priority.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.
-
BATCH
Specifies that a query should be run with a BATCH priority.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-