Package com.hazelcast.jet.function
Interface ToResultSetFunction
- All Superinterfaces:
 Serializable
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
A function that accepts a JDBC connection to the database, the total
 parallelism and processor index as arguments and produces a result set.
 This result set should return a part of the whole result set specific to
 this processor.
- Since:
 - Jet 3.0
 
- 
Method Summary
Modifier and TypeMethodDescriptioncreateResultSet(Connection connection, int parallelism, int index) Creates a result set which returns a part of the rows pertaining to the given processor. 
- 
Method Details
- 
createResultSet
Creates a result set which returns a part of the rows pertaining to the given processor.- Parameters:
 connection- the JDBC connectionparallelism- the total parallelism for the processorindex- the global processor index- Throws:
 SQLException
 
 -