Enum Class BigQueryErrorCode

java.lang.Object
java.lang.Enum<BigQueryErrorCode>
io.trino.plugin.bigquery.BigQueryErrorCode
All Implemented Interfaces:
ErrorCodeSupplier, Serializable, Comparable<BigQueryErrorCode>, Constable

public enum BigQueryErrorCode extends Enum<BigQueryErrorCode> implements ErrorCodeSupplier
  • Enum Constant Details

    • BIGQUERY_VIEW_DESTINATION_TABLE_CREATION_FAILED

      public static final BigQueryErrorCode BIGQUERY_VIEW_DESTINATION_TABLE_CREATION_FAILED
    • BIGQUERY_DATETIME_PARSING_ERROR

      public static final BigQueryErrorCode BIGQUERY_DATETIME_PARSING_ERROR
    • BIGQUERY_FAILED_TO_EXECUTE_QUERY

      public static final BigQueryErrorCode BIGQUERY_FAILED_TO_EXECUTE_QUERY
    • BIGQUERY_AMBIGUOUS_OBJECT_NAME

      public static final BigQueryErrorCode BIGQUERY_AMBIGUOUS_OBJECT_NAME
    • BIGQUERY_LISTING_DATASET_ERROR

      public static final BigQueryErrorCode BIGQUERY_LISTING_DATASET_ERROR
    • BIGQUERY_UNSUPPORTED_OPERATION

      public static final BigQueryErrorCode BIGQUERY_UNSUPPORTED_OPERATION
    • BIGQUERY_INVALID_STATEMENT

      public static final BigQueryErrorCode BIGQUERY_INVALID_STATEMENT
    • BIGQUERY_PROXY_SSL_INITIALIZATION_FAILED

      public static final BigQueryErrorCode BIGQUERY_PROXY_SSL_INITIALIZATION_FAILED
  • Method Details

    • values

      public static BigQueryErrorCode[] 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 BigQueryErrorCode 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
    • toErrorCode

      public ErrorCode toErrorCode()
      Specified by:
      toErrorCode in interface ErrorCodeSupplier