public class DataNodeShardingStatement extends java.lang.Object implements InternalShardingStatement
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
clearBatch() |
void |
clearForGeneratedKeys() |
void |
clearWarnings() |
void |
close() |
int[] |
executeBatch() |
java.sql.Connection |
getConnection() |
int |
getFetchSize() |
java.sql.ResultSet |
getGeneratedKeys() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int aCurrent) |
int |
getQueryTimeout() |
java.sql.ResultSet |
getResultSet() |
int |
getUpdateCount() |
java.sql.SQLWarning |
getWarnings() |
boolean |
hasNoData() |
boolean |
isPrepared() |
void |
makeQstrForGeneratedKeys(java.lang.String aSql,
int[] aColumnIndexes,
java.lang.String[] aColumnNames) |
void |
setCursorName(java.lang.String aName) |
void |
setEscapeProcessing(boolean aEnable) |
void |
setFetchSize(int aRows) |
void |
setMaxFieldSize(int aMax) |
void |
setMaxRows(int aMax) |
void |
setQueryTimeout(int aSeconds) |
public void close()
throws java.sql.SQLException
close in interface InternalShardingStatementjava.sql.SQLExceptionpublic int getMaxFieldSize()
throws java.sql.SQLException
getMaxFieldSize in interface InternalShardingStatementjava.sql.SQLExceptionpublic void setMaxFieldSize(int aMax)
throws java.sql.SQLException
setMaxFieldSize in interface InternalShardingStatementjava.sql.SQLExceptionpublic int getMaxRows()
throws java.sql.SQLException
getMaxRows in interface InternalShardingStatementjava.sql.SQLExceptionpublic void setMaxRows(int aMax)
throws java.sql.SQLException
setMaxRows in interface InternalShardingStatementjava.sql.SQLExceptionpublic void setEscapeProcessing(boolean aEnable)
throws java.sql.SQLException
setEscapeProcessing in interface InternalShardingStatementjava.sql.SQLExceptionpublic int getQueryTimeout()
throws java.sql.SQLException
getQueryTimeout in interface InternalShardingStatementjava.sql.SQLExceptionpublic void setQueryTimeout(int aSeconds)
throws java.sql.SQLException
setQueryTimeout in interface InternalShardingStatementjava.sql.SQLExceptionpublic void cancel()
throws java.sql.SQLException
cancel in interface InternalShardingStatementjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
getWarnings in interface InternalShardingStatementpublic void clearWarnings()
clearWarnings in interface InternalShardingStatementpublic void setCursorName(java.lang.String aName)
throws java.sql.SQLException
setCursorName in interface InternalShardingStatementjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface InternalShardingStatementjava.sql.SQLExceptionpublic int getUpdateCount()
getUpdateCount in interface InternalShardingStatementpublic boolean getMoreResults()
throws java.sql.SQLException
getMoreResults in interface InternalShardingStatementjava.sql.SQLExceptionpublic boolean getMoreResults(int aCurrent)
throws java.sql.SQLException
getMoreResults in interface InternalShardingStatementjava.sql.SQLExceptionpublic void setFetchSize(int aRows)
throws java.sql.SQLException
setFetchSize in interface InternalShardingStatementjava.sql.SQLExceptionpublic int getFetchSize()
getFetchSize in interface InternalShardingStatementpublic void clearBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Connection getConnection()
getConnection in interface InternalShardingStatementpublic java.sql.ResultSet getGeneratedKeys()
throws java.sql.SQLException
getGeneratedKeys in interface InternalShardingStatementjava.sql.SQLExceptionpublic boolean isPrepared()
isPrepared in interface InternalShardingStatementpublic boolean hasNoData()
hasNoData in interface InternalShardingStatementpublic void makeQstrForGeneratedKeys(java.lang.String aSql,
int[] aColumnIndexes,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
makeQstrForGeneratedKeys in interface InternalShardingStatementjava.sql.SQLExceptionpublic void clearForGeneratedKeys()
throws java.sql.SQLException
clearForGeneratedKeys in interface InternalShardingStatementjava.sql.SQLException