|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FarragoSessionStmtParamDef
FarragoSessionStmtParamDef represents the definition of a dynamic parameter
used within a FarragoSessionStmtContext
. Instances of
FarragoSessionStmtParamDef are created by a FarragoSessionStmtParamDefFactory
and are used to validate dynamic parameter
values.
FarragoSessionStmtContext.setDynamicParam(int, Object)
Method Summary | |
---|---|
String |
getParamName()
Returns the name of this parameter. |
RelDataType |
getParamType()
Returns the RelDataType of this parameter. |
Object |
scrubValue(Object value)
Checks the type of a value, and throws an error if it is invalid or cannot be converted to an acceptable type. |
Object |
scrubValue(Object value,
Calendar cal)
Checks the type of a value, and throws an error if it is invalid or cannot be converted to an acceptable type. |
Method Detail |
---|
String getParamName()
RelDataType getParamType()
RelDataType
of this parameter.
RelDataType
of this parameter.Object scrubValue(Object value) throws EigenbaseException
value
-
EigenbaseException
- if value is invalid and cannot be convertedObject scrubValue(Object value, Calendar cal) throws EigenbaseException
value
- cal
- Calendar to use
EigenbaseException
- if value is invalid and cannot be converted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |