|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ErrorMsg>
org.apache.hadoop.hive.ql.parse.ErrorMsg
public enum ErrorMsg
List of error messages thrown by the parser.
Method Summary | |
---|---|
static String |
findSQLState(String mesg)
For a given error message string, searches for a ErrorMsg enum
that appears to be a match. |
String |
getMsg()
|
String |
getMsg(ASTNode tree)
|
String |
getMsg(String reason)
|
String |
getSQLState()
|
static void |
renderOrigin(StringBuilder sb,
ASTNodeOrigin origin)
|
static ErrorMsg |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ErrorMsg[] |
values()
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 Detail |
---|
public static final ErrorMsg GENERIC_ERROR
public static final ErrorMsg INVALID_TABLE
public static final ErrorMsg INVALID_COLUMN
public static final ErrorMsg INVALID_TABLE_OR_COLUMN
public static final ErrorMsg AMBIGUOUS_TABLE_OR_COLUMN
public static final ErrorMsg INVALID_PARTITION
public static final ErrorMsg AMBIGUOUS_COLUMN
public static final ErrorMsg AMBIGUOUS_TABLE_ALIAS
public static final ErrorMsg INVALID_TABLE_ALIAS
public static final ErrorMsg NO_TABLE_ALIAS
public static final ErrorMsg INVALID_FUNCTION
public static final ErrorMsg INVALID_FUNCTION_SIGNATURE
public static final ErrorMsg INVALID_OPERATOR_SIGNATURE
public static final ErrorMsg INVALID_ARGUMENT
public static final ErrorMsg INVALID_ARGUMENT_LENGTH
public static final ErrorMsg INVALID_ARGUMENT_TYPE
public static final ErrorMsg INVALID_JOIN_CONDITION_1
public static final ErrorMsg INVALID_JOIN_CONDITION_2
public static final ErrorMsg INVALID_JOIN_CONDITION_3
public static final ErrorMsg INVALID_TRANSFORM
public static final ErrorMsg DUPLICATE_GROUPBY_KEY
public static final ErrorMsg UNSUPPORTED_MULTIPLE_DISTINCTS
public static final ErrorMsg NO_SUBQUERY_ALIAS
public static final ErrorMsg NO_INSERT_INSUBQUERY
public static final ErrorMsg NON_KEY_EXPR_IN_GROUPBY
public static final ErrorMsg INVALID_XPATH
public static final ErrorMsg INVALID_PATH
public static final ErrorMsg ILLEGAL_PATH
public static final ErrorMsg INVALID_NUMERICAL_CONSTANT
public static final ErrorMsg INVALID_ARRAYINDEX_CONSTANT
public static final ErrorMsg INVALID_MAPINDEX_CONSTANT
public static final ErrorMsg INVALID_MAPINDEX_TYPE
public static final ErrorMsg NON_COLLECTION_TYPE
public static final ErrorMsg SELECT_DISTINCT_WITH_GROUPBY
public static final ErrorMsg COLUMN_REPEATED_IN_PARTITIONING_COLS
public static final ErrorMsg DUPLICATE_COLUMN_NAMES
public static final ErrorMsg INVALID_BUCKET_NUMBER
public static final ErrorMsg COLUMN_REPEATED_IN_CLUSTER_SORT
public static final ErrorMsg SAMPLE_RESTRICTION
public static final ErrorMsg SAMPLE_COLUMN_NOT_FOUND
public static final ErrorMsg NO_PARTITION_PREDICATE
public static final ErrorMsg INVALID_DOT
public static final ErrorMsg INVALID_TBL_DDL_SERDE
public static final ErrorMsg TARGET_TABLE_COLUMN_MISMATCH
public static final ErrorMsg TABLE_ALIAS_NOT_ALLOWED
public static final ErrorMsg CLUSTERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg ORDERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg CLUSTERBY_SORTBY_CONFLICT
public static final ErrorMsg ORDERBY_SORTBY_CONFLICT
public static final ErrorMsg CLUSTERBY_ORDERBY_CONFLICT
public static final ErrorMsg NO_LIMIT_WITH_ORDERBY
public static final ErrorMsg NO_CARTESIAN_PRODUCT
public static final ErrorMsg UNION_NOTIN_SUBQ
public static final ErrorMsg INVALID_INPUT_FORMAT_TYPE
public static final ErrorMsg INVALID_OUTPUT_FORMAT_TYPE
public static final ErrorMsg NO_VALID_PARTN
public static final ErrorMsg NO_OUTER_MAPJOIN
public static final ErrorMsg INVALID_MAPJOIN_HINT
public static final ErrorMsg INVALID_MAPJOIN_TABLE
public static final ErrorMsg NON_BUCKETED_TABLE
public static final ErrorMsg BUCKETED_NUMBERATOR_BIGGER_DENOMINATOR
public static final ErrorMsg NEED_PARTITION_ERROR
public static final ErrorMsg CTAS_CTLT_COEXISTENCE
public static final ErrorMsg LINES_TERMINATED_BY_NON_NEWLINE
public static final ErrorMsg CTAS_COLLST_COEXISTENCE
public static final ErrorMsg CTLT_COLLST_COEXISTENCE
public static final ErrorMsg INVALID_SELECT_SCHEMA
public static final ErrorMsg CTAS_PARCOL_COEXISTENCE
public static final ErrorMsg CTAS_MULTI_LOADFILE
public static final ErrorMsg CTAS_EXTTBL_COEXISTENCE
public static final ErrorMsg TABLE_ALREADY_EXISTS
public static final ErrorMsg COLUMN_ALIAS_ALREADY_EXISTS
public static final ErrorMsg UDTF_MULTIPLE_EXPR
public static final ErrorMsg UDTF_REQUIRE_AS
public static final ErrorMsg UDTF_NO_GROUP_BY
public static final ErrorMsg UDTF_NO_SORT_BY
public static final ErrorMsg UDTF_NO_CLUSTER_BY
public static final ErrorMsg UDTF_NO_DISTRIBUTE_BY
public static final ErrorMsg UDTF_INVALID_LOCATION
public static final ErrorMsg UDTF_LATERAL_VIEW
public static final ErrorMsg UDTF_ALIAS_MISMATCH
public static final ErrorMsg LATERAL_VIEW_WITH_JOIN
public static final ErrorMsg LATERAL_VIEW_INVALID_CHILD
public static final ErrorMsg OUTPUT_SPECIFIED_MULTIPLE_TIMES
public static final ErrorMsg INVALID_AS
public static final ErrorMsg VIEW_COL_MISMATCH
public static final ErrorMsg DML_AGAINST_VIEW
public static final ErrorMsg PARTITION_DYN_STA_ORDER
public static final ErrorMsg DYNAMIC_PARTITION_DISABLED
public static final ErrorMsg DYNAMIC_PARTITION_STRICT_MODE
public static final ErrorMsg DYNAMIC_PARTITION_MERGE
public static final ErrorMsg NONEXISTPARTCOL
public static final ErrorMsg UNSUPPORTED_TYPE
public static final ErrorMsg CREATE_NON_NATIVE_AS
public static final ErrorMsg LOAD_INTO_NON_NATIVE
public static final ErrorMsg OVERWRITE_ARCHIVED_PART
public static final ErrorMsg ARCHIVE_METHODS_DISABLED
public static final ErrorMsg ARCHIVE_ON_MULI_PARTS
public static final ErrorMsg UNARCHIVE_ON_MULI_PARTS
public static final ErrorMsg ARCHIVE_ON_TABLE
public static final ErrorMsg RESERVED_PART_VAL
Method Detail |
---|
public static ErrorMsg[] values()
for (ErrorMsg c : ErrorMsg.values()) System.out.println(c);
public static ErrorMsg valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static String findSQLState(String mesg)
ErrorMsg
enum
that appears to be a match. If an match is found, returns the
SQLState
associated with the ErrorMsg
. If a match
is not found or ErrorMsg
has no SQLState
, returns
the SQLState
bound to the GENERIC_ERROR
ErrorMsg
.
mesg
- An error message string
public String getMsg(ASTNode tree)
public static void renderOrigin(StringBuilder sb, ASTNodeOrigin origin)
public String getMsg(String reason)
public String getMsg()
public String getSQLState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |