|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RogLogQuery
A RogLogQuery
is used to query a RogLog
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.neeve.query.Query |
---|
Query.SortOrder |
Method Summary | ||
---|---|---|
RogLogQuery |
from(QueryRepository<?,RogLog.Entry> repository)
Indicates the repository from which to select. |
|
RogLogQuery |
from(String repositoryName)
Indicates the name of the repository from which to select. repositoryName may be either the name of the QueryRepository as returned by
QueryRepository.getName() or by an alias with which it was registered
when added to the QueryEngine.addRepository(QueryRepository, String) |
|
|
groupBy(IdxField<RogLog.Entry,T> field)
Adds an IdxField to the group-by clause of the query. |
|
RogLogQuery |
having(Predicate<RogLog.Entry> predicate)
Indicates the predicate to apply against the aggregated result set. |
|
RogLogQuery |
limit(int size)
Restrict the number of rows to be less than or equal to high. |
|
RogLogQuery |
limit(int low,
int high)
Restrict the number of rows to be strictly greater than low and less than or equal to high. |
|
|
orderBy(IdxField<RogLog.Entry,T> field)
Indicate that the result set should be ordered by this field's value in ascending order. |
|
|
orderBy(IdxField<RogLog.Entry,T> field,
Query.SortOrder sortOrder)
Indicate that the result set should be ordered by this field's value. |
|
|
select(IdxField<RogLog.Entry,T> field)
Indicates that a particular field should be selected in the the QueryResult . |
|
RogLogQuery |
where(Predicate<RogLog.Entry> predicate)
Indicates the predicate to apply against the result set. |
Methods inherited from interface com.neeve.query.Query |
---|
distinct |
Method Detail |
---|
<T> RogLogQuery select(IdxField<RogLog.Entry,T> field)
Query
QueryResult
.
select
in interface Query<RogLog.Entry>
field
- The field from the class on which to select.
Query
for invocation chaining.RogLogQuery from(String repositoryName)
Query
QueryRepository
as returned by
QueryRepository.getName()
or by an alias with which it was registered
when added to the QueryEngine.addRepository(QueryRepository, String)
from
in interface Query<RogLog.Entry>
repositoryName
- The name or alias of a repository from which to select.
Query
for invocation chaining.RogLogQuery from(QueryRepository<?,RogLog.Entry> repository)
Query
from
in interface Query<RogLog.Entry>
repository
- The repository from which to select
Query
for invocation chaining.RogLogQuery where(Predicate<RogLog.Entry> predicate)
Query
where
in interface Query<RogLog.Entry>
predicate
- Set the predicate used to select.
Query
for invocation chaining.<T> RogLogQuery orderBy(IdxField<RogLog.Entry,T> field, Query.SortOrder sortOrder)
Query
orderBy
in interface Query<RogLog.Entry>
field
- The field by which to order results.sortOrder
- The order by which to sort results.
Query
for invocation chaining.<T> RogLogQuery orderBy(IdxField<RogLog.Entry,T> field)
Query
orderBy
in interface Query<RogLog.Entry>
field
- The field by which to order results.
Query
for invocation chaining.<T> RogLogQuery groupBy(IdxField<RogLog.Entry,T> field)
Query
IdxField
to the group-by clause of the query.
groupBy
in interface Query<RogLog.Entry>
field
- The field by which to group.
Query
for invocation chaining.RogLogQuery having(Predicate<RogLog.Entry> predicate)
Query
having
in interface Query<RogLog.Entry>
predicate
- Set the predicate used to select.
Query
for invocation chaining.RogLogQuery limit(int size)
Query
limit
in interface Query<RogLog.Entry>
size
- The upper limit, inclusive.RogLogQuery limit(int low, int high)
Query
limit
in interface Query<RogLog.Entry>
low
- the lower limit, inclusive.high
- the upper limit, inclusive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |