|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.jdbc
Class BrokeredCallableStatement30

java.lang.Objectorg.apache.derby.iapi.jdbc.BrokeredStatement
org.apache.derby.iapi.jdbc.BrokeredPreparedStatement
org.apache.derby.iapi.jdbc.BrokeredCallableStatement
org.apache.derby.iapi.jdbc.BrokeredCallableStatement30
- All Implemented Interfaces:
- java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement
- public class BrokeredCallableStatement30
- extends BrokeredCallableStatement
JDBC 3 brokered CallableStatement
| Field Summary |
| Fields inherited from class org.apache.derby.iapi.jdbc.BrokeredPreparedStatement |
sql |
| Fields inherited from class org.apache.derby.iapi.jdbc.BrokeredStatement |
control, jdbcLevel, resultSetConcurrency, resultSetHoldability, resultSetType |
| Fields inherited from interface java.sql.Statement |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
BrokeredCallableStatement30(BrokeredStatementControl control,
int jdbcLevel,
java.lang.String sql)
|
|
| Method Summary | |
java.sql.CallableStatement |
createDuplicateStatement(java.sql.Connection conn,
java.sql.CallableStatement oldStatement)
Create a duplicate CalableStatement to this, including state, from the passed in Connection. |
java.sql.Array |
getArray(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java Array. |
java.math.BigDecimal |
getBigDecimal(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java BigDecimal. |
java.sql.Blob |
getBlob(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java Blob. |
boolean |
getBoolean(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java boolean. |
byte |
getByte(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java byte. |
byte[] |
getBytes(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java byte array. |
java.sql.Clob |
getClob(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java Clob. |
java.sql.Date |
getDate(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java java.sql.Date. |
java.sql.Date |
getDate(java.lang.String parameterName,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Date. |
double |
getDouble(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java double. |
float |
getFloat(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java float. |
int |
getInt(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java int. |
long |
getLong(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java long. |
java.lang.Object |
getObject(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java Object. |
java.lang.Object |
getObject(java.lang.String parameterName,
java.util.Map map)
This method returns the value of the specified parameter as a Java Object using the specified mapping for conversion from
SQL to Java types. |
java.sql.ParameterMetaData |
getParameterMetaData()
Returns information about the parameters set on this PreparedStatement (see java.sql.ParameterMetaData for a
detailed description of the provided information). |
java.sql.Ref |
getRef(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java Ref. |
short |
getShort(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java short. |
java.lang.String |
getString(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java String. |
java.sql.Time |
getTime(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Time |
getTime(java.lang.String parameterName,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Time. |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.sql.Timestamp |
getTimestamp(java.lang.String parameterName,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Timestamp. |
java.net.URL |
getURL(int i)
This method returns the value of the specified parameter as a Java java.net.URL. |
java.net.URL |
getURL(java.lang.String parameterName)
This method returns the value of the specified parameter as a Java java.net.URL. |
void |
registerOutParameter(java.lang.String a,
int b)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(java.lang.String a,
int b,
int c)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
registerOutParameter(java.lang.String a,
int b,
java.lang.String c)
This method registers the specified parameter as an output parameter of the specified SQL type. |
void |
setAsciiStream(java.lang.String parameterName,
java.io.InputStream value,
int length)
This method sets the specified parameter from the given Java ASCII InputStream value. |
void |
setBigDecimal(java.lang.String parameterName,
java.math.BigDecimal value)
This method sets the specified parameter from the given Java BigDecimal value. |
void |
setBinaryStream(java.lang.String parameterName,
java.io.InputStream value,
int length)
This method sets the specified parameter from the given Java binary InputStream value. |
void |
setBoolean(java.lang.String parameterName,
boolean value)
This method sets the specified parameter from the given Java boolean value. |
void |
setByte(java.lang.String parameterName,
byte value)
This method sets the specified parameter from the given Java byte value. |
void |
setBytes(java.lang.String parameterName,
byte[] value)
This method sets the specified parameter from the given Java byte array value. |
void |
setCharacterStream(java.lang.String parameterName,
java.io.Reader value,
int length)
This method sets the specified parameter from the given Java character Reader value. |
void |
setDate(java.lang.String parameterName,
java.sql.Date value)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
setDate(java.lang.String parameterName,
java.sql.Date value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
setDouble(java.lang.String parameterName,
double value)
This method sets the specified parameter from the given Java double value. |
void |
setFloat(java.lang.String parameterName,
float value)
This method sets the specified parameter from the given Java float value. |
void |
setInt(java.lang.String parameterName,
int value)
This method sets the specified parameter from the given Java int value. |
void |
setLong(java.lang.String parameterName,
long value)
This method sets the specified parameter from the given Java long value. |
void |
setNull(java.lang.String parameterName,
int type)
This method populates the specified parameter with a SQL NULL value for the specified type. |
void |
setNull(java.lang.String parameterName,
int a,
java.lang.String b)
This method populates the specified parameter with a SQL NULL value for the specified type. |
void |
setObject(java.lang.String parameterName,
java.lang.Object value)
This method sets the specified parameter from the given Java Object value. |
void |
setObject(java.lang.String parameterName,
java.lang.Object value,
int a)
This method sets the specified parameter from the given Java Object value. |
void |
setObject(java.lang.String parameterName,
java.lang.Object value,
int a,
int b)
This method sets the specified parameter from the given Java Object value. |
void |
setShort(java.lang.String parameterName,
short value)
This method sets the specified parameter from the given Java short value. |
void |
setString(java.lang.String parameterName,
java.lang.String value)
This method sets the specified parameter from the given Java String value. |
void |
setTime(java.lang.String parameterName,
java.sql.Time value)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
setTime(java.lang.String parameterName,
java.sql.Time value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp value)
This method sets the specified parameter from the given Java java.sql.Timestamp value. |
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Timestamp value. |
void |
setURL(int i,
java.net.URL x)
This method sets the specified parameter from the given Java java.net.URL value. |
void |
setURL(java.lang.String parameterName,
java.net.URL value)
This method sets the value of the specified parameter to the specified java.net.URL |
| Methods inherited from class org.apache.derby.iapi.jdbc.BrokeredCallableStatement |
getArray, getBigDecimal, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getCallableStatement, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getPreparedStatement, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, registerOutParameter, registerOutParameter, registerOutParameter, wasNull |
| Methods inherited from class org.apache.derby.iapi.jdbc.BrokeredPreparedStatement |
addBatch, clearParameters, createDuplicateStatement, execute, executeQuery, executeUpdate, getMetaData, getStatement, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.PreparedStatement |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream |
| Constructor Detail |
BrokeredCallableStatement30
public BrokeredCallableStatement30(BrokeredStatementControl control, int jdbcLevel, java.lang.String sql) throws java.sql.SQLException
| Method Detail |
setURL
public final void setURL(java.lang.String parameterName, java.net.URL value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the value of the specified parameter to the specified
java.net.URL
setNull
public final void setNull(java.lang.String parameterName, int type) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method populates the specified parameter with a SQL NULL value
for the specified type.
setBoolean
public final void setBoolean(java.lang.String parameterName, boolean value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
booleanvalue.
setByte
public final void setByte(java.lang.String parameterName, byte value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
bytevalue.
setShort
public final void setShort(java.lang.String parameterName, short value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
shortvalue.
setInt
public final void setInt(java.lang.String parameterName, int value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
intvalue.
setLong
public final void setLong(java.lang.String parameterName, long value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
longvalue.
setFloat
public final void setFloat(java.lang.String parameterName, float value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
floatvalue.
setDouble
public final void setDouble(java.lang.String parameterName, double value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
doublevalue.
setBigDecimal
public final void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
BigDecimalvalue.
setString
public final void setString(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
Stringvalue.
setBytes
public final void setBytes(java.lang.String parameterName, byte[] value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
bytearray value.
setDate
public final void setDate(java.lang.String parameterName, java.sql.Date value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Datevalue.
setTime
public final void setTime(java.lang.String parameterName, java.sql.Time value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Timevalue.
setTimestamp
public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Timestampvalue.
setAsciiStream
public final void setAsciiStream(java.lang.String parameterName, java.io.InputStream value, int length) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
ASCII
InputStreamvalue.
setBinaryStream
public final void setBinaryStream(java.lang.String parameterName, java.io.InputStream value, int length) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
binary
InputStreamvalue.
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value, int a, int b) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
Objectvalue. The specified SQL object type will be used.
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value, int a) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
Objectvalue. The specified SQL object type will be used.
setObject
public final void setObject(java.lang.String parameterName, java.lang.Object value) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
Objectvalue. The default object type to SQL type mapping will be used.
setCharacterStream
public final void setCharacterStream(java.lang.String parameterName, java.io.Reader value, int length) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
character
Readervalue.
setDate
public final void setDate(java.lang.String parameterName, java.sql.Date value, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Datevalue.
setTime
public final void setTime(java.lang.String parameterName, java.sql.Time value, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Timevalue.
setTimestamp
public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method sets the specified parameter from the given Java
java.sql.Timestampvalue.
setNull
public final void setNull(java.lang.String parameterName, int a, java.lang.String b) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method populates the specified parameter with a SQL NULL value
for the specified type.
getString
public final java.lang.String getString(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
String.
getBoolean
public final boolean getBoolean(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
boolean.
getByte
public final byte getByte(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
byte.
getShort
public final short getShort(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
short.
getInt
public final int getInt(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
int.
getLong
public final long getLong(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
long.
getFloat
public final float getFloat(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
float.
getDouble
public final double getDouble(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
double.
getBytes
public final byte[] getBytes(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
bytearray.
getDate
public final java.sql.Date getDate(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.
getTime
public final java.sql.Time getTime(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.
getObject
public final java.lang.Object getObject(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Object.
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
BigDecimal.
getObject
public final java.lang.Object getObject(java.lang.String parameterName, java.util.Map map) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Objectusing the specified mapping for conversion from SQL to Java types.
getRef
public final java.sql.Ref getRef(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Ref.
getBlob
public final java.sql.Blob getBlob(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Blob.
getClob
public final java.sql.Clob getClob(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Clob.
getArray
public final java.sql.Array getArray(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
Array.
getDate
public final java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Date.
getTime
public final java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Time.
getTimestamp
public final java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.sql.Timestamp.
getURL
public final java.net.URL getURL(java.lang.String parameterName) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.net.URL.
getURL
public final java.net.URL getURL(int i) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method returns the value of the specified parameter as a Java
java.net.URL.
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type.
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b, int c) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type. This version of registerOutParameter is used
for NUMERIC or DECIMAL types.
registerOutParameter
public final void registerOutParameter(java.lang.String a, int b, java.lang.String c) throws java.sql.SQLException
- Description copied from interface:
java.sql.CallableStatement - This method registers the specified parameter as an output parameter
of the specified SQL type. This version of registerOutParameter is used
for user-named or REF types. If the type of the output parameter does
not have such a type, the typeName argument is ignored.
setURL
public final void setURL(int i,
java.net.URL x)
throws java.sql.SQLException
- Description copied from interface:
java.sql.PreparedStatement - This method sets the specified parameter from the given Java
java.net.URLvalue.
getParameterMetaData
public final java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException
- Description copied from interface:
java.sql.PreparedStatement - Returns information about the parameters set on this
PreparedStatement(see java.sql.ParameterMetaData for a detailed description of the provided information).
createDuplicateStatement
public java.sql.CallableStatement createDuplicateStatement(java.sql.Connection conn, java.sql.CallableStatement oldStatement) throws java.sql.SQLException
- Create a duplicate CalableStatement to this, including state, from the passed in Connection.
- Overrides:
createDuplicateStatementin classBrokeredCallableStatement
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC