| Modifier and Type | Field and Description |
|---|---|
| protected @Nullable @Nullable Object[] | |
| private @Nullable int[] | |
| private final boolean | |
| private int | |
| private boolean | |
| private @Nullable int[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | PgCallableStatement(PgConnection connection, String sql, int rsType, int rsConcurrency, int rsHoldability)
|
| Modifier and Type | Method and Description |
|---|---|
| protected @Nullable Object | checkIndex(@Positive int
parameter index (1-based) parameterIndex, int type 1 type1, int type 2 type2, String getter name getName)helperfunction for the getXXX calls to check isFunction and index == 1 Compare BOTH type fields against the return type. |
| protected @Nullable Object | checkIndex(@Positive int
parameter index (1-based) parameterIndex, int type type, String getter name getName)Helper function for the getXXX calls to check isFunction and index == 1. |
| protected BatchResultHandler | |
| public int | executeUpdate()
Overrides org. Implements java. Executes the SQL statement in this |
| public boolean | executeWithFlags(int
additional flags)QueryExecutor flags for execution; these are bitwise-ORed into
the default flags.Overrides org. Implements org. Execute a prepared query, passing additional query flags. |
| public @Nullable Array | getArray(int
the first parameter is 1, the second is 2, and
so on i)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Array | getArray(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable BigDecimal | getBigDecimal(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex, int the number of digits to the right of the decimal point scale)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable BigDecimal | getBigDecimal(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable BigDecimal | getBigDecimal(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Blob | getBlob(int
the first parameter is 1, the second is 2, and so on i)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Blob | getBlob(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public boolean | getBoolean(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public boolean | getBoolean(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public byte | getByte(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public byte | getByte(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable byte[] | getBytes(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable byte[] | getBytes(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| private @Nullable Object | |
| public @Nullable Reader | getCharacterStream(@Positive int
the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated parameter as a
|
| public @Nullable Reader | getCharacterStream(String
the name of the parameter parameterName)Implements java. Retrieves the value of the designated parameter as a
|
| public @Nullable Clob | getClob(int
the first parameter is 1, the second is 2, and
so on i)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Clob | getClob(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Date | getDate(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Date | getDate(int
the first parameter is 1, the second is 2,
and so on i, @Nullable Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Retrieves the value of the designated JDBC |
| public @Nullable Date | getDate(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Date | getDate(String
the name of the parameter parameterName, @Nullable Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Retrieves the value of a JDBC |
| public double | getDouble(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public double | getDouble(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public float | getFloat(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public float | getFloat(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public int | getInt(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public int | getInt(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public long | getLong(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public long | getLong(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Reader | getNCharacterStream(@Positive int
the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated parameter as a
|
| public @Nullable Reader | getNCharacterStream(String
the name of the parameter parameterName)Implements java. Retrieves the value of the designated parameter as a
|
| public @Nullable NClob | getNClob(@Positive int
the first parameter is 1, the second is 2, and
so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable NClob | getNClob(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public String | getNString(@Positive int
index of the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated |
| public @Nullable String | getNString(String
the name of the parameter parameterName)Implements java. Retrieves the value of the designated |
| public @Nullable Object | getObject(@Positive int
the first parameter is 1, the second is 2, and so on i, @Nullable Map<String, Class<?>> the mapping from SQL type names to Java classes map)Implements java. Returns an object representing the value of OUT parameter
|
| public @Nullable Object | getObject(String
the name of the parameter s, @Nullable Map<String, Class<?>> the mapping from SQL type names to Java classes map)Implements java. Returns an object representing the value of OUT parameter
|
| public @Nullable Object | getObject(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated parameter as an |
| public <T> @Nullable T | getObject(@Positive int
the first parameter is 1, the second is 2, and so on parameterIndex, Class<T> Class representing the Java data type to convert the
designated parameter to. type)Implements java. Returns an object representing the value of OUT parameter
|
| public <T> @Nullable T | getObject(String
the name of the parameter parameterName, Class<T> Class representing the Java data type to convert
the designated parameter to. type)Implements java. Returns an object representing the value of OUT parameter
|
| public @Nullable Object | getObject(String
the name of the parameter parameterName)Implements java. Retrieves the value of a parameter as an |
| public @Nullable Object | |
| public @Nullable Object | |
| public @Nullable Ref | getRef(int
the first parameter is 1, the second is 2,
and so on i)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Ref | getRef(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable RowId | getRowId(@Positive int
the first parameter is 1, the second is 2,... parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable RowId | getRowId(String
the name of the parameter parameterName)Implements java. Retrieves the value of the designated JDBC |
| public short | getShort(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public short | getShort(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable SQLXML | getSQLXML(@Positive int
index of the first parameter is 1, the second is 2, ... parameterIndex)Implements java. Retrieves the value of the designated |
| public @Nullable SQLXML | getSQLXML(String
the name of the parameter parameterIndex)Implements java. Retrieves the value of the designated |
| public @Nullable String | getString(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable String | getString(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Time | getTime(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Time | getTime(int
the first parameter is 1, the second is 2,
and so on i, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Retrieves the value of the designated JDBC |
| public Time | getTime(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Time | getTime(String
the name of the parameter parameterName, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Retrieves the value of a JDBC |
| public @Nullable Timestamp | getTimestamp(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable Timestamp | getTimestamp(int
the first parameter is 1, the second is 2,
and so on i, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Retrieves the value of the designated JDBC |
| public @Nullable Timestamp | getTimestamp(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public @Nullable Timestamp | getTimestamp(String
the name of the parameter parameterName, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Retrieves the value of a JDBC |
| public @Nullable URL | getURL(@Positive int
the first parameter is 1, the second is 2,... parameterIndex)Implements java. Retrieves the value of the designated JDBC |
| public @Nullable URL | getURL(String
the name of the parameter parameterName)Implements java. Retrieves the value of a JDBC |
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,... parameterIndex, int SQL type code defined by java.sql.Types; for parameters of type Numeric or
Decimal use the version of registerOutParameter that accepts a scale value sqlType)Implements java. Registers the OUT parameter in ordinal position
|
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,... parameterIndex, int a value from sqlType, String java.the fully-qualified name of an SQL structured type typeName)Implements java. Registers the designated output parameter. |
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex, SQLType the JDBC type code defined by sqlType)SQLType to use to
register the OUT Parameter.
If the parameter is of JDBC type JDBCType.NUMERIC
or JDBCType.DECIMAL, the version of
registerOutParameter that accepts a scale value
should be used.Overrides default java. Registers the OUT parameter in ordinal position
|
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex, SQLType the JDBC type code defined by sqlType, int SQLType to use to
register the OUT Parameter.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Overrides default java. Registers the parameter in ordinal position
|
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,... parameterIndex, SQLType the JDBC type code defined by sqlType, String SQLType to use to
register the OUT Parameter.the fully-qualified name of an SQL structured type typeName)Overrides default java. Registers the designated output parameter. |
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType)SQLType to use to
register the OUT Parameter.
If the parameter is of JDBC type JDBCType.NUMERIC
or JDBCType.DECIMAL, the version of
registerOutParameter that accepts a scale value
should be used.Overrides default java. Registers the OUT parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType, int SQLType to use to
register the OUT Parameter.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Overrides default java. Registers the parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, SQLType the JDBC type code defined by sqlType, String SQLType to use to
register the OUT Parameter.the fully-qualified name of an SQL structured type typeName)Overrides default java. Registers the designated output parameter. |
| public void | registerOutParameter(String
the name of the parameter parameterName, int the JDBC type code defined by sqlType)java.sql.Types.
If the parameter is of JDBC type NUMERIC
or DECIMAL, the version of
registerOutParameter that accepts a scale value
should be used.Implements java. Registers the OUT parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, int SQL type code defined by sqlType, int java.sql.Types.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Implements java. Registers the parameter named
|
| public void | registerOutParameter(String
the name of the parameter parameterName, int a value from sqlType, String java.the fully-qualified name of an SQL structured type typeName)Implements java. Registers the designated output parameter. |
| public void | registerOutParameter(@Positive int
the first parameter is 1, the second is 2,
and so on parameterIndex, int the SQL type code defined by sqlType, int java.sql.Types.the desired number of digits to the right of the
decimal point. It must be greater than or equal to zero. scale)Implements java. Registers the parameter in ordinal position
|
| public void | setAsciiStream(String
the name of the parameter parameterName, @Nullable InputStream the Java input stream that contains the ASCII parameter value value, long the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setAsciiStream(String
the name of the parameter parameterName, @Nullable InputStream the Java input stream that contains the ASCII parameter value value)Implements java. Sets the designated parameter to the given input stream. |
| public void | setAsciiStream(String
the name of the parameter parameterName, @Nullable InputStream the Java input stream that contains the ASCII parameter value x, int the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setBigDecimal(String
the name of the parameter parameterName, @Nullable BigDecimal the parameter value x)Implements java. Sets the designated parameter to the given
|
| public void | setBinaryStream(String
the name of the parameter parameterName, @Nullable InputStream the java input stream which contains the binary parameter value value, long the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setBinaryStream(String
the name of the parameter parameterName, @Nullable InputStream the java input stream which contains the binary parameter value value)Implements java. Sets the designated parameter to the given input stream. |
| public void | setBinaryStream(String
the name of the parameter parameterName, @Nullable InputStream the java input stream which contains the binary parameter value x, int the number of bytes in the stream length)Implements java. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setBlob(String
the name of the parameter to be set
the second is 2, ... parameterName, @Nullable InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Implements java. Sets the designated parameter to an |
| public void | setBlob(String
the name of the parameter parameterName, @Nullable InputStream An object that contains the data to set the parameter
value to. inputStream)Implements java. Sets the designated parameter to an |
| public void | setBlob(String
the name of the parameter parameterName, @Nullable Blob a x)Blob object that maps an SQL BLOB valueImplements java. Sets the designated parameter to the given |
| public void | setBoolean(String
the name of the parameter parameterName, boolean the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setByte(String
the name of the parameter parameterName, byte the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setBytes(String
the name of the parameter parameterName, @Nullable byte[] the parameter value x)Implements java. Sets the designated parameter to the given Java array of bytes. |
| public void | setCharacterStream(String
the name of the parameter parameterName, @Nullable Reader the value, long java.io.Reader object that
contains the UNICODE data used as the designated parameterthe number of characters in the stream length)Implements java. Sets the designated parameter to the given |
| public void | setCharacterStream(String
the name of the parameter parameterName, @Nullable Reader the value)java.io.Reader object that contains the
Unicode dataImplements java. Sets the designated parameter to the given |
| public void | setCharacterStream(String
the name of the parameter parameterName, @Nullable Reader the reader, int java.io.Reader object that
contains the UNICODE data used as the designated parameterthe number of characters in the stream length)Implements java. Sets the designated parameter to the given |
| public void | setClob(String
the name of the parameter to be set parameterName, @Nullable Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public void | setClob(String
the name of the parameter parameterName, @Nullable Reader An object that contains the data to set the parameter value to. reader)Implements java. Sets the designated parameter to a |
| public void | setClob(String
the name of the parameter parameterName, @Nullable Clob a x)Clob object that maps an SQL CLOB valueImplements java. Sets the designated parameter to the given |
| public void | setDate(String
the name of the parameter parameterName, @Nullable Date the parameter value x)Implements java. Sets the designated parameter to the given |
| public void | setDate(String
the name of the parameter parameterName, @Nullable Date the parameter value x, @Nullable Calendar the cal)Calendar object the driver will use
to construct the dateImplements java. Sets the designated parameter to the given |
| public void | setDouble(String
the name of the parameter parameterName, double the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setFloat(String
the name of the parameter parameterName, float the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setInt(String
the name of the parameter parameterName, int the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setLong(String
the name of the parameter parameterName, long the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setNCharacterStream(String
the name of the parameter to be set parameterName, @Nullable Reader the parameter value value, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public void | setNCharacterStream(String
the name of the parameter parameterName, @Nullable Reader the parameter value value)Implements java. Sets the designated parameter to a |
| public void | setNClob(String
the name of the parameter to be set parameterName, @Nullable NClob the parameter value value)Implements java. Sets the designated parameter to a |
| public void | setNClob(String
the name of the parameter to be set parameterName, @Nullable Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Sets the designated parameter to a |
| public void | setNClob(String
the name of the parameter parameterName, @Nullable Reader An object that contains the data to set the parameter value to. reader)Implements java. Sets the designated parameter to a |
| public void | setNString(String
the name of the parameter to be set parameterName, @Nullable String the parameter value value)Implements java. Sets the designated parameter to the given |
| public void | setNull(String
the name of the parameter parameterName, int the SQL type code defined in sqlType)java.sql.TypesImplements java. Sets the designated parameter to SQL |
| public void | setNull(String
the name of the parameter parameterName, int a value from sqlType, String java.sql.Typesthe fully-qualified name of an SQL user-defined type;
ignored if the parameter is not a user-defined type or
SQL typeName)REF valueImplements java. Sets the designated parameter to SQL |
| public void | setObject(String
the name of the parameter parameterName, @Nullable Object the object containing the input parameter value x, SQLType the SQL type to be
sent to the database. The scale argument may further qualify this type. targetSqlType, int for scaleOrLength)java.sql.JDBCType.DECIMAL
or java.sql.JDBCType.NUMERIC types,
this is the number of digits after the decimal point. For
Java Object types InputStream and Reader,
this is the length
of the data in the stream or reader. For all other types,
this value will be ignored.Overrides default java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, @Nullable Object the object containing the input parameter value x, SQLType the SQL type to be sent to the database targetSqlType)Overrides default java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, @Nullable Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database. The scale argument may further qualify this type. targetSqlType, int for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types,
this is the number of digits after the decimal point. For all other
types, this value will be ignored. scale)Implements java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, @Nullable Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database targetSqlType)Implements java. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, @Nullable Object the object containing the input parameter value x)Implements java. Sets the value of the designated parameter with the given object. |
| public void | setRowId(String
the name of the parameter parameterName, @Nullable RowId the parameter value x)Implements java. Sets the designated parameter to the given |
| public void | setShort(String
the name of the parameter parameterName, short the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setSQLXML(String
the name of the parameter parameterName, @Nullable SQLXML a xmlObject)SQLXML object that maps an SQL XML valueImplements java. Sets the designated parameter to the given |
| public void | setString(String
the name of the parameter parameterName, @Nullable String the parameter value x)Implements java. Sets the designated parameter to the given Java |
| public void | setTime(String
the name of the parameter parameterName, @Nullable Time the parameter value x)Implements java. Sets the designated parameter to the given |
| public void | setTime(String
the name of the parameter parameterName, @Nullable Time the parameter value x, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timeImplements java. Sets the designated parameter to the given |
| public void | setTimestamp(String
the name of the parameter parameterName, @Nullable Timestamp the parameter value x)Implements java. Sets the designated parameter to the given |
| public void | setTimestamp(String
the name of the parameter parameterName, @Nullable Timestamp the parameter value x, @Nullable Calendar the cal)Calendar object the driver will use
to construct the timestampImplements java. Sets the designated parameter to the given |
| public void | setURL(String
the name of the parameter parameterName, @Nullable URL the parameter value val)Implements java. Sets the designated parameter to the given |
| public boolean | wasNull()
Implements java. Retrieves whether the last OUT parameter read had the value of
SQL |