public class AltibaseShardingStatement extends JdbcMethodInvoker implements java.sql.Statement
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(java.lang.String aSql) |
void |
cancel() |
void |
clearBatch() |
void |
clearWarnings() |
void |
close() |
protected void |
createDataNodeStatement() |
protected void |
createInternalStatement() |
protected void |
createServerSideStatement() |
boolean |
execute(java.lang.String aSql) |
boolean |
execute(java.lang.String aSql,
int aAutoGeneratedKeys) |
boolean |
execute(java.lang.String aSql,
int[] aColumnIndexes) |
boolean |
execute(java.lang.String aSql,
java.lang.String[] aColumnNames) |
int[] |
executeBatch() |
java.sql.ResultSet |
executeQuery(java.lang.String aSql) |
int |
executeUpdate(java.lang.String aSql) |
int |
executeUpdate(java.lang.String aSql,
int aAutoGeneratedKeys) |
int |
executeUpdate(java.lang.String aSql,
int[] aColumnIndexes) |
int |
executeUpdate(java.lang.String aSql,
java.lang.String[] aColumnNames) |
java.sql.Connection |
getConnection() |
int |
getFetchDirection() |
int |
getFetchSize() |
java.sql.ResultSet |
getGeneratedKeys() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
AltibaseShardingConnection |
getMetaConn() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int aCurrent) |
int |
getQueryTimeout() |
java.sql.ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
int |
getUpdateCount() |
java.sql.SQLWarning |
getWarnings() |
boolean |
hasNoData() |
boolean |
isPrepared() |
void |
removeFromStmtRouteMap(DataNode aNode) |
void |
setCursorName(java.lang.String aName) |
void |
setEscapeProcessing(boolean aEnable) |
void |
setFetchDirection(int aDirection) |
void |
setFetchSize(int aRows) |
void |
setMaxFieldSize(int aMax) |
void |
setMaxRows(int aMax) |
void |
setQueryTimeout(int aSeconds) |
void |
setShardMetaNumber(long aShardMetaNumber) |
void |
setSql(java.lang.String aSql) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic java.sql.ResultSet executeQuery(java.lang.String aSql)
throws java.sql.SQLException
executeQuery in interface java.sql.Statementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Statementjava.sql.SQLExceptionpublic int getMaxFieldSize()
throws java.sql.SQLException
getMaxFieldSize in interface java.sql.Statementjava.sql.SQLExceptionpublic void setMaxFieldSize(int aMax)
throws java.sql.SQLException
setMaxFieldSize in interface java.sql.Statementjava.sql.SQLExceptionpublic int getMaxRows()
throws java.sql.SQLException
getMaxRows in interface java.sql.Statementjava.sql.SQLExceptionpublic void setMaxRows(int aMax)
throws java.sql.SQLException
setMaxRows in interface java.sql.Statementjava.sql.SQLExceptionpublic void setEscapeProcessing(boolean aEnable)
throws java.sql.SQLException
setEscapeProcessing in interface java.sql.Statementjava.sql.SQLExceptionpublic int getQueryTimeout()
throws java.sql.SQLException
getQueryTimeout in interface java.sql.Statementjava.sql.SQLExceptionpublic void setQueryTimeout(int aSeconds)
throws java.sql.SQLException
setQueryTimeout in interface java.sql.Statementjava.sql.SQLExceptionpublic void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.Statementjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.Statementjava.sql.SQLExceptionpublic void setCursorName(java.lang.String aName)
throws java.sql.SQLException
setCursorName in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface java.sql.Statementjava.sql.SQLExceptionpublic int getUpdateCount()
throws java.sql.SQLException
getUpdateCount in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean getMoreResults()
throws java.sql.SQLException
getMoreResults in interface java.sql.Statementjava.sql.SQLExceptionpublic void setFetchDirection(int aDirection)
throws java.sql.SQLException
setFetchDirection in interface java.sql.Statementjava.sql.SQLExceptionpublic int getFetchDirection()
getFetchDirection in interface java.sql.Statementpublic void setFetchSize(int aRows)
throws java.sql.SQLException
setFetchSize in interface java.sql.Statementjava.sql.SQLExceptionpublic int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.Statementjava.sql.SQLExceptionpublic int getResultSetConcurrency()
getResultSetConcurrency in interface java.sql.Statementpublic int getResultSetType()
getResultSetType in interface java.sql.Statementpublic void addBatch(java.lang.String aSql)
throws java.sql.SQLException
addBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.Connection getConnection()
getConnection in interface java.sql.Statementpublic boolean getMoreResults(int aCurrent)
throws java.sql.SQLException
getMoreResults in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.ResultSet getGeneratedKeys()
throws java.sql.SQLException
getGeneratedKeys in interface java.sql.Statementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLExceptionpublic int getResultSetHoldability()
getResultSetHoldability in interface java.sql.Statementprotected void createInternalStatement()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void createServerSideStatement()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void createDataNodeStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isPrepared()
public boolean hasNoData()
public AltibaseShardingConnection getMetaConn()
public void setSql(java.lang.String aSql)
public void setShardMetaNumber(long aShardMetaNumber)
public void removeFromStmtRouteMap(DataNode aNode)