Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.skife.jdbi.v2;
 
 
 public interface Folder3<AccumulatorType, MappedType>
 {
    
Invoked once per row in the result set from the query.

Parameters:
accumulator The initial value passed to Query.fold(java.lang.Object,org.skife.jdbi.v2.Folder) for the first call, the return value from the previous call thereafter.
rs The mapped result set row to fold across
ctx The statement context for execution
Returns:
A value which will be passed to the next invocation of this function. The final invocation will be returned from the Query.fold(java.lang.Object,org.skife.jdbi.v2.Folder) call.
Throws:
java.sql.SQLException will be wrapped and rethrown as a org.skife.jdbi.v2.exceptions.CallbackFailedException
    AccumulatorType fold(AccumulatorType accumulator,
                         MappedType rs,
                         FoldController control,
                         StatementContext ctxthrows SQLException;
New to GrepCode? Check out our FAQ X