public static interface ServiceQueryInterface.BuilderInterface<PageT,SortOrderT> extends QueryBuilderInterface<ServiceQueryInterface<PageT>>
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceQueryInterface.BuilderInterface.ServiceWhereBuilderInterface<PageT,SortOrderT,BuilderT extends ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>>
A builder for the WHERE clause of queries.
|
QueryBuilderInterface.WhereBuilderInterface<QueryT>
ServiceQueryInterface.BuilderInterface<PageT,SortOrderT> fields(EntityField... fields)
fields
- the provided fields to be selectedServiceQueryInterface.BuilderInterface<PageT,SortOrderT> fields(String... fields)
QueryBuilderInterface
fields
in interface QueryBuilderInterface<ServiceQueryInterface<PageT>>
fields
- the provided fields to be selectedServiceQueryInterface.BuilderInterface<PageT,SortOrderT> fields(Iterable<String> fields)
QueryBuilderInterface
fields
in interface QueryBuilderInterface<ServiceQueryInterface<PageT>>
fields
- the fields to be selectedServiceQueryInterface.BuilderInterface.ServiceWhereBuilderInterface<PageT,SortOrderT,? extends ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>> where(EntityField field)
field
- the field of the given entity to be filtered onServiceQueryInterface.BuilderInterface.ServiceWhereBuilderInterface<PageT,SortOrderT,? extends ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>> where(String field)
QueryBuilderInterface
where
in interface QueryBuilderInterface<ServiceQueryInterface<PageT>>
field
- the field of the given entity to be filtered onServiceQueryInterface<PageT> build()
QueryBuilderInterface
build
in interface QueryBuilderInterface<ServiceQueryInterface<PageT>>
ServiceQueryInterface.BuilderInterface<PageT,SortOrderT> orderBy(EntityField field)
field
- the field to be added to the ORDER BY listServiceQueryInterface.BuilderInterface<PageT,SortOrderT> orderBy(EntityField field, SortOrderT order)
field
- the field to be added to the ORDER BY listServiceQueryInterface.BuilderInterface<PageT,SortOrderT> orderBy(String field)
field
- the field to be added to the ORDER BY listServiceQueryInterface.BuilderInterface<PageT,SortOrderT> orderBy(String field, SortOrderT order)
field
- the field to be added to the ORDER BY listServiceQueryInterface.BuilderInterface<PageT,SortOrderT> limit(int startIndex, int pageSize)
startIndex
- the specified start index for the LIMIT clausepageSize
- the specified page size for the LIMIT clauseCopyright © 2018. All Rights Reserved.