Package com.mysql.cj
Class ClientPreparedQuery
java.lang.Object
- All Implemented Interfaces:
PreparedQuery<ClientPreparedQueryBindings>
,Query
public class ClientPreparedQuery extends AbstractPreparedQuery<ClientPreparedQueryBindings>
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.mysql.cj.AbstractPreparedQuery
autoClosePStmtStreams, batchCommandIndex, originalSql, parameterCount, parseInfo, queryBindings, useStreamLengthsInPrepStmts
Fields inherited from class com.mysql.cj.AbstractQuery
batchedArgs, cancelTimeoutMutex, charEncoding, clearWarningsCalled, currentDb, fetchSize, maxAllowedPacket, resultSetType, session, statementExecuting, statementId, timeoutInMillis
-
Constructor Summary
Constructors Constructor Description ClientPreparedQuery(NativeSession sess)
-
Method Summary
Modifier and Type Method Description protected long[]
computeMaxParameterSetSizeAndBatchSize(int numBatchedArgs)
Computes the maximum parameter set size, and entire batch size given the number of arguments in the batch.Methods inherited from class com.mysql.cj.AbstractPreparedQuery
asSql, asSql, checkNullOrEmptyQuery, closeQuery, computeBatchSize, fillSendPacket, fillSendPacket, getBatchCommandIndex, getOriginalSql, getParameterCount, getParseInfo, getQueryBindings, setBatchCommandIndex, setOriginalSql, setParameterCount, setParseInfo, setQueryBindings
Methods inherited from class com.mysql.cj.AbstractQuery
addBatch, checkCancelTimeout, clearBatchedArgs, getBatchedArgs, getCancelTimeoutMutex, getCurrentDatabase, getExecuteTime, getId, getResultFetchSize, getResultSetFactory, getResultType, getSession, getStatementExecuting, getTimeoutInMillis, isClearWarningsCalled, resetCancelledState, setCancelStatus, setClearWarningsCalled, setCurrentDatabase, setExecuteTime, setResultFetchSize, setResultType, setTimeoutInMillis, startQueryTimer, statementBegins, stopQueryTimer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mysql.cj.Query
addBatch, checkCancelTimeout, clearBatchedArgs, getBatchedArgs, getCancelTimeoutMutex, getCurrentDatabase, getExecuteTime, getId, getResultFetchSize, getResultSetFactory, getResultType, getSession, getStatementExecuting, getTimeoutInMillis, isClearWarningsCalled, resetCancelledState, setCancelStatus, setClearWarningsCalled, setCurrentDatabase, setExecuteTime, setResultFetchSize, setResultType, setTimeoutInMillis, startQueryTimer, statementBegins, stopQueryTimer
-
Constructor Details
-
Method Details
-
computeMaxParameterSetSizeAndBatchSize
protected long[] computeMaxParameterSetSizeAndBatchSize(int numBatchedArgs)Computes the maximum parameter set size, and entire batch size given the number of arguments in the batch.- Specified by:
computeMaxParameterSetSizeAndBatchSize
in classAbstractPreparedQuery<ClientPreparedQueryBindings>
-