| Modifier and Type | Field and Description |
|---|---|
| private final BaseConnection | |
| private final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | getParameterClassName(@Positive int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method |
| public int | getParameterCount()
Implements java. Retrieves the number of parameters in the |
| public int | getParameterMode(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's mode. |
| public int | getParameterType(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's SQL type. |
| public String | getParameterTypeName(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's database-specific type name. |
| public int | getPrecision(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's specified column size. |
| public int | getScale(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's number of digits to right of the decimal point. |
| public int | isNullable(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves whether null values are allowed in the designated parameter. |
| public boolean | isSigned(int
the first parameter is 1, the second is 2, ... param)Implements java. Retrieves whether values for the designated parameter can be signed numbers. |
| public boolean | isWrapperFor(Class<?>
a Class defining an interface. iface)Implements java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
| public <T> T | unwrap(Class<T>
A Class defining an interface that the result must implement. iface)Implements java. Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
| connection | back to summary |
|---|---|
| private final BaseConnection connection | |
| oids | back to summary |
|---|---|
| private final int[] oids | |
| PgParameterMetaData | back to summary |
|---|---|
| public PgParameterMetaData(BaseConnection connection, int[] oids) | |
| checkParamIndex | back to summary |
|---|---|
| private void checkParamIndex(int param) throws PSQLException | |
| getParameterClassName | back to summary |
|---|---|
| public String getParameterClassName(@Positive int param) throws SQLException Implements java. Doc from java. Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements java. Doc from java. Retrieves the number of parameters in the
| |
| getParameterMode | back to summary |
|---|---|
| public int getParameterMode(int param) throws SQLException Implements java. Doc from java. Retrieves the designated parameter's mode. For now report all parameters as inputs. CallableStatements may have one output, but ignore that for now.
| |
| getParameterType | back to summary |
|---|---|
| public int getParameterType(int param) throws SQLException Implements java. Doc from java. Retrieves the designated parameter's SQL type.
| |
| getParameterTypeName | back to summary |
|---|---|
| public String getParameterTypeName(int param) throws SQLException Implements java. Doc from java. Retrieves the designated parameter's database-specific type name.
| |
| getPrecision | back to summary |
|---|---|
| public int getPrecision(int param) throws SQLException Implements java. Doc from java. Retrieves the designated parameter's specified column size. The returned value represents the maximum column size for the given parameter. For numeric data, this is the maximum precision. For character data, this is the length in characters. For datetime datatypes, this is the length in characters of the String representation (assuming the maximum allowed precision of the fractional seconds component). For binary data, this is the length in bytes. For the ROWID datatype, this is the length in bytes. 0 is returned for data types where the column size is not applicable.
| |
| getScale | back to summary |
|---|---|
| public int getScale(int param) throws SQLException Implements java. Doc from java. Retrieves the designated parameter's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.
| |
| isNullable | back to summary |
|---|---|
| public int isNullable(int param) throws SQLException Implements java. Doc from java. Retrieves whether null values are allowed in the designated parameter.
| |
| isSigned | back to summary |
|---|---|
| public boolean isSigned(int param) throws SQLException Implements java. Doc from java. Retrieves whether values for the designated parameter can be signed numbers. PostgreSQL doesn't have unsigned numbers
| |
| isWrapperFor | back to summary |
|---|---|
| public boolean isWrapperFor(Class<?> iface) throws SQLException Implements java. Doc from java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does. Returns false otherwise. If this implements the interface then return true,
else if this is a wrapper then return the result of recursively calling
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> iface) throws SQLException Implements java. Doc from java. Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy.
If the receiver implements the interface then the result is the receiver
or a proxy for the receiver. If the receiver is a wrapper
and the wrapped object implements the interface then the result is the
wrapped object or a proxy for the wrapped object. Otherwise return the
the result of calling
| |