public static interface ReportQueryInterface.BuilderInterface extends QueryBuilderInterface<ReportQueryInterface>
Modifier and Type | Interface and Description |
---|---|
static interface |
ReportQueryInterface.BuilderInterface.ReportWhereBuilderInterface<BuilderT extends ReportQueryInterface.BuilderInterface>
A builder for the WHERE clause of queries.
|
QueryBuilderInterface.WhereBuilderInterface<QueryT>
Modifier and Type | Method and Description |
---|---|
ReportQueryInterface |
build()
Builds the query from the attributes of this builder.
|
ReportQueryInterface.BuilderInterface |
during(Enum<?> dateRange)
Specifies a date range for the DURING clause of a report query.
|
ReportQueryInterface.BuilderInterface |
during(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
Specifies start and end dates for the DURING clause of a report query.
|
ReportQueryInterface.BuilderInterface |
fields(Iterable<String> fields)
Selects the provided fields for building a report query.
|
ReportQueryInterface.BuilderInterface |
fields(String... fields)
Selects the provided fields for building as a query.
|
ReportQueryInterface.BuilderInterface |
from(Enum<?> reportType)
Specifies a report type to be used as the FROM clause of a report query.
|
ReportQueryInterface.BuilderInterface |
from(String reportType)
Specifies a report type to be used as the FROM clause of a report query.
|
ReportQueryInterface.BuilderInterface.ReportWhereBuilderInterface |
where(String field)
Set the condition of this query as the WHERE clause.
|
ReportQueryInterface.BuilderInterface fields(String... fields)
QueryBuilderInterface
fields
in interface QueryBuilderInterface<ReportQueryInterface>
fields
- the provided fields to be selectedReportQueryInterface.BuilderInterface fields(Iterable<String> fields)
QueryBuilderInterface
fields
in interface QueryBuilderInterface<ReportQueryInterface>
fields
- the fields to be selectedReportQueryInterface.BuilderInterface.ReportWhereBuilderInterface where(String field)
QueryBuilderInterface
where
in interface QueryBuilderInterface<ReportQueryInterface>
field
- the field of the given entity to be filtered onReportQueryInterface build()
QueryBuilderInterface
build
in interface QueryBuilderInterface<ReportQueryInterface>
ReportQueryInterface.BuilderInterface from(Enum<?> reportType)
reportType
- the report type to be used as the FROM clauseReportQueryInterface.BuilderInterface from(String reportType)
reportType
- the report type to be used as the FROM clauseReportQueryInterface.BuilderInterface during(Enum<?> dateRange)
dateRange
- the date range to be used in the DURING clauseReportQueryInterface.BuilderInterface during(org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
startDate
- the start date to be used in the DURING clauseendDate
- the end date to be used in the DURING clauseCopyright © 2018. All Rights Reserved.