Interface QuerySource.SubQueryTransaction

Enclosing interface:
QuerySource<T extends QueryConfig>

public static interface QuerySource.SubQueryTransaction
Used to handle multiple executions of a nested query.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A chance to clean up.
    query(int parentRow)
    Execute a nested query for a single row of the parent query
  • Method Details

    • query

      Dataset query(int parentRow) throws 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:
      Exception
    • finish

      void finish() throws Exception
      A chance to clean up. Will be called from a finally() block, so it is safe to close connections here.
      Throws:
      Exception