Package org.apache.druid.sql
Class SqlPlanningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.druid.query.QueryException
org.apache.druid.query.BadQueryException
org.apache.druid.sql.SqlPlanningException
- All Implemented Interfaces:
Serializable,SanitizableException
An exception for SQL query planning failures.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.druid.query.QueryException
QueryException.FailType -
Field Summary
Fields inherited from class org.apache.druid.query.QueryException
BAD_QUERY_CONTEXT_ERROR_CODE, JSON_PARSE_ERROR_CODE, PLAN_VALIDATION_FAILED_ERROR_CODE, QUERY_CANCELED_ERROR_CODE, QUERY_CAPACITY_EXCEEDED_ERROR_CODE, QUERY_INTERRUPTED_ERROR_CODE, QUERY_TIMEOUT_ERROR_CODE, QUERY_UNSUPPORTED_ERROR_CODE, RESOURCE_LIMIT_EXCEEDED_ERROR_CODE, SQL_PARSE_FAILED_ERROR_CODE, SQL_QUERY_UNSUPPORTED_ERROR_CODE, TRUNCATED_RESPONSE_CONTEXT_ERROR_CODE, UNAUTHORIZED_ERROR_CODE, UNKNOWN_EXCEPTION_ERROR_CODE, UNSUPPORTED_OPERATION_ERROR_CODE -
Constructor Summary
ConstructorsConstructorDescriptionSqlPlanningException(Throwable cause, SqlPlanningException.PlanningError planningError, String errorMessage) SqlPlanningException(org.apache.calcite.runtime.CalciteContextException e) SqlPlanningException(org.apache.calcite.sql.parser.SqlParseException e) SqlPlanningException(org.apache.calcite.tools.ValidationException e) SqlPlanningException(SqlPlanningException.PlanningError planningError, String errorMessage) -
Method Summary
Methods inherited from class org.apache.druid.query.QueryException
fromErrorCode, getErrorClass, getErrorCode, getFailType, getHost, getMessage, resolveHostname, sanitize, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SqlPlanningException
public SqlPlanningException(org.apache.calcite.sql.parser.SqlParseException e) -
SqlPlanningException
public SqlPlanningException(org.apache.calcite.tools.ValidationException e) -
SqlPlanningException
public SqlPlanningException(org.apache.calcite.runtime.CalciteContextException e) -
SqlPlanningException
-
SqlPlanningException
public SqlPlanningException(Throwable cause, SqlPlanningException.PlanningError planningError, String errorMessage)
-