Package com.mysql.cj
Interface PreparedQuery<T extends QueryBindings<?>>
- All Superinterfaces:
Query
- All Known Implementing Classes:
AbstractPreparedQuery,ClientPreparedQuery,ServerPreparedQuery,ServerPreparedQueryTestcaseGenerator
public interface PreparedQuery<T extends QueryBindings<?>> extends Query
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringasSql()java.lang.StringasSql(boolean quoteStreamsAndUnknowns)voidcheckNullOrEmptyQuery(java.lang.String sql)intcomputeBatchSize(int numBatchedArgs)<M extends Message>
MfillSendPacket()<M extends Message>
MfillSendPacket(QueryBindings<?> bindings)intgetBatchCommandIndex()java.lang.StringgetOriginalSql()intgetParameterCount()ParseInfogetParseInfo()TgetQueryBindings()voidsetBatchCommandIndex(int batchCommandIndex)voidsetOriginalSql(java.lang.String originalSql)voidsetParameterCount(int parameterCount)voidsetParseInfo(ParseInfo parseInfo)voidsetQueryBindings(T queryBindings)Methods inherited from interface com.mysql.cj.Query
addBatch, checkCancelTimeout, clearBatchedArgs, closeQuery, getBatchedArgs, getCancelTimeoutMutex, getCurrentDatabase, getExecuteTime, getId, getResultFetchSize, getResultSetFactory, getResultType, getSession, getStatementExecuting, getTimeoutInMillis, isClearWarningsCalled, resetCancelledState, setCancelStatus, setClearWarningsCalled, setCurrentDatabase, setExecuteTime, setResultFetchSize, setResultType, setTimeoutInMillis, startQueryTimer, statementBegins, stopQueryTimer
-
Method Details
-
getParseInfo
ParseInfo getParseInfo() -
setParseInfo
-
checkNullOrEmptyQuery
void checkNullOrEmptyQuery(java.lang.String sql) -
getOriginalSql
java.lang.String getOriginalSql() -
setOriginalSql
void setOriginalSql(java.lang.String originalSql) -
getParameterCount
int getParameterCount() -
setParameterCount
void setParameterCount(int parameterCount) -
getQueryBindings
T getQueryBindings() -
setQueryBindings
-
computeBatchSize
int computeBatchSize(int numBatchedArgs) -
getBatchCommandIndex
int getBatchCommandIndex() -
setBatchCommandIndex
void setBatchCommandIndex(int batchCommandIndex) -
asSql
java.lang.String asSql() -
asSql
java.lang.String asSql(boolean quoteStreamsAndUnknowns) -
fillSendPacket
-
fillSendPacket
-