org.apache.hadoop.hive.ql.parse
Enum ErrorMsg
java.lang.Object
java.lang.Enum<ErrorMsg>
org.apache.hadoop.hive.ql.parse.ErrorMsg
- All Implemented Interfaces:
- Serializable, Comparable<ErrorMsg>
public enum ErrorMsg
- extends Enum<ErrorMsg>
List of error messages thrown by the parser
GENERIC_ERROR
public static final ErrorMsg GENERIC_ERROR
INVALID_TABLE
public static final ErrorMsg INVALID_TABLE
INVALID_COLUMN
public static final ErrorMsg INVALID_COLUMN
INVALID_TABLE_OR_COLUMN
public static final ErrorMsg INVALID_TABLE_OR_COLUMN
AMBIGUOUS_TABLE_OR_COLUMN
public static final ErrorMsg AMBIGUOUS_TABLE_OR_COLUMN
INVALID_PARTITION
public static final ErrorMsg INVALID_PARTITION
AMBIGUOUS_COLUMN
public static final ErrorMsg AMBIGUOUS_COLUMN
AMBIGUOUS_TABLE_ALIAS
public static final ErrorMsg AMBIGUOUS_TABLE_ALIAS
INVALID_TABLE_ALIAS
public static final ErrorMsg INVALID_TABLE_ALIAS
NO_TABLE_ALIAS
public static final ErrorMsg NO_TABLE_ALIAS
INVALID_FUNCTION
public static final ErrorMsg INVALID_FUNCTION
INVALID_FUNCTION_SIGNATURE
public static final ErrorMsg INVALID_FUNCTION_SIGNATURE
INVALID_OPERATOR_SIGNATURE
public static final ErrorMsg INVALID_OPERATOR_SIGNATURE
INVALID_ARGUMENT
public static final ErrorMsg INVALID_ARGUMENT
INVALID_ARGUMENT_LENGTH
public static final ErrorMsg INVALID_ARGUMENT_LENGTH
INVALID_ARGUMENT_TYPE
public static final ErrorMsg INVALID_ARGUMENT_TYPE
INVALID_JOIN_CONDITION_1
public static final ErrorMsg INVALID_JOIN_CONDITION_1
INVALID_JOIN_CONDITION_2
public static final ErrorMsg INVALID_JOIN_CONDITION_2
INVALID_JOIN_CONDITION_3
public static final ErrorMsg INVALID_JOIN_CONDITION_3
INVALID_TRANSFORM
public static final ErrorMsg INVALID_TRANSFORM
DUPLICATE_GROUPBY_KEY
public static final ErrorMsg DUPLICATE_GROUPBY_KEY
UNSUPPORTED_MULTIPLE_DISTINCTS
public static final ErrorMsg UNSUPPORTED_MULTIPLE_DISTINCTS
NO_SUBQUERY_ALIAS
public static final ErrorMsg NO_SUBQUERY_ALIAS
NO_INSERT_INSUBQUERY
public static final ErrorMsg NO_INSERT_INSUBQUERY
NON_KEY_EXPR_IN_GROUPBY
public static final ErrorMsg NON_KEY_EXPR_IN_GROUPBY
INVALID_XPATH
public static final ErrorMsg INVALID_XPATH
INVALID_PATH
public static final ErrorMsg INVALID_PATH
ILLEGAL_PATH
public static final ErrorMsg ILLEGAL_PATH
INVALID_NUMERICAL_CONSTANT
public static final ErrorMsg INVALID_NUMERICAL_CONSTANT
INVALID_ARRAYINDEX_CONSTANT
public static final ErrorMsg INVALID_ARRAYINDEX_CONSTANT
INVALID_MAPINDEX_CONSTANT
public static final ErrorMsg INVALID_MAPINDEX_CONSTANT
INVALID_MAPINDEX_TYPE
public static final ErrorMsg INVALID_MAPINDEX_TYPE
NON_COLLECTION_TYPE
public static final ErrorMsg NON_COLLECTION_TYPE
SELECT_DISTINCT_WITH_GROUPBY
public static final ErrorMsg SELECT_DISTINCT_WITH_GROUPBY
COLUMN_REPEATED_IN_PARTITIONING_COLS
public static final ErrorMsg COLUMN_REPEATED_IN_PARTITIONING_COLS
DUPLICATE_COLUMN_NAMES
public static final ErrorMsg DUPLICATE_COLUMN_NAMES
COLUMN_REPEATED_IN_CLUSTER_SORT
public static final ErrorMsg COLUMN_REPEATED_IN_CLUSTER_SORT
SAMPLE_RESTRICTION
public static final ErrorMsg SAMPLE_RESTRICTION
SAMPLE_COLUMN_NOT_FOUND
public static final ErrorMsg SAMPLE_COLUMN_NOT_FOUND
NO_PARTITION_PREDICATE
public static final ErrorMsg NO_PARTITION_PREDICATE
INVALID_DOT
public static final ErrorMsg INVALID_DOT
INVALID_TBL_DDL_SERDE
public static final ErrorMsg INVALID_TBL_DDL_SERDE
TARGET_TABLE_COLUMN_MISMATCH
public static final ErrorMsg TARGET_TABLE_COLUMN_MISMATCH
TABLE_ALIAS_NOT_ALLOWED
public static final ErrorMsg TABLE_ALIAS_NOT_ALLOWED
CLUSTERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg CLUSTERBY_DISTRIBUTEBY_CONFLICT
ORDERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg ORDERBY_DISTRIBUTEBY_CONFLICT
CLUSTERBY_SORTBY_CONFLICT
public static final ErrorMsg CLUSTERBY_SORTBY_CONFLICT
ORDERBY_SORTBY_CONFLICT
public static final ErrorMsg ORDERBY_SORTBY_CONFLICT
CLUSTERBY_ORDERBY_CONFLICT
public static final ErrorMsg CLUSTERBY_ORDERBY_CONFLICT
NO_LIMIT_WITH_ORDERBY
public static final ErrorMsg NO_LIMIT_WITH_ORDERBY
NO_CARTESIAN_PRODUCT
public static final ErrorMsg NO_CARTESIAN_PRODUCT
UNION_NOTIN_SUBQ
public static final ErrorMsg UNION_NOTIN_SUBQ
INVALID_INPUT_FORMAT_TYPE
public static final ErrorMsg INVALID_INPUT_FORMAT_TYPE
INVALID_OUTPUT_FORMAT_TYPE
public static final ErrorMsg INVALID_OUTPUT_FORMAT_TYPE
NO_VALID_PARTN
public static final ErrorMsg NO_VALID_PARTN
NO_OUTER_MAPJOIN
public static final ErrorMsg NO_OUTER_MAPJOIN
INVALID_MAPJOIN_HINT
public static final ErrorMsg INVALID_MAPJOIN_HINT
INVALID_MAPJOIN_TABLE
public static final ErrorMsg INVALID_MAPJOIN_TABLE
NON_BUCKETED_TABLE
public static final ErrorMsg NON_BUCKETED_TABLE
NEED_PARTITION_ERROR
public static final ErrorMsg NEED_PARTITION_ERROR
values
public static ErrorMsg[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ErrorMsg c : ErrorMsg.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ErrorMsg 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
getMsg
public String getMsg(ASTNode tree)
getMsg
public String getMsg(String reason)
getMsg
public String getMsg()
Copyright © 2009 The Apache Software Foundation