public class AltibaseShardingPreparedStatement extends AltibaseShardingStatement implements java.sql.PreparedStatement
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearBatch() |
void |
clearParameters() |
boolean |
execute() |
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.sql.ResultSet |
executeQuery(java.lang.String aSql) |
int |
executeUpdate() |
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.ResultSetMetaData |
getMetaData() |
java.sql.ParameterMetaData |
getParameterMetaData() |
void |
setArray(int aParameterIndex,
java.sql.Array aValue) |
void |
setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setBigDecimal(int aParameterIndex,
java.math.BigDecimal aValue) |
void |
setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setBlob(int aParameterIndex,
java.sql.Blob aValue) |
void |
setBoolean(int aParameterIndex,
boolean aValue) |
void |
setByte(int aParameterIndex,
byte aValue) |
void |
setBytes(int aParameterIndex,
byte[] aValue) |
void |
setCharacterStream(int aParameterIndex,
java.io.Reader aReader,
int aLength) |
void |
setClob(int aParameterIndex,
java.sql.Clob aValue) |
void |
setDate(int aParameterIndex,
java.sql.Date aValue) |
void |
setDate(int aParameterIndex,
java.sql.Date aValue,
java.util.Calendar aCal) |
void |
setDouble(int aParameterIndex,
double aValue) |
void |
setFloat(int aParameterIndex,
float aValue) |
void |
setInt(int aParameterIndex,
int aValue) |
void |
setLong(int aParameterIndex,
long aValue) |
void |
setNull(int aParameterIndex,
int aSqlType) |
void |
setNull(int aParameterIndex,
int aSqlType,
java.lang.String aTypeName) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale) |
void |
setRef(int aParameterIndex,
java.sql.Ref aValue) |
void |
setShort(int aParameterIndex,
short aValue) |
void |
setString(int aParameterIndex,
java.lang.String aValue) |
void |
setTime(int aParameterIndex,
java.sql.Time aValue) |
void |
setTime(int aParameterIndex,
java.sql.Time aValue,
java.util.Calendar aCal) |
void |
setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue) |
void |
setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue,
java.util.Calendar aCal) |
void |
setUnicodeStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setURL(int aParameterIndex,
java.net.URL aValue) |
addBatch, cancel, clearWarnings, close, createDataNodeStatement, createInternalStatement, createServerSideStatement, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaConn, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hasNoData, isPrepared, removeFromStmtRouteMap, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, setShardMetaNumber, setSqlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setObject, setObject, setRowId, setSQLXMLaddBatch, cancel, clearWarnings, close, closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
executeQuery in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery(java.lang.String aSql)
throws java.sql.SQLException
executeQuery in interface java.sql.StatementexecuteQuery in class AltibaseShardingStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseShardingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseShardingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseShardingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseShardingStatementjava.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int aParameterIndex,
boolean aValue)
throws java.sql.SQLException
setBoolean in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setByte(int aParameterIndex,
byte aValue)
throws java.sql.SQLException
setByte in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setShort(int aParameterIndex,
short aValue)
throws java.sql.SQLException
setShort in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setInt(int aParameterIndex,
int aValue)
throws java.sql.SQLException
setInt in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setLong(int aParameterIndex,
long aValue)
throws java.sql.SQLException
setLong in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setFloat(int aParameterIndex,
float aValue)
throws java.sql.SQLException
setFloat in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDouble(int aParameterIndex,
double aValue)
throws java.sql.SQLException
setDouble in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int aParameterIndex,
java.math.BigDecimal aValue)
throws java.sql.SQLException
setBigDecimal in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setString(int aParameterIndex,
java.lang.String aValue)
throws java.sql.SQLException
setString in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBytes(int aParameterIndex,
byte[] aValue)
throws java.sql.SQLException
setBytes in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setUnicodeStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
setUnicodeStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseShardingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseShardingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseShardingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseShardingStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class AltibaseShardingStatementjava.sql.SQLExceptionpublic void setCharacterStream(int aParameterIndex,
java.io.Reader aReader,
int aLength)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRef(int aParameterIndex,
java.sql.Ref aValue)
throws java.sql.SQLException
setRef in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int aParameterIndex,
java.sql.Blob aValue)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int aParameterIndex,
java.sql.Clob aValue)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setArray(int aParameterIndex,
java.sql.Array aValue)
throws java.sql.SQLException
setArray in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType,
java.lang.String aTypeName)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setURL(int aParameterIndex,
java.net.URL aValue)
throws java.sql.SQLException
setURL in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
getParameterMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface java.sql.StatementclearBatch in class AltibaseShardingStatementjava.sql.SQLException