Interface QuerySource.SubQueryTransaction
-
- Enclosing interface:
- QuerySource<T extends QueryConfig>
public static interface QuerySource.SubQueryTransactionUsed to handle multiple executions of a nested query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinish()A chance to clean up.Datasetquery(int parentRow)Execute a nested query for a single row of the parent query
-
-
-
Method Detail
-
query
Dataset query(int parentRow) throws java.lang.Exception
Execute a nested query for a single row of the parent query- Parameters:
parentRow- The index of the row in the parent's QueryResults' coreResults dataset- Returns:
- The results of the nested query
- Throws:
java.lang.Exception
-
finish
void finish() throws java.lang.ExceptionA chance to clean up. Will be called from a finally() block, so it is safe to close connections here.- Throws:
java.lang.Exception
-
-