- java.lang.Object
-
- org.postgresql.pljava.jdbc.SPIParameterMetaData
-
- All Implemented Interfaces:
ParameterMetaData
,Wrapper
public class SPIParameterMetaData extends Object implements ParameterMetaData
Implementation ofParameterMetaData
for the SPI connection.- Author:
- Thomas Hallgren
-
-
Field Summary
-
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
-
-
Method Summary
Modifier and Type Method Description String
getParameterClassName(int arg0)
This feature is not yet supported.int
getParameterCount()
int
getParameterMode(int paramIndex)
ReturnsParameterMetaData.parameterModeIn
always since this is the only supported type at this time.int
getParameterType(int paramIndex)
String
getParameterTypeName(int arg0)
This feature is not yet supported.int
getPrecision(int arg0)
int
getScale(int arg0)
int
isNullable(int arg0)
boolean
isSigned(int arg0)
boolean
isWrapperFor(Class<?> iface)
<T> T
unwrap(Class<T> iface)
-
-
-
Method Detail
-
getParameterCount
public int getParameterCount() throws SQLException
- Specified by:
getParameterCount
in interfaceParameterMetaData
- Throws:
SQLException
-
isNullable
public int isNullable(int arg0) throws SQLException
- Specified by:
isNullable
in interfaceParameterMetaData
- Throws:
SQLException
-
isSigned
public boolean isSigned(int arg0) throws SQLException
- Specified by:
isSigned
in interfaceParameterMetaData
- Throws:
SQLException
-
getPrecision
public int getPrecision(int arg0) throws SQLException
- Specified by:
getPrecision
in interfaceParameterMetaData
- Throws:
SQLException
-
getScale
public int getScale(int arg0) throws SQLException
- Specified by:
getScale
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterType
public int getParameterType(int paramIndex) throws SQLException
- Specified by:
getParameterType
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterTypeName
public String getParameterTypeName(int arg0) throws SQLException
This feature is not yet supported.- Specified by:
getParameterTypeName
in interfaceParameterMetaData
- Throws:
SQLException
- indicating that this feature is not supported.
-
getParameterClassName
public String getParameterClassName(int arg0) throws SQLException
This feature is not yet supported.- Specified by:
getParameterClassName
in interfaceParameterMetaData
- Throws:
SQLException
- indicating that this feature is not supported.
-
getParameterMode
public int getParameterMode(int paramIndex) throws SQLException
ReturnsParameterMetaData.parameterModeIn
always since this is the only supported type at this time.- Specified by:
getParameterMode
in interfaceParameterMetaData
- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
-