| Modifier and Type | Field and Description |
|---|---|
| protected RuntimeProperty | |
| protected int | batchCommandIndex
Command index of currently executing batch command. |
| protected String | originalSql
The SQL that was passed in to 'prepare' |
| protected int | parameterCount
The number of parameters in this PreparedStatement |
| protected QueryBindings | |
| protected QueryInfo | |
| protected RuntimeProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | checkNullOrEmptyQuery(String
the SQL to check sql)Implements com. Method checkNullOrEmptyQuery. |
| public void | closeQuery()
Overrides com. Implements com.
|
| public int | Returns: computed batch sizeoriginal batch size numBatchedArgs)Implements com. Computes the optimum number of batched parameter lists to send without overflowing max_allowed_packet. |
| protected long[] | Returns: new long[] { maxSizeOfParameterSet, sizeOfEntireBatch }number of batched arguments numBatchedArgs)Computes the maximum parameter set size, and entire batch size given the number of arguments in the batch. |
| public <M extends Message> M | |
| public int | |
| public String | |
| public int | |
| public QueryBindings | |
| public QueryInfo | |
| public void | setBatchCommandIndex(int batchCommandIndex)
Implements com.
|
| public void | |
| public void | |
| public void | setQueryBindings(QueryBindings queryBindings)
Implements com.
|
| public void |
| autoClosePStmtStreams | back to summary |
|---|---|
| protected RuntimeProperty<Boolean> autoClosePStmtStreams | |
| batchCommandIndex | back to summary |
|---|---|
| protected int batchCommandIndex Command index of currently executing batch command. | |
| originalSql | back to summary |
|---|---|
| protected String originalSql The SQL that was passed in to 'prepare' | |
| parameterCount | back to summary |
|---|---|
| protected int parameterCount The number of parameters in this PreparedStatement | |
| queryBindings | back to summary |
|---|---|
| protected QueryBindings queryBindings | |
| queryInfo | back to summary |
|---|---|
| protected QueryInfo queryInfo | |
| useStreamLengthsInPrepStmts | back to summary |
|---|---|
| protected RuntimeProperty<Boolean> useStreamLengthsInPrepStmts | |
| ClientPreparedQuery | back to summary |
|---|---|
| public ClientPreparedQuery(NativeSession sess) | |
| asSql | back to summary |
|---|---|
| public String asSql() Implements com.
| |
| checkNullOrEmptyQuery | back to summary |
|---|---|
| public void checkNullOrEmptyQuery(String sql) Implements com. Method checkNullOrEmptyQuery.
| |
| closeQuery | back to summary |
|---|---|
| public void closeQuery() Overrides com. Implements com.
| |
| computeBatchSize | back to summary |
|---|---|
| public int computeBatchSize(int numBatchedArgs) Implements com. Computes the optimum number of batched parameter lists to send without overflowing max_allowed_packet.
| |
| computeMaxParameterSetSizeAndBatchSize | back to summary |
|---|---|
| protected long[] computeMaxParameterSetSizeAndBatchSize(int numBatchedArgs) Computes the maximum parameter set size, and entire batch size given the number of arguments in the batch.
| |
| fillSendPacket | back to summary |
|---|---|
| public <M extends Message> M fillSendPacket(QueryBindings bindings) Implements com.
| |
| getBatchCommandIndex | back to summary |
|---|---|
| public int getBatchCommandIndex() Implements com.
| |
| getOriginalSql | back to summary |
|---|---|
| public String getOriginalSql() Implements com.
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements com.
| |
| getQueryBindings | back to summary |
|---|---|
| public QueryBindings getQueryBindings() Implements com.
| |
| getQueryInfo | back to summary |
|---|---|
| public QueryInfo getQueryInfo() Implements com.
| |
| setBatchCommandIndex | back to summary |
|---|---|
| public void setBatchCommandIndex(int batchCommandIndex) Implements com.
| |
| setOriginalSql | back to summary |
|---|---|
| public void setOriginalSql(String originalSql) Implements com.
| |
| setParameterCount | back to summary |
|---|---|
| public void setParameterCount(int parameterCount) Implements com.
| |
| setQueryBindings | back to summary |
|---|---|
| public void setQueryBindings(QueryBindings queryBindings) Implements com.
| |
| setQueryInfo | back to summary |
|---|---|
| public void setQueryInfo(QueryInfo queryInfo) Implements com.
| |