Class QueryException


  • public class QueryException
    extends Object
    • Field Detail

      • JSON_PARSING_ERROR_CODE

        public static final int JSON_PARSING_ERROR_CODE
        See Also:
        Constant Field Values
      • JSON_COMPILATION_ERROR_CODE

        public static final int JSON_COMPILATION_ERROR_CODE
        See Also:
        Constant Field Values
      • SEGMENT_PLAN_EXECUTION_ERROR_CODE

        public static final int SEGMENT_PLAN_EXECUTION_ERROR_CODE
        See Also:
        Constant Field Values
      • COMBINE_SEGMENT_PLAN_TIMEOUT_ERROR_CODE

        public static final int COMBINE_SEGMENT_PLAN_TIMEOUT_ERROR_CODE
        See Also:
        Constant Field Values
      • ACCESS_DENIED_ERROR_CODE

        public static final int ACCESS_DENIED_ERROR_CODE
        See Also:
        Constant Field Values
      • TABLE_DOES_NOT_EXIST_ERROR_CODE

        public static final int TABLE_DOES_NOT_EXIST_ERROR_CODE
        See Also:
        Constant Field Values
      • QUERY_EXECUTION_ERROR_CODE

        public static final int QUERY_EXECUTION_ERROR_CODE
        See Also:
        Constant Field Values
      • QUERY_CANCELLATION_ERROR_CODE

        public static final int QUERY_CANCELLATION_ERROR_CODE
        See Also:
        Constant Field Values
      • SERVER_SHUTTING_DOWN_ERROR_CODE

        public static final int SERVER_SHUTTING_DOWN_ERROR_CODE
        See Also:
        Constant Field Values
      • SERVER_OUT_OF_CAPACITY_ERROR_CODE

        public static final int SERVER_OUT_OF_CAPACITY_ERROR_CODE
        See Also:
        Constant Field Values
      • SERVER_TABLE_MISSING_ERROR_CODE

        public static final int SERVER_TABLE_MISSING_ERROR_CODE
        See Also:
        Constant Field Values
      • SERVER_SEGMENT_MISSING_ERROR_CODE

        public static final int SERVER_SEGMENT_MISSING_ERROR_CODE
        See Also:
        Constant Field Values
      • QUERY_SCHEDULING_TIMEOUT_ERROR_CODE

        public static final int QUERY_SCHEDULING_TIMEOUT_ERROR_CODE
        See Also:
        Constant Field Values
      • EXECUTION_TIMEOUT_ERROR_CODE

        public static final int EXECUTION_TIMEOUT_ERROR_CODE
        See Also:
        Constant Field Values
      • DATA_TABLE_SERIALIZATION_ERROR_CODE

        public static final int DATA_TABLE_SERIALIZATION_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_GATHER_ERROR_CODE

        public static final int BROKER_GATHER_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_SEGMENT_UNAVAILABLE_ERROR_CODE

        public static final int BROKER_SEGMENT_UNAVAILABLE_ERROR_CODE
        See Also:
        Constant Field Values
      • DATA_TABLE_DESERIALIZATION_ERROR_CODE

        public static final int DATA_TABLE_DESERIALIZATION_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_TIMEOUT_ERROR_CODE

        public static final int BROKER_TIMEOUT_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_RESOURCE_MISSING_ERROR_CODE

        public static final int BROKER_RESOURCE_MISSING_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_INSTANCE_MISSING_ERROR_CODE

        public static final int BROKER_INSTANCE_MISSING_ERROR_CODE
        See Also:
        Constant Field Values
      • BROKER_REQUEST_SEND_ERROR_CODE

        public static final int BROKER_REQUEST_SEND_ERROR_CODE
        See Also:
        Constant Field Values
      • SERVER_NOT_RESPONDING_ERROR_CODE

        public static final int SERVER_NOT_RESPONDING_ERROR_CODE
        See Also:
        Constant Field Values
      • TOO_MANY_REQUESTS_ERROR_CODE

        public static final int TOO_MANY_REQUESTS_ERROR_CODE
        See Also:
        Constant Field Values
      • MERGE_RESPONSE_ERROR_CODE

        public static final int MERGE_RESPONSE_ERROR_CODE
        See Also:
        Constant Field Values
      • FEDERATED_BROKER_UNAVAILABLE_ERROR_CODE

        public static final int FEDERATED_BROKER_UNAVAILABLE_ERROR_CODE
        See Also:
        Constant Field Values
      • COMBINE_GROUP_BY_EXCEPTION_ERROR_CODE

        public static final int COMBINE_GROUP_BY_EXCEPTION_ERROR_CODE
        See Also:
        Constant Field Values
      • QUERY_VALIDATION_ERROR_CODE

        public static final int QUERY_VALIDATION_ERROR_CODE
        See Also:
        Constant Field Values
      • UNKNOWN_COLUMN_ERROR_CODE

        public static final int UNKNOWN_COLUMN_ERROR_CODE
        See Also:
        Constant Field Values
      • SEGMENT_PLAN_EXECUTION_ERROR

        public static final ProcessingException SEGMENT_PLAN_EXECUTION_ERROR
      • COMBINE_SEGMENT_PLAN_TIMEOUT_ERROR

        public static final ProcessingException COMBINE_SEGMENT_PLAN_TIMEOUT_ERROR
      • TABLE_DOES_NOT_EXIST_ERROR

        public static final ProcessingException TABLE_DOES_NOT_EXIST_ERROR
      • SERVER_SCHEDULER_DOWN_ERROR

        public static final ProcessingException SERVER_SCHEDULER_DOWN_ERROR
      • SERVER_OUT_OF_CAPACITY_ERROR

        public static final ProcessingException SERVER_OUT_OF_CAPACITY_ERROR
      • SERVER_TABLE_MISSING_ERROR

        public static final ProcessingException SERVER_TABLE_MISSING_ERROR
      • SERVER_SEGMENT_MISSING_ERROR

        public static final ProcessingException SERVER_SEGMENT_MISSING_ERROR
      • QUERY_SCHEDULING_TIMEOUT_ERROR

        public static final ProcessingException QUERY_SCHEDULING_TIMEOUT_ERROR
      • DATA_TABLE_SERIALIZATION_ERROR

        public static final ProcessingException DATA_TABLE_SERIALIZATION_ERROR
      • DATA_TABLE_DESERIALIZATION_ERROR

        public static final ProcessingException DATA_TABLE_DESERIALIZATION_ERROR
      • BROKER_SEGMENT_UNAVAILABLE_ERROR

        public static final ProcessingException BROKER_SEGMENT_UNAVAILABLE_ERROR
      • BROKER_RESOURCE_MISSING_ERROR

        public static final ProcessingException BROKER_RESOURCE_MISSING_ERROR
      • BROKER_INSTANCE_MISSING_ERROR

        public static final ProcessingException BROKER_INSTANCE_MISSING_ERROR
      • FEDERATED_BROKER_UNAVAILABLE_ERROR

        public static final ProcessingException FEDERATED_BROKER_UNAVAILABLE_ERROR
      • COMBINE_GROUP_BY_EXCEPTION_ERROR

        public static final ProcessingException COMBINE_GROUP_BY_EXCEPTION_ERROR
    • Method Detail

      • setMaxLinesOfStackTrace

        public static void setMaxLinesOfStackTrace​(int maxLinesOfStackTracePerFrame)
      • getTruncatedStackTrace

        public static String getTruncatedStackTrace​(Throwable t)
      • isClientError

        public static boolean isClientError​(int errorCode)
        Determines if a query-exception-error-code represents an error on the client side.
        Parameters:
        errorCode - the error code from processing the query
        Returns:
        whether the code indicates client error or not