Package com.clickhouse.jdbc.internal
Class ClickHouseParameterMetaData
- java.lang.Object
-
- com.clickhouse.jdbc.JdbcWrapper
-
- com.clickhouse.jdbc.internal.ClickHouseParameterMetaData
-
- All Implemented Interfaces:
ParameterMetaData,Wrapper
public class ClickHouseParameterMetaData extends JdbcWrapper implements ParameterMetaData
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ClickHouseColumn>params-
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClickHouseParameterMetaData(List<ClickHouseColumn> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClickHouseColumngetParameter(int param)StringgetParameterClassName(int param)intgetParameterCount()intgetParameterMode(int param)intgetParameterType(int param)StringgetParameterTypeName(int param)intgetPrecision(int param)intgetScale(int param)intisNullable(int param)booleanisSigned(int param)-
Methods inherited from class com.clickhouse.jdbc.JdbcWrapper
isWrapperFor, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Field Detail
-
params
protected final List<ClickHouseColumn> params
-
-
Constructor Detail
-
ClickHouseParameterMetaData
protected ClickHouseParameterMetaData(List<ClickHouseColumn> params)
-
-
Method Detail
-
getParameter
protected ClickHouseColumn getParameter(int param) throws SQLException
- Throws:
SQLException
-
getParameterCount
public int getParameterCount() throws SQLException- Specified by:
getParameterCountin interfaceParameterMetaData- Throws:
SQLException
-
isNullable
public int isNullable(int param) throws SQLException- Specified by:
isNullablein interfaceParameterMetaData- Throws:
SQLException
-
isSigned
public boolean isSigned(int param) throws SQLException- Specified by:
isSignedin interfaceParameterMetaData- Throws:
SQLException
-
getPrecision
public int getPrecision(int param) throws SQLException- Specified by:
getPrecisionin interfaceParameterMetaData- Throws:
SQLException
-
getScale
public int getScale(int param) throws SQLException- Specified by:
getScalein interfaceParameterMetaData- Throws:
SQLException
-
getParameterType
public int getParameterType(int param) throws SQLException- Specified by:
getParameterTypein interfaceParameterMetaData- Throws:
SQLException
-
getParameterTypeName
public String getParameterTypeName(int param) throws SQLException
- Specified by:
getParameterTypeNamein interfaceParameterMetaData- Throws:
SQLException
-
getParameterClassName
public String getParameterClassName(int param) throws SQLException
- Specified by:
getParameterClassNamein interfaceParameterMetaData- Throws:
SQLException
-
getParameterMode
public int getParameterMode(int param) throws SQLException- Specified by:
getParameterModein interfaceParameterMetaData- Throws:
SQLException
-
-