org.olap4j
public interface OlapParameterMetaData extends ParameterMetaData
ParameterMetaData
for parameters of OLAP statements.
Chief differences:
ParameterMetaData.getParameterType(int)
method returns
Types.OTHER
.
getParameterOlapType(int)
provides extra
type information; in particular, the hierarchy that a member parameter
belongs to.
Parameters to an OLAP statement must have default values, and therefore it is not necessary to set every parameter.
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
Modifier and Type | Method and Description |
---|---|
String |
getParameterName(int param)
Returns the name of this parameter.
|
Type |
getParameterOlapType(int param)
Retrieves the designated parameter's OLAP type.
|
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
isWrapperFor, unwrap
String getParameterName(int param) throws OlapException
param
- the first parameter is 1, the second is 2, ...OlapException
- if a database access error occursType getParameterOlapType(int param) throws OlapException
param
- the first parameter is 1, the second is 2, ...OlapException
- if a database access error occurs