public class PhoenixParameterMetaData extends Object implements ParameterMetaData
Modifier and Type | Field and Description |
---|---|
static PhoenixParameterMetaData |
EMPTY_PARAMETER_META_DATA |
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
Constructor and Description |
---|
PhoenixParameterMetaData(int paramCount) |
Modifier and Type | Method and Description |
---|---|
void |
addParam(BindParseNode bind,
PDatum datum) |
String |
getParameterClassName(int index) |
int |
getParameterCount() |
int |
getParameterMode(int index) |
int |
getParameterType(int index) |
String |
getParameterTypeName(int index) |
int |
getPrecision(int index) |
int |
getScale(int index) |
int |
isNullable(int index) |
boolean |
isSigned(int index) |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
public static final PhoenixParameterMetaData EMPTY_PARAMETER_META_DATA
public String getParameterClassName(int index) throws SQLException
getParameterClassName
in interface ParameterMetaData
SQLException
public int getParameterCount() throws SQLException
getParameterCount
in interface ParameterMetaData
SQLException
public int getParameterMode(int index) throws SQLException
getParameterMode
in interface ParameterMetaData
SQLException
public int getParameterType(int index) throws SQLException
getParameterType
in interface ParameterMetaData
SQLException
public String getParameterTypeName(int index) throws SQLException
getParameterTypeName
in interface ParameterMetaData
SQLException
public int getPrecision(int index) throws SQLException
getPrecision
in interface ParameterMetaData
SQLException
public int getScale(int index) throws SQLException
getScale
in interface ParameterMetaData
SQLException
public int isNullable(int index) throws SQLException
isNullable
in interface ParameterMetaData
SQLException
public boolean isSigned(int index) 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
public void addParam(BindParseNode bind, PDatum datum) throws SQLException
SQLException
Copyright © 2019 Apache Software Foundation. All Rights Reserved.