Enum Class PinotErrorCode

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

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

    • PINOT_UNSUPPORTED_COLUMN_TYPE

      public static final PinotErrorCode PINOT_UNSUPPORTED_COLUMN_TYPE
    • PINOT_AMBIGUOUS_TABLE_NAME

      public static final PinotErrorCode PINOT_AMBIGUOUS_TABLE_NAME
    • PINOT_INSUFFICIENT_SERVER_RESPONSE

      public static final PinotErrorCode PINOT_INSUFFICIENT_SERVER_RESPONSE
    • PINOT_EXCEPTION

      public static final PinotErrorCode PINOT_EXCEPTION
    • PINOT_HTTP_ERROR

      public static final PinotErrorCode PINOT_HTTP_ERROR
    • PINOT_UNABLE_TO_FIND_BROKER

      public static final PinotErrorCode PINOT_UNABLE_TO_FIND_BROKER
    • PINOT_DECODE_ERROR

      public static final PinotErrorCode PINOT_DECODE_ERROR
    • PINOT_INVALID_PQL_GENERATED

      public static final PinotErrorCode PINOT_INVALID_PQL_GENERATED
    • PINOT_INVALID_CONFIGURATION

      public static final PinotErrorCode PINOT_INVALID_CONFIGURATION
    • PINOT_UNCLASSIFIED_ERROR

      public static final PinotErrorCode PINOT_UNCLASSIFIED_ERROR
  • Method Details

    • values

      public static PinotErrorCode[] 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 PinotErrorCode 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