public class PgParameterMetaData extends Object implements ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
Constructor and Description |
---|
PgParameterMetaData(BaseConnection connection,
int[] oids) |
Modifier and Type | Method and Description |
---|---|
String |
getParameterClassName(@Positive int param) |
int |
getParameterCount() |
int |
getParameterMode(int param)
For now report all parameters as inputs.
|
int |
getParameterType(int param) |
String |
getParameterTypeName(int param) |
int |
getPrecision(int param) |
int |
getScale(int param) |
int |
isNullable(int param) |
boolean |
isSigned(int param)
PostgreSQL doesn't have unsigned numbers
|
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
public PgParameterMetaData(BaseConnection connection, int[] oids)
public String getParameterClassName(@Positive int param) throws SQLException
getParameterClassName
in interface ParameterMetaData
SQLException
public int getParameterCount()
getParameterCount
in interface ParameterMetaData
public int getParameterMode(int param) throws SQLException
getParameterMode
in interface ParameterMetaData
SQLException
public int getParameterType(int param) throws SQLException
getParameterType
in interface ParameterMetaData
SQLException
public String getParameterTypeName(int param) throws SQLException
getParameterTypeName
in interface ParameterMetaData
SQLException
public int getPrecision(int param) throws SQLException
getPrecision
in interface ParameterMetaData
SQLException
public int getScale(int param) throws SQLException
getScale
in interface ParameterMetaData
SQLException
public int isNullable(int param) throws SQLException
isNullable
in interface ParameterMetaData
SQLException
public boolean isSigned(int param) throws SQLException
isSigned
in interface ParameterMetaData
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.