Enum UserBitShared.DrillPBError.ErrorType

java.lang.Object
java.lang.Enum<UserBitShared.DrillPBError.ErrorType>
org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UserBitShared.DrillPBError.ErrorType>
Enclosing class:
UserBitShared.DrillPBError

public static enum UserBitShared.DrillPBError.ErrorType extends Enum<UserBitShared.DrillPBError.ErrorType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum exec.shared.DrillPBError.ErrorType
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    equivalent to SQLClientInfoException - handshake version error - invalid schema
    equivalent to SQLRecoverableException - corrupt files: can't be read.
    equivalent to SQLDataException - data type unsupported by format
    Execution exception - Internal errors not related to bad code
    equivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misuse
    Internal exception - Failed assertions - Other "this should not happen" cases
    equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
    equivalent to SQLInvalidAuthorizationSpecException
    equivalent to SQLNonTransientException
    Plugin exception - A failure has occurred within a plugin.
    equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
    equivalent to SQLNonTransientException.
    Unspecified exception - Exception caught but cause is unknown Indicates code that needs revisiting to move error reporting closer to the cause.
    equivalent to SQLFeatureNotSupportedException - unimplemented feature, option, or execution path - schema change in operator that does not support it
    SQL validation exception - invalid schema path - invalid entries in SQL tree
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    equivalent to SQLClientInfoException - handshake version error - invalid schema
    static final int
    equivalent to SQLRecoverableException - corrupt files: can't be read.
    static final int
    equivalent to SQLDataException - data type unsupported by format
    static final int
    Execution exception - Internal errors not related to bad code
    static final int
    equivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misuse
    static final int
    Internal exception - Failed assertions - Other "this should not happen" cases
    static final int
    equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
    static final int
    equivalent to SQLInvalidAuthorizationSpecException
    static final int
    equivalent to SQLNonTransientException
    static final int
    Plugin exception - A failure has occurred within a plugin.
    static final int
    equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
    static final int
    equivalent to SQLNonTransientException.
    static final int
    Unspecified exception - Exception caught but cause is unknown Indicates code that needs revisiting to move error reporting closer to the cause.
    static final int
    equivalent to SQLFeatureNotSupportedException - unimplemented feature, option, or execution path - schema change in operator that does not support it
    static final int
    SQL validation exception - invalid schema path - invalid entries in SQL tree
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static final com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.DrillPBError.ErrorType>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CONNECTION

      public static final UserBitShared.DrillPBError.ErrorType CONNECTION
       equivalent to SQLClientInfoException
       - handshake version error
       - invalid schema
       
      CONNECTION = 0;
    • DATA_READ

      public static final UserBitShared.DrillPBError.ErrorType DATA_READ
       equivalent to SQLRecoverableException
       - corrupt files: can't be read. FS read error
       - parsing error due to incomplete or incorrectly written records
       
      DATA_READ = 1;
    • DATA_WRITE

      public static final UserBitShared.DrillPBError.ErrorType DATA_WRITE
       equivalent to SQLDataException
       - data type unsupported by format
       
      DATA_WRITE = 2;
    • FUNCTION

      public static final UserBitShared.DrillPBError.ErrorType FUNCTION
       equivalent to SQLDataException
       - Casting errors
       - function not found for incoming types after implicit casting
       - Flatten misuse
       
      FUNCTION = 3;
    • PARSE

      public static final UserBitShared.DrillPBError.ErrorType PARSE
       equivalent to SQLSyntaxErrorException
       - typos
       - missing table
       - SQL keyword misuse
       - function names/resolution
       
      PARSE = 4;
    • PERMISSION

      public static final UserBitShared.DrillPBError.ErrorType PERMISSION
       equivalent to SQLInvalidAuthorizationSpecException
       
      PERMISSION = 5;
    • PLAN

      public static final UserBitShared.DrillPBError.ErrorType PLAN
       equivalent to SQLNonTransientException
       
      PLAN = 6;
    • RESOURCE

      public static final UserBitShared.DrillPBError.ErrorType RESOURCE
       equivalent to SQLRecoverableException or SQLTransientException
       - Recoverable: memory, disk
       - Transient: network
       
      RESOURCE = 7;
    • SYSTEM

      public static final UserBitShared.DrillPBError.ErrorType SYSTEM
       equivalent to SQLNonTransientException.
       - unexpected internal state
       - uncategorized operation
       general user action is to contact the Drill team for
       assistance
       
      SYSTEM = 8;
    • UNSUPPORTED_OPERATION

      public static final UserBitShared.DrillPBError.ErrorType UNSUPPORTED_OPERATION
       equivalent to SQLFeatureNotSupportedException
       - unimplemented feature, option, or execution path
       - schema change in operator that does not support it
       
      UNSUPPORTED_OPERATION = 9;
    • VALIDATION

      public static final UserBitShared.DrillPBError.ErrorType VALIDATION
       SQL validation exception
       - invalid schema path
       - invalid entries in SQL tree
       
      VALIDATION = 10;
    • EXECUTION_ERROR

      public static final UserBitShared.DrillPBError.ErrorType EXECUTION_ERROR
       Execution exception
        - Internal errors not related to bad code
       
      EXECUTION_ERROR = 11;
    • INTERNAL_ERROR

      public static final UserBitShared.DrillPBError.ErrorType INTERNAL_ERROR
       Internal exception
        - Failed assertions
        - Other "this should not happen" cases
       
      INTERNAL_ERROR = 12;
    • UNSPECIFIED_ERROR

      public static final UserBitShared.DrillPBError.ErrorType UNSPECIFIED_ERROR
       Unspecified exception
        - Exception caught but cause is unknown
       Indicates code that needs revisiting to move error reporting
       closer to the cause.
       
      UNSPECIFIED_ERROR = 13;
    • PLUGIN

      public static final UserBitShared.DrillPBError.ErrorType PLUGIN
       Plugin exception
       - A failure has occurred within a plugin.
       Indicates that a plugin is misconfigured or contains a bug.
       
      PLUGIN = 14;
  • Field Details

    • CONNECTION_VALUE

      public static final int CONNECTION_VALUE
       equivalent to SQLClientInfoException
       - handshake version error
       - invalid schema
       
      CONNECTION = 0;
      See Also:
    • DATA_READ_VALUE

      public static final int DATA_READ_VALUE
       equivalent to SQLRecoverableException
       - corrupt files: can't be read. FS read error
       - parsing error due to incomplete or incorrectly written records
       
      DATA_READ = 1;
      See Also:
    • DATA_WRITE_VALUE

      public static final int DATA_WRITE_VALUE
       equivalent to SQLDataException
       - data type unsupported by format
       
      DATA_WRITE = 2;
      See Also:
    • FUNCTION_VALUE

      public static final int FUNCTION_VALUE
       equivalent to SQLDataException
       - Casting errors
       - function not found for incoming types after implicit casting
       - Flatten misuse
       
      FUNCTION = 3;
      See Also:
    • PARSE_VALUE

      public static final int PARSE_VALUE
       equivalent to SQLSyntaxErrorException
       - typos
       - missing table
       - SQL keyword misuse
       - function names/resolution
       
      PARSE = 4;
      See Also:
    • PERMISSION_VALUE

      public static final int PERMISSION_VALUE
       equivalent to SQLInvalidAuthorizationSpecException
       
      PERMISSION = 5;
      See Also:
    • PLAN_VALUE

      public static final int PLAN_VALUE
       equivalent to SQLNonTransientException
       
      PLAN = 6;
      See Also:
    • RESOURCE_VALUE

      public static final int RESOURCE_VALUE
       equivalent to SQLRecoverableException or SQLTransientException
       - Recoverable: memory, disk
       - Transient: network
       
      RESOURCE = 7;
      See Also:
    • SYSTEM_VALUE

      public static final int SYSTEM_VALUE
       equivalent to SQLNonTransientException.
       - unexpected internal state
       - uncategorized operation
       general user action is to contact the Drill team for
       assistance
       
      SYSTEM = 8;
      See Also:
    • UNSUPPORTED_OPERATION_VALUE

      public static final int UNSUPPORTED_OPERATION_VALUE
       equivalent to SQLFeatureNotSupportedException
       - unimplemented feature, option, or execution path
       - schema change in operator that does not support it
       
      UNSUPPORTED_OPERATION = 9;
      See Also:
    • VALIDATION_VALUE

      public static final int VALIDATION_VALUE
       SQL validation exception
       - invalid schema path
       - invalid entries in SQL tree
       
      VALIDATION = 10;
      See Also:
    • EXECUTION_ERROR_VALUE

      public static final int EXECUTION_ERROR_VALUE
       Execution exception
        - Internal errors not related to bad code
       
      EXECUTION_ERROR = 11;
      See Also:
    • INTERNAL_ERROR_VALUE

      public static final int INTERNAL_ERROR_VALUE
       Internal exception
        - Failed assertions
        - Other "this should not happen" cases
       
      INTERNAL_ERROR = 12;
      See Also:
    • UNSPECIFIED_ERROR_VALUE

      public static final int UNSPECIFIED_ERROR_VALUE
       Unspecified exception
        - Exception caught but cause is unknown
       Indicates code that needs revisiting to move error reporting
       closer to the cause.
       
      UNSPECIFIED_ERROR = 13;
      See Also:
    • PLUGIN_VALUE

      public static final int PLUGIN_VALUE
       Plugin exception
       - A failure has occurred within a plugin.
       Indicates that a plugin is misconfigured or contains a bug.
       
      PLUGIN = 14;
      See Also:
  • Method Details

    • values

      public static UserBitShared.DrillPBError.ErrorType[] 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

      public static UserBitShared.DrillPBError.ErrorType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UserBitShared.DrillPBError.ErrorType valueOf(int value)
      Deprecated.
      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:
      value - 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static UserBitShared.DrillPBError.ErrorType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.DrillPBError.ErrorType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static UserBitShared.DrillPBError.ErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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 name
      NullPointerException - if the argument is null