public static enum UserBitShared.DrillPBError.ErrorType extends Enum<UserBitShared.DrillPBError.ErrorType> implements com.google.protobuf.ProtocolMessageEnum
exec.shared.DrillPBError.ErrorType
Enum Constant and Description |
---|
CONNECTION
equivalent to SQLClientInfoException
- handshake version error
- invalid schema
|
DATA_READ
equivalent to SQLRecoverableException
- corrupt files: can't be read.
|
DATA_WRITE
equivalent to SQLDataException
- data type unsupported by format
|
EXECUTION_ERROR
Execution exception
- Internal errors not related to bad code
|
FUNCTION
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse
|
INTERNAL_ERROR
Internal exception
- Failed assertions
- Other "this should not happen" cases
|
PARSE
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution
|
PERMISSION
equivalent to SQLInvalidAuthorizationSpecException
|
PLAN
equivalent to SQLNonTransientException
|
RESOURCE
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network
|
SYSTEM
equivalent to SQLNonTransientException.
|
UNSPECIFIED_ERROR
Unspecified exception
- Exception caught but cause is unknown
Indicates code that needs revisiting to move error reporting
closer to the cause.
|
UNSUPPORTED_OPERATION
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it
|
VALIDATION
SQL validation exception
- invalid schema path
- invalid entries in SQL tree
|
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION_VALUE
equivalent to SQLClientInfoException
- handshake version error
- invalid schema
|
static int |
DATA_READ_VALUE
equivalent to SQLRecoverableException
- corrupt files: can't be read.
|
static int |
DATA_WRITE_VALUE
equivalent to SQLDataException
- data type unsupported by format
|
static int |
EXECUTION_ERROR_VALUE
Execution exception
- Internal errors not related to bad code
|
static int |
FUNCTION_VALUE
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse
|
static int |
INTERNAL_ERROR_VALUE
Internal exception
- Failed assertions
- Other "this should not happen" cases
|
static int |
PARSE_VALUE
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution
|
static int |
PERMISSION_VALUE
equivalent to SQLInvalidAuthorizationSpecException
|
static int |
PLAN_VALUE
equivalent to SQLNonTransientException
|
static int |
RESOURCE_VALUE
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network
|
static int |
SYSTEM_VALUE
equivalent to SQLNonTransientException.
|
static 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.
|
static int |
UNSUPPORTED_OPERATION_VALUE
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it
|
static int |
VALIDATION_VALUE
SQL validation exception
- invalid schema path
- invalid entries in SQL tree
|
Modifier and Type | Method and Description |
---|---|
static UserBitShared.DrillPBError.ErrorType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.DrillPBError.ErrorType> |
internalGetValueMap() |
static UserBitShared.DrillPBError.ErrorType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserBitShared.DrillPBError.ErrorType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserBitShared.DrillPBError.ErrorType |
valueOf(String 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.
|
public static final UserBitShared.DrillPBError.ErrorType CONNECTION
equivalent to SQLClientInfoException - handshake version error - invalid schema
CONNECTION = 0;
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;
public static final UserBitShared.DrillPBError.ErrorType DATA_WRITE
equivalent to SQLDataException - data type unsupported by format
DATA_WRITE = 2;
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;
public static final UserBitShared.DrillPBError.ErrorType PARSE
equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
PARSE = 4;
public static final UserBitShared.DrillPBError.ErrorType PERMISSION
equivalent to SQLInvalidAuthorizationSpecException
PERMISSION = 5;
public static final UserBitShared.DrillPBError.ErrorType PLAN
equivalent to SQLNonTransientException
PLAN = 6;
public static final UserBitShared.DrillPBError.ErrorType RESOURCE
equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
RESOURCE = 7;
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;
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;
public static final UserBitShared.DrillPBError.ErrorType VALIDATION
SQL validation exception - invalid schema path - invalid entries in SQL tree
VALIDATION = 10;
public static final UserBitShared.DrillPBError.ErrorType EXECUTION_ERROR
Execution exception - Internal errors not related to bad code
EXECUTION_ERROR = 11;
public static final UserBitShared.DrillPBError.ErrorType INTERNAL_ERROR
Internal exception - Failed assertions - Other "this should not happen" cases
INTERNAL_ERROR = 12;
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;
public static final int CONNECTION_VALUE
equivalent to SQLClientInfoException - handshake version error - invalid schema
CONNECTION = 0;
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;
public static final int DATA_WRITE_VALUE
equivalent to SQLDataException - data type unsupported by format
DATA_WRITE = 2;
public static final int FUNCTION_VALUE
equivalent to SQLDataException - Casting errors - function not found for incoming types after implicit casting - Flatten misuse
FUNCTION = 3;
public static final int PARSE_VALUE
equivalent to SQLSyntaxErrorException - typos - missing table - SQL keyword misuse - function names/resolution
PARSE = 4;
public static final int PERMISSION_VALUE
equivalent to SQLInvalidAuthorizationSpecException
PERMISSION = 5;
public static final int PLAN_VALUE
equivalent to SQLNonTransientException
PLAN = 6;
public static final int RESOURCE_VALUE
equivalent to SQLRecoverableException or SQLTransientException - Recoverable: memory, disk - Transient: network
RESOURCE = 7;
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;
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;
public static final int VALIDATION_VALUE
SQL validation exception - invalid schema path - invalid entries in SQL tree
VALIDATION = 10;
public static final int EXECUTION_ERROR_VALUE
Execution exception - Internal errors not related to bad code
EXECUTION_ERROR = 11;
public static final int INTERNAL_ERROR_VALUE
Internal exception - Failed assertions - Other "this should not happen" cases
INTERNAL_ERROR = 12;
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;
public static UserBitShared.DrillPBError.ErrorType[] values()
for (UserBitShared.DrillPBError.ErrorType c : UserBitShared.DrillPBError.ErrorType.values()) System.out.println(c);
public static UserBitShared.DrillPBError.ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static UserBitShared.DrillPBError.ErrorType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserBitShared.DrillPBError.ErrorType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.DrillPBError.ErrorType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserBitShared.DrillPBError.ErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 1970 The Apache Software Foundation. All rights reserved.