Package org.postgresql.jdbc
Class PgParameterMetaData
java.lang.Object
org.postgresql.jdbc.PgParameterMetaData
- All Implemented Interfaces:
ParameterMetaData
,Wrapper
-
Field Summary
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParameterClassName
(@org.checkerframework.checker.index.qual.Positive int param) int
int
getParameterMode
(int param) For now report all parameters as inputs.int
getParameterType
(int param) getParameterTypeName
(int param) int
getPrecision
(int param) int
getScale
(int param) int
isNullable
(int param) boolean
isSigned
(int param) PostgreSQL doesn't have unsigned numbersboolean
isWrapperFor
(Class<?> iface) <T> T
-
Constructor Details
-
PgParameterMetaData
-
-
Method Details
-
getParameterClassName
public String getParameterClassName(@org.checkerframework.checker.index.qual.Positive int param) throws SQLException - Specified by:
getParameterClassName
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterCount
public int getParameterCount()- Specified by:
getParameterCount
in interfaceParameterMetaData
-
getParameterMode
For now report all parameters as inputs. CallableStatements may have one output, but ignore that for now.- Specified by:
getParameterMode
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterType
- Specified by:
getParameterType
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterTypeName
- Specified by:
getParameterTypeName
in interfaceParameterMetaData
- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecision
in interfaceParameterMetaData
- Throws:
SQLException
-
getScale
- Specified by:
getScale
in interfaceParameterMetaData
- Throws:
SQLException
-
isNullable
- Specified by:
isNullable
in interfaceParameterMetaData
- Throws:
SQLException
-
isSigned
PostgreSQL doesn't have unsigned numbers- Specified by:
isSigned
in interfaceParameterMetaData
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-