Package com.google.cloud.bigquery
Enum QueryJobConfiguration.JobCreationMode
java.lang.Object
java.lang.Enum<QueryJobConfiguration.JobCreationMode>
com.google.cloud.bigquery.QueryJobConfiguration.JobCreationMode
- All Implemented Interfaces:
Serializable,Comparable<QueryJobConfiguration.JobCreationMode>
- Enclosing class:
- QueryJobConfiguration
public static enum QueryJobConfiguration.JobCreationMode
extends Enum<QueryJobConfiguration.JobCreationMode>
Job Creation Mode provides different options on job creation.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnspecified JobCreationMode, defaults to JOB_CREATION_REQUIRED.Job creation is optional.Default. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JOB_CREATION_MODE_UNSPECIFIED
Unspecified JobCreationMode, defaults to JOB_CREATION_REQUIRED. -
JOB_CREATION_REQUIRED
Default. Job creation is always required. -
JOB_CREATION_OPTIONAL
Job creation is optional. Returning immediate results is prioritized. BigQuery will automatically determine if a Job needs to be created. The conditions under which BigQuery can decide to not create a Job are subject to change. If Job creation is required, JOB_CREATION_REQUIRED mode should be used, which is the default.
-
-
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
-