Package com.google.cloud.bigquery
Enum QueryJobConfiguration.Priority
java.lang.Object
java.lang.Enum<QueryJobConfiguration.Priority>
com.google.cloud.bigquery.QueryJobConfiguration.Priority
- All Implemented Interfaces:
Serializable
,Comparable<QueryJobConfiguration.Priority>
- Enclosing class:
- QueryJobConfiguration
Priority levels for a query. If not specified the priority is assumed to be
INTERACTIVE
.-
Enum Constant Summary
Enum ConstantDescriptionQuery is queued and started as soon as idle resources are available, usually within a few minutes.Query is executed as soon as possible and count towards the concurrent rate limit and the daily rate limit. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static QueryJobConfiguration.Priority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INTERACTIVE
Query is executed as soon as possible and count towards the concurrent rate limit and the daily rate limit. -
BATCH
Query is queued and started as soon as idle resources are available, usually within a few minutes. If the query hasn't started within 3 hours, its priority is changed toINTERACTIVE
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-