public interface RogLogQuery extends Query<RogLog.Entry>
RogLogQuery is used to query a RogLog.Query.SortOrder| Modifier and Type | Method and Description |
|---|---|
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) |
<T> RogLogQuery |
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.
|
<T> RogLogQuery |
orderBy(IdxField<RogLog.Entry,T> field)
Indicate that the result set should be ordered by this field's value
in ascending order.
|
<T> RogLogQuery |
orderBy(IdxField<RogLog.Entry,T> field,
Query.SortOrder sortOrder)
Indicate that the result set should be ordered by this field's value.
|
<T> RogLogQuery |
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.
|
<T> RogLogQuery select(IdxField<RogLog.Entry,T> field)
QueryQueryResult.select in interface Query<RogLog.Entry>field - The field from the class on which to select.Query for invocation chaining.RogLogQuery from(String repositoryName)
QueryQueryRepository 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)
Queryfrom in interface Query<RogLog.Entry>repository - The repository from which to selectQuery for invocation chaining.RogLogQuery where(Predicate<RogLog.Entry> predicate)
Querywhere 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)
QueryorderBy 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)
QueryorderBy 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)
QueryIdxField 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)
Queryhaving in interface Query<RogLog.Entry>predicate - Set the predicate used to select.Query for invocation chaining.RogLogQuery limit(int size)
Querylimit in interface Query<RogLog.Entry>size - The upper limit, inclusive.RogLogQuery limit(int low, int high)
Querylimit in interface Query<RogLog.Entry>low - the lower limit, inclusive.high - the upper limit, inclusive.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.