Class SqlRequest

java.lang.Object
dev.frostlake.http.SqlRequest

public class SqlRequest extends Object
HTTP request object for SQL execution
  • Constructor Details

    • SqlRequest

      public SqlRequest()
    • SqlRequest

      public SqlRequest(String sql, String sessionId)
  • Method Details

    • getSql

      public String getSql()
    • setSql

      public void setSql(String sql)
    • getSessionId

      public String getSessionId()
    • setSessionId

      public void setSessionId(String sessionId)
    • getAutoCommit

      public Boolean getAutoCommit()
      The autocommit mode this request declares, or null when it declares none. A null is left out of the JSON, so a client that never sets the mode sends no field at all: the server then leaves the session's setting as ALTER SESSION SET AUTOCOMMIT left it.
    • setAutoCommit

      public void setAutoCommit(Boolean autoCommit)
    • getMultiStatementCount

      public Integer getMultiStatementCount()
      The statement count this request declares, or null when it declares none. A null is left out of the JSON, so a client that never sets it sends no field at all and inherits the session's MULTI_STATEMENT_COUNT.
    • setMultiStatementCount

      public void setMultiStatementCount(Integer multiStatementCount)
    • isRequireSession

      public boolean isRequireSession()
    • setRequireSession

      public void setRequireSession(boolean requireSession)