public class PrepStmtQuerySource extends java.lang.Object implements QuerySource<PrepStmtQueryConfig>
QuerySource.SubQueryTransaction
Constructor and Description |
---|
PrepStmtQuerySource() |
Modifier and Type | Method and Description |
---|---|
QuerySource.SubQueryTransaction |
begin(ReportExecutionContext context,
PrepStmtQueryConfig config,
QueryResults parent)
Begin a nested query "transaction".
|
java.lang.String |
getId()
The unique ID for this query source.
|
Dataset |
query(ReportExecutionContext execContext,
PrepStmtQueryConfig config)
Execute a top level query.
|
public java.lang.String getId()
QuerySource
getId
in interface QuerySource<PrepStmtQueryConfig>
public Dataset query(ReportExecutionContext execContext, PrepStmtQueryConfig config) throws java.lang.Exception
QuerySource
query
in interface QuerySource<PrepStmtQueryConfig>
execContext
- The context for the report being executed.config
- The config object which was configured in the designer for this query.java.lang.Exception
public QuerySource.SubQueryTransaction begin(ReportExecutionContext context, PrepStmtQueryConfig config, QueryResults parent) throws java.lang.Exception
QuerySource
begin
in interface QuerySource<PrepStmtQueryConfig>
context
- The context for the report being executedconfig
- The config object which was configured in designer for this nested query.parent
- The QueryResults object for the parent query of this nested query.java.lang.Exception