Class ErrorGroups.Sql

java.lang.Object
org.apache.ignite.lang.ErrorGroups.Sql
Enclosing class:
ErrorGroups

public static class ErrorGroups.Sql extends Object
SQL error group.
  • Field Details

    • SQL_ERR_GROUP

      public static final ErrorGroup SQL_ERR_GROUP
      SQL error group.
    • QUERY_NO_RESULT_SET_ERR

      public static final int QUERY_NO_RESULT_SET_ERR
      Query without a result set error.
    • SCHEMA_NOT_FOUND_ERR

      public static final int SCHEMA_NOT_FOUND_ERR
      Schema not found.
    • STMT_PARSE_ERR

      public static final int STMT_PARSE_ERR
      Statement parsing error. This error is returned when an SQL statement string is not valid according to syntax rules.
    • STMT_VALIDATION_ERR

      public static final int STMT_VALIDATION_ERR
      Statement validation error. Although statement is grammatically correct, the semantic is in question. This error may appear in following cases:
      • the statement refer to relation that doesn't exists.
      • the statement describes action that is prohibited by the system, like changing columns belonging to primary keys.
      • the statement contains operation that is not defined for given operands' types, like addition of DATE and DECIMAL.
      • etc

      See message for details.

    • CONSTRAINT_VIOLATION_ERR

      public static final int CONSTRAINT_VIOLATION_ERR
      Constraint violation error such as primary key violation.
    • EXECUTION_CANCELLED_ERR

      public static final int EXECUTION_CANCELLED_ERR
      Statement canceled error. Statement is canceled due to timeout, admin action, etc.
    • RUNTIME_ERR

      public static final int RUNTIME_ERR
      Runtime error. Errors caused by programming errors in SQL statement itself, such errors happen during statement execution:
      • Numeric overflow errors.
      • Type conversion errors such as SELECT CAST('abc' AS INTEGER).
      • Function execution errors.
    • MAPPING_ERR

      public static final int MAPPING_ERR
      SQL engine was unable to map query on current cluster topology.

      This may be due to a variety of reasons, but most probably because of all nodes hosting certain system view or a table partition went offline.

      See error message for details.

    • TX_CONTROL_INSIDE_EXTERNAL_TX_ERR

      public static final int TX_CONTROL_INSIDE_EXTERNAL_TX_ERR
      Execution of transaction control statement inside an external transaction is forbidden.
  • Constructor Details

    • Sql

      public Sql()