public interface SQLOutputRowConversion
Rows can also be skipped via this callback, determined by the implementation returning a null value for a row.
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.
Modifier and Type | Method and Description |
---|---|
Object |
getOutputRow(SQLOutputRowValueContext context)
Returns the POJO object that represents a row of the SQL query result, or null to indicate to skip this row.
|
Class |
getOutputRowType(SQLOutputRowTypeContext context)
Return the POJO class that represents a row of the SQL query result.
|
Class getOutputRowType(SQLOutputRowTypeContext context)
context
- receives the context information such as database name, query fired and types returned by queryObject getOutputRow(SQLOutputRowValueContext context)
context
- receives row result information