Interface QueryUtil.ResultProcessor<U>
-
- Type Parameters:
U
- The type returned from the result processor, must extend T
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface QueryUtil.ResultProcessor<U>
Callback for processing the result
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
noResult()
Callback to indicate that the result set had no resultsU
processResult(ResultSet result)
Called once per result.
-
-
-
Method Detail
-
noResult
default void noResult() throws SQLException
Callback to indicate that the result set had no results- Throws:
SQLException
- on failures
-
processResult
U processResult(ResultSet result) throws sailpoint.tools.GeneralException, SQLException
Called once per result.Do not call “next” on the ResultSet here.
- Parameters:
result
- The result set at the current point- Returns:
- An object of type T
- Throws:
sailpoint.tools.GeneralException
- on any Sailpoint failuresSQLException
- on any database failures
-
-