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:
  • Enum Constant Details

    • INTERACTIVE

      public static final BigQueryIO.TypedRead.QueryPriority 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

      public static final BigQueryIO.TypedRead.QueryPriority 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

      public static BigQueryIO.TypedRead.QueryPriority[] 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

      public static BigQueryIO.TypedRead.QueryPriority valueOf(String name)
      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 name
      NullPointerException - if the argument is null