public class ResultsRewrite extends Results
| Constructor and Description |
|---|
ResultsRewrite(MariaDbStatement statement,
int fetchSize,
boolean batch,
int expectedSize,
boolean binaryFormat,
int resultSetScrollType)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStats(int updateCount,
long insertId,
boolean moreResultAvailable)
Add execution statistics.
|
void |
addStatsError(boolean moreResultAvailable)
Indicate that result is an Error, to set appropriate results.
|
int |
getCurrentStatNumber() |
boolean |
isBatch() |
void |
setAutoIncrement(int autoIncrement) |
addResultSet, commandEnd, getCallableResultSet, getCmdInformation, getExpectedSize, getFetchSize, getMoreResults, getResultSet, getResultSetScrollType, getStatement, isBinaryFormat, loadFully, removeFetchSize, setCmdInformationpublic ResultsRewrite(MariaDbStatement statement, int fetchSize, boolean batch, int expectedSize, boolean binaryFormat, int resultSetScrollType)
statement - current statementfetchSize - fetch sizebatch - select result possibleexpectedSize - expected sizebinaryFormat - use binary protocolresultSetScrollType - one of the following ResultSet constants: ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVEpublic void addStats(int updateCount,
long insertId,
boolean moreResultAvailable)
public void addStatsError(boolean moreResultAvailable)
ResultsaddStatsError in class ResultsmoreResultAvailable - indicate if other results (ResultSet or updateCount) are available.public int getCurrentStatNumber()
getCurrentStatNumber in class Resultspublic void setAutoIncrement(int autoIncrement)
Copyright © 2016. All rights reserved.