Package dev.frostlake.http
Class SqlRequest
java.lang.Object
dev.frostlake.http.SqlRequest
HTTP request object for SQL execution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe autocommit mode this request declares, or null when it declares none.The statement count this request declares, or null when it declares none.getSql()booleanvoidsetAutoCommit(Boolean autoCommit) voidsetMultiStatementCount(Integer multiStatementCount) voidsetRequireSession(boolean requireSession) voidsetSessionId(String sessionId) void
-
Constructor Details
-
SqlRequest
public SqlRequest() -
SqlRequest
-
-
Method Details
-
getSql
-
setSql
-
getSessionId
-
setSessionId
-
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 asALTER SESSION SET AUTOCOMMITleft it. -
setAutoCommit
-
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
-
isRequireSession
public boolean isRequireSession() -
setRequireSession
public void setRequireSession(boolean requireSession)
-