public class ParameterMetaData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PARAMETER_VALUE |
protected Query |
query |
static java.lang.String |
TARGET_PARAMETER_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
ParameterMetaData(Query query) |
| Modifier and Type | Method and Description |
|---|---|
protected EClassifier |
getParameterClassifier(int param)
Returns the data provider specific type for the specified parameter.
|
protected EClassifier |
getParameterClassifier(java.lang.String name) |
int |
getParameterCount() |
java.lang.Object |
getParameterDefaultValue(java.lang.String name) |
int |
getParameterMode(int param) |
java.lang.String |
getParameterName(int param) |
int |
getParameterType(int param) |
java.lang.String |
getParameterTypeName(int param) |
int |
getPrecision(int param) |
int |
getScale(int param) |
int |
isNullable(int param) |
public static final java.lang.String TARGET_PARAMETER_NAME
public static final java.lang.String DEFAULT_PARAMETER_VALUE
protected final Query query
protected ParameterMetaData(Query query)
public int getParameterCount()
throws OdaException
OdaExceptionpublic int getParameterMode(int param)
throws OdaException
OdaExceptionpublic java.lang.String getParameterName(int param)
throws OdaException
OdaExceptionpublic java.lang.Object getParameterDefaultValue(java.lang.String name)
throws OdaException
OdaExceptionprotected EClassifier getParameterClassifier(java.lang.String name) throws OdaException
OdaExceptionprotected EClassifier getParameterClassifier(int param) throws OdaException
param - 1-based index of the parameterOdaException - if data source error occurspublic int getParameterType(int param)
throws OdaException
OdaExceptionpublic java.lang.String getParameterTypeName(int param)
throws OdaException
OdaExceptionpublic int getPrecision(int param)
throws OdaException
OdaExceptionpublic int getScale(int param)
throws OdaException
OdaExceptionpublic int isNullable(int param)
throws OdaException
OdaException