Package org.apache.drill.exec.proto
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 ConstantsEnum ConstantDescriptionequivalent to SQLClientInfoException - handshake version error - invalid schemaequivalent to SQLRecoverableException - corrupt files: can't be read.equivalent to SQLDataException - data type unsupported by formatExecution exception - Internal errors not related to bad codeequivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misuseInternal exception - Failed assertions - Other "this should not happen" casesequivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolutionequivalent to SQLInvalidAuthorizationSpecExceptionequivalent to SQLNonTransientExceptionPlugin exception - A failure has occurred within a plugin.equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: networkequivalent 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 itSQL validation exception - invalid schema path - invalid entries in SQL tree -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
equivalent to SQLClientInfoException - handshake version error - invalid schemastatic final int
equivalent to SQLRecoverableException - corrupt files: can't be read.static final int
equivalent to SQLDataException - data type unsupported by formatstatic final int
Execution exception - Internal errors not related to bad codestatic final int
equivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misusestatic final int
Internal exception - Failed assertions - Other "this should not happen" casesstatic final int
equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolutionstatic final int
equivalent to SQLInvalidAuthorizationSpecExceptionstatic final int
equivalent to SQLNonTransientExceptionstatic final int
Plugin exception - A failure has occurred within a plugin.static final int
equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: networkstatic 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 itstatic final int
SQL validation exception - invalid schema path - invalid entries in SQL tree -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(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.static UserBitShared.DrillPBError.ErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONNECTION
equivalent to SQLClientInfoException - handshake version error - invalid schema
CONNECTION = 0;
-
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
equivalent to SQLDataException - data type unsupported by format
DATA_WRITE = 2;
-
FUNCTION
equivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misuse
FUNCTION = 3;
-
PARSE
equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
PARSE = 4;
-
PERMISSION
equivalent to SQLInvalidAuthorizationSpecException
PERMISSION = 5;
-
PLAN
equivalent to SQLNonTransientException
PLAN = 6;
-
RESOURCE
equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
RESOURCE = 7;
-
SYSTEM
equivalent to SQLNonTransientException. - unexpected internal state - uncategorized operation general user action is to contact the Drill team for assistance
SYSTEM = 8;
-
UNSUPPORTED_OPERATION
equivalent to SQLFeatureNotSupportedException - unimplemented feature, option, or execution path - schema change in operator that does not support it
UNSUPPORTED_OPERATION = 9;
-
VALIDATION
SQL validation exception - invalid schema path - invalid entries in SQL tree
VALIDATION = 10;
-
EXECUTION_ERROR
Execution exception - Internal errors not related to bad code
EXECUTION_ERROR = 11;
-
INTERNAL_ERROR
Internal exception - Failed assertions - Other "this should not happen" cases
INTERNAL_ERROR = 12;
-
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
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_VALUEequivalent to SQLClientInfoException - handshake version error - invalid schema
CONNECTION = 0;
- See Also:
-
DATA_READ_VALUE
public static final int DATA_READ_VALUEequivalent 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_VALUEequivalent to SQLDataException - data type unsupported by format
DATA_WRITE = 2;
- See Also:
-
FUNCTION_VALUE
public static final int FUNCTION_VALUEequivalent 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_VALUEequivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
PARSE = 4;
- See Also:
-
PERMISSION_VALUE
public static final int PERMISSION_VALUEequivalent to SQLInvalidAuthorizationSpecException
PERMISSION = 5;
- See Also:
-
PLAN_VALUE
public static final int PLAN_VALUEequivalent to SQLNonTransientException
PLAN = 6;
- See Also:
-
RESOURCE_VALUE
public static final int RESOURCE_VALUEequivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
RESOURCE = 7;
- See Also:
-
SYSTEM_VALUE
public static final int SYSTEM_VALUEequivalent 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_VALUEequivalent 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_VALUESQL validation exception - invalid schema path - invalid entries in SQL tree
VALIDATION = 10;
- See Also:
-
EXECUTION_ERROR_VALUE
public static final int EXECUTION_ERROR_VALUEExecution exception - Internal errors not related to bad code
EXECUTION_ERROR = 11;
- See Also:
-
INTERNAL_ERROR_VALUE
public static final int INTERNAL_ERROR_VALUEInternal exception - Failed assertions - Other "this should not happen" cases
INTERNAL_ERROR = 12;
- See Also:
-
UNSPECIFIED_ERROR_VALUE
public static final int UNSPECIFIED_ERROR_VALUEUnspecified 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_VALUEPlugin 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
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
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-