Class RequestMessage

    • Field Detail

      • TXN_WRAP_OFF

        public static final String TXN_WRAP_OFF
        Transaction auto wrap constant - never wrap a command execution in a transaction
        See Also:
        Constant Field Values
      • TXN_WRAP_ON

        public static final String TXN_WRAP_ON
        Transaction auto wrap constant - always wrap commands in a transaction.
        See Also:
        Constant Field Values
      • TXN_WRAP_DETECT

        public static final String TXN_WRAP_DETECT
        Transaction auto wrap constant - checks if a command requires a transaction and will be automatically wrap it.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RequestMessage

        public RequestMessage()
      • RequestMessage

        public RequestMessage​(String command)
    • Method Detail

      • isSync

        public boolean isSync()
      • setSync

        public void setSync​(boolean sync)
      • getFetchSize

        public int getFetchSize()
      • supportsPartialResults

        public boolean supportsPartialResults()
      • setFetchSize

        public void setFetchSize​(int fetchSize)
      • setPartialResults

        public void setPartialResults​(boolean partial)
        Parameters:
        partial -
      • isPreparedStatement

        public boolean isPreparedStatement()
        Returns:
        True if this request includes a prepared statement.
      • isCallableStatement

        public boolean isCallableStatement()
        Returns:
        True if this request includes a callable statement.
      • getParameterValues

        public List<?> getParameterValues()
        Returns:
        A list of parameter values. May be null.
      • setParameterValues

        public void setParameterValues​(List<?> values)
        Parameters:
        values -
      • getCursorType

        public int getCursorType()
        Returns:
        String
      • setCursorType

        public void setCursorType​(int cursorType)
        Sets the cursorType.
        Parameters:
        cursorType - The cursorType to set
      • getTxnAutoWrapMode

        public String getTxnAutoWrapMode()
        Returns:
        String
      • getStyleSheet

        public String getStyleSheet()
        Returns:
        String
      • setStyleSheet

        public void setStyleSheet​(String styleSheet)
        Sets the styleSheet.
        Parameters:
        styleSheet - The styleSheet to set
      • useResultSetCache

        public boolean useResultSetCache()
      • setUseResultSetCache

        public void setUseResultSetCache​(boolean useResultSetCacse)
      • getCommandString

        public String getCommandString()
      • isAnsiQuotedIdentifiers

        public boolean isAnsiQuotedIdentifiers()
      • setAnsiQuotedIdentifiers

        public void setAnsiQuotedIdentifiers​(boolean ansiQuotedIdentifiers)
      • getRowLimit

        public int getRowLimit()
        Returns:
        Returns the rowLimit.
        Since:
        4.3
      • setRowLimit

        public void setRowLimit​(int rowLimit)
        Parameters:
        rowLimit - The rowLimit to set.
        Since:
        4.3
      • getCommands

        public String[] getCommands()
      • setCommands

        public void setCommands​(String... batchedCommands)
      • getCommand

        public Object getCommand()
      • setCommand

        public void setCommand​(Object command)
      • setExecutionPayload

        public void setExecutionPayload​(Serializable executionPayload)
      • getExecutionPayload

        public Serializable getExecutionPayload()
      • getExecutionId

        public long getExecutionId()
      • setExecutionId

        public void setExecutionId​(long executionId)
      • setBatchedUpdate

        public void setBatchedUpdate​(boolean isBatchedUpdate)
      • isBatchedUpdate

        public boolean isBatchedUpdate()
      • getTransactionIsolation

        public int getTransactionIsolation()
      • setTransactionIsolation

        public void setTransactionIsolation​(int transactionIsolation)
      • isNoExec

        public boolean isNoExec()
      • setNoExec

        public void setNoExec​(boolean noExec)
      • setRequestOptions

        public void setRequestOptions​(RequestOptions requestOptions)
      • setReturnAutoGeneratedKeys

        public void setReturnAutoGeneratedKeys​(boolean autoGenerateKeys)
      • isReturnAutoGeneratedKeys

        public boolean isReturnAutoGeneratedKeys()
      • isDelaySerialization

        public boolean isDelaySerialization()
      • setDelaySerialization

        public void setDelaySerialization​(boolean delaySerialization)
      • setSpanContext

        public void setSpanContext​(String string)
      • getSpanContext

        public String getSpanContext()