Documentation of 'org.hsqldb.result.ResultConstants' Java class
ResultConstants
org.hsqldb.result

Interface ResultConstants



  • public interface ResultConstants
    An enumeration of the request and response mode values used to communicate between the client and the engine when sending Result objects back and forth.
    Since:
    2.1.1
    • Field Detail

      • HSQL_API_BASE

        static final int HSQL_API_BASE
        The offset at which HSQLDB API Result mode values start.
        See Also:
        Constant Field Values
      • UPDATECOUNT

        static final int UPDATECOUNT
        Indicates that the Result object encapsulates an update count response.
        See Also:
        Constant Field Values
      • ERROR

        static final int ERROR
        Indicates that the Result object encapsualtes an error response.
        See Also:
        Constant Field Values
      • DATA

        static final int DATA
        Indicates that the Result object encapsulates a result set response containing data.
        See Also:
        Constant Field Values
      • PREPARE_ACK

        static final int PREPARE_ACK
        Indicates that the Result object encapsulates a response that communicates the acknowlegement of newly allocated Statement object in the form of its statementID and metadata
        See Also:
        Constant Field Values
      • SETSESSIONATTR

        static final int SETSESSIONATTR
        Indicates that the Result object encapsulates a result set for setting session attributes.
        See Also:
        Constant Field Values
      • GETSESSIONATTR

        static final int GETSESSIONATTR
        Indicates that the Result object encapsulates a request to get session attributes.
        See Also:
        Constant Field Values
      • BATCHEXECDIRECT

        static final int BATCHEXECDIRECT
        Indicates that the Result object encapsulates a batch of statements
        See Also:
        Constant Field Values
      • BATCHEXECUTE

        static final int BATCHEXECUTE
        Indicates that the Result object encapsulates a batch of prepared statement parameter values
        See Also:
        Constant Field Values
      • RESETSESSION

        static final int RESETSESSION
        Indicates that the Result object encapsulates a request to start a new internal session for the connection
        See Also:
        Constant Field Values
      • CONNECTACKNOWLEDGE

        static final int CONNECTACKNOWLEDGE
        Indicates that the Result object encapsulates a response to a connection attempt that was successful
        See Also:
        Constant Field Values
      • PREPARECOMMIT

        static final int PREPARECOMMIT
        Indicates that the Result object encapsulates a request to prepare to commit as the first phase of a two-phase commit
        See Also:
        Constant Field Values
      • REQUESTDATA

        static final int REQUESTDATA
        Indicates that the Result object encapsulates a request to return some rows of data
        See Also:
        Constant Field Values
      • DATAROWS

        static final int DATAROWS
        Indicates that the Result object encapsulates a set of data rows without metadata
        See Also:
        Constant Field Values
      • DATAHEAD

        static final int DATAHEAD
        Indicates that the Result object encapsulates a set of data rows with metadata
        See Also:
        Constant Field Values
      • BATCHEXECRESPONSE

        static final int BATCHEXECRESPONSE
        Indicates that the Result object encapsulates a set of update counts for a batch execution
        See Also:
        Constant Field Values
      • PARAM_METADATA

        static final int PARAM_METADATA
        Only for metadata, indicates that the metadata is for the parameters.
        See Also:
        Constant Field Values
      • LARGE_OBJECT_OP

        static final int LARGE_OBJECT_OP
        Common result type for all large object operations
        See Also:
        Constant Field Values
      • EXECUTE_INVALID

        static final int EXECUTE_INVALID
        attempt to execute invalid statement
        See Also:
        Constant Field Values
      • CONNECT

        static final int CONNECT
        Indicates that Result encapsulates a request to establish a connection.
        See Also:
        Constant Field Values
      • DISCONNECT

        static final int DISCONNECT
        Indicates that Result encapsulates a request to terminate an established connection.
        See Also:
        Constant Field Values
      • ENDTRAN

        static final int ENDTRAN
        Indicates that Result encapsulates a request to terminate an SQL-transaction.
        See Also:
        Constant Field Values
      • EXECDIRECT

        static final int EXECDIRECT
        Indicates that Result encapsulates a request to execute a statement directly.
        See Also:
        Constant Field Values
      • EXECUTE

        static final int EXECUTE
        Indicates that Result encapsulates a request to execute a prepared statement.
        See Also:
        Constant Field Values
      • FREESTMT

        static final int FREESTMT
        Indicates that Result encapsulates a request to deallocate an SQL-statement.
        See Also:
        Constant Field Values
      • PREPARE

        static final int PREPARE
        Indicates that Result encapsulates a request to prepare a statement.
        See Also:
        Constant Field Values
      • SETCONNECTATTR

        static final int SETCONNECTATTR
        Indicates that Result encapsulates a request to set the value of an SQL-connection attribute.
        See Also:
        Constant Field Values
      • STARTTRAN

        static final int STARTTRAN
        Indicates that Result encapsulates a request to explicitly start an SQL-transaction and set its characteristics.
        See Also:
        Constant Field Values
      • CLOSE_RESULT

        static final int CLOSE_RESULT
        Indicates that the Result encapsulates a request to close a result set
        See Also:
        Constant Field Values
      • UPDATE_RESULT

        static final int UPDATE_RESULT
        Indicates that the Result encapsulates a request to update or insert into a result set
        See Also:
        Constant Field Values
      • VALUE

        static final int VALUE
        Indicates that the Result encapsulates a simple value for internal use
        See Also:
        Constant Field Values
      • CALL_RESPONSE

        static final int CALL_RESPONSE
        Indicates that the Result encapsulates a response to a procedure call via CallableStatement
        See Also:
        Constant Field Values
      • CHANGE_SET

        static final int CHANGE_SET
        Indicates that the Result encapsulates a data change set
        See Also:
        Constant Field Values
      • MODE_UPPER_LIMIT

        static final int MODE_UPPER_LIMIT
        Constants above this limit are handled as non-HSQLDB results
        See Also:
        Constant Field Values
      • TX_SAVEPOINT_NAME_ROLLBACK

        static final int TX_SAVEPOINT_NAME_ROLLBACK
        See Also:
        Constant Field Values
      • SUCCESS_NO_INFO

        static final int SUCCESS_NO_INFO
        Batch item succeeded but does not generate an update count, for example a call having no return value
        See Also:
        Constant Field Values
      • RETURN_GENERATED_KEYS

        static final int RETURN_GENERATED_KEYS
        Constants indicating generated key return behaviour
        See Also:
        Constant Field Values
      • RETURN_GENERATED_KEYS_COL_NAMES

        static final int RETURN_GENERATED_KEYS_COL_NAMES
        See Also:
        Constant Field Values
      • RETURN_GENERATED_KEYS_COL_INDEXES

        static final int RETURN_GENERATED_KEYS_COL_INDEXES
        See Also:
        Constant Field Values

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.