|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLColumnTypeConversion
Implement this interface when providing a callback for SQL input parameter and column result processing for a statement, converting an input parameter or converting an output column value into any other value.
An instance of the class implementating this interface exists typically per statement that the callback has been registered for by means of EPL statement annotation.
Method Summary | |
---|---|
java.lang.Class |
getColumnType(SQLColumnTypeContext context)
Return the new type of the column. |
java.lang.Object |
getColumnValue(SQLColumnValueContext context)
Return the new value of the column. |
java.lang.Object |
getParameterValue(SQLInputParameterContext context)
Return the new value of the input parameter. |
Method Detail |
---|
java.lang.Class getColumnType(SQLColumnTypeContext context)
SQLColumnTypeContext.getColumnClassType()
or null.
context
- contains the database name, query fired, column name, column type and column number
java.lang.Object getColumnValue(SQLColumnValueContext context)
SQLColumnValueContext.getColumnValue()
.
context
- contains the column name, column value and column number
java.lang.Object getParameterValue(SQLInputParameterContext context)
SQLInputParameterContext.getParameterValue()
.
context
- contains the parameter name and number
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |