public class DataNodeShardingPreparedStatement extends DataNodeShardingStatement implements InternalShardingPreparedStatement
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearBatch() |
void |
clearParameters() |
boolean |
execute() |
int[] |
executeBatch() |
java.sql.ResultSet |
executeQuery() |
int |
executeUpdate() |
java.sql.ResultSetMetaData |
getMetaData() |
java.sql.ParameterMetaData |
getParameterMetaData() |
void |
rePrepare(CmProtocolContextShardStmt aShardStmtCtx) |
protected java.util.List<java.sql.Statement> |
route()
»þµå۰ªÀ» ±âÁØÀ¸·Î ÇØ´çÇÏ´Â ³ëµåµéÀÇ PreparedStatement°´Ã¼¸¦ ¸®ÅÏÇÑ´Ù.
|
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,
int aTargetSqlType) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale) |
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) |
cancel, clearForGeneratedKeys, clearWarnings, close, getConnection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getUpdateCount, getWarnings, hasNoData, isPrepared, makeQstrForGeneratedKeys, setCursorName, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, clearForGeneratedKeys, clearWarnings, close, getConnection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getUpdateCount, getWarnings, hasNoData, isPrepared, makeQstrForGeneratedKeys, setCursorName, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeoutpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
executeQuery in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface InternalShardingPreparedStatementexecuteBatch in class DataNodeShardingStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
getParameterMetaData in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface InternalShardingPreparedStatementclearBatch in class DataNodeShardingStatementjava.sql.SQLExceptionpublic void rePrepare(CmProtocolContextShardStmt aShardStmtCtx) throws java.sql.SQLException
rePrepare in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setInt(int aParameterIndex,
int aValue)
throws java.sql.SQLException
setInt in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType)
throws java.sql.SQLException
setNull in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType,
java.lang.String aTypeName)
throws java.sql.SQLException
setNull in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int aParameterIndex,
boolean aValue)
throws java.sql.SQLException
setBoolean in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setByte(int aParameterIndex,
byte aValue)
throws java.sql.SQLException
setByte in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setShort(int aParameterIndex,
short aValue)
throws java.sql.SQLException
setShort in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setLong(int aParameterIndex,
long aValue)
throws java.sql.SQLException
setLong in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setFloat(int aParameterIndex,
float aValue)
throws java.sql.SQLException
setFloat in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setDouble(int aParameterIndex,
double aValue)
throws java.sql.SQLException
setDouble in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int aParameterIndex,
java.math.BigDecimal aValue)
throws java.sql.SQLException
setBigDecimal in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setString(int aParameterIndex,
java.lang.String aValue)
throws java.sql.SQLException
setString in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setBytes(int aParameterIndex,
byte[] aValue)
throws java.sql.SQLException
setBytes in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue)
throws java.sql.SQLException
setDate in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setDate in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue)
throws java.sql.SQLException
setTime in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setTime in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue)
throws java.sql.SQLException
setTimestamp in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue,
java.util.Calendar aCal)
throws java.sql.SQLException
setTimestamp in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
setAsciiStream in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
setBinaryStream in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale)
throws java.sql.SQLException
setObject in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType)
throws java.sql.SQLException
setObject in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int aParameterIndex,
java.io.Reader aReader,
int aLength)
throws java.sql.SQLException
setCharacterStream in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setBlob(int aParameterIndex,
java.sql.Blob aValue)
throws java.sql.SQLException
setBlob in interface InternalShardingPreparedStatementjava.sql.SQLExceptionpublic void setClob(int aParameterIndex,
java.sql.Clob aValue)
throws java.sql.SQLException
setClob in interface InternalShardingPreparedStatementjava.sql.SQLExceptionprotected java.util.List<java.sql.Statement> route()
throws java.sql.SQLException
java.sql.SQLException