appendContextSubQuery
public Query appendContextSubQuery(ReportRegistryEntry entry,
TabularReportMetadata md,
ReportContext rc,
Query query)
If the report context necessitates the query be appended with additional clauses. This is where the additional
query parameters need to be included. A query on top of the base query passed in along with any additional
modifications should be returned if applicable. Otherwise it should just return the original query if there is
no need.
- Parameters:
entry
- The report registry entry for this report.
md
- All the metadata for this report.
rc
- The report context to determine if this query needs appending.
query
- The base query as passed in from UI.
- Returns: