com.neeve.rog.log
Interface RogLogQuery

All Superinterfaces:
Query<RogLog.Entry>

public interface RogLogQuery
extends Query<RogLog.Entry>

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)
<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.
 
Methods inherited from interface com.neeve.query.Query
distinct
 

Method Detail

select

<T> RogLogQuery select(IdxField<RogLog.Entry,T> field)
Description copied from interface: Query
Indicates that a particular field should be selected in the the QueryResult.

Specified by:
select in interface Query<RogLog.Entry>
Parameters:
field - The field from the class on which to select.
Returns:
This Query for invocation chaining.

from

RogLogQuery from(String repositoryName)
Description copied from interface: Query
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)

Specified by:
from in interface Query<RogLog.Entry>
Parameters:
repositoryName - The name or alias of a repository from which to select.
Returns:
This Query for invocation chaining.

from

RogLogQuery from(QueryRepository<?,RogLog.Entry> repository)
Description copied from interface: Query
Indicates the repository from which to select.

Specified by:
from in interface Query<RogLog.Entry>
Parameters:
repository - The repository from which to select
Returns:
This Query for invocation chaining.

where

RogLogQuery where(Predicate<RogLog.Entry> predicate)
Description copied from interface: Query
Indicates the predicate to apply against the result set.

Specified by:
where in interface Query<RogLog.Entry>
Parameters:
predicate - Set the predicate used to select.
Returns:
This Query for invocation chaining.

orderBy

<T> RogLogQuery orderBy(IdxField<RogLog.Entry,T> field,
                        Query.SortOrder sortOrder)
Description copied from interface: Query
Indicate that the result set should be ordered by this field's value. Note that additional calls to orderBy() will result in sorting the result set by each of these fields successively.

Specified by:
orderBy in interface Query<RogLog.Entry>
Parameters:
field - The field by which to order results.
sortOrder - The order by which to sort results.
Returns:
This Query for invocation chaining.

orderBy

<T> RogLogQuery orderBy(IdxField<RogLog.Entry,T> field)
Description copied from interface: Query
Indicate that the result set should be ordered by this field's value in ascending order. This is equivalent to calling orderBy(field, SortOrder.ASCENDING), and is provided purely as a convenience method.

Specified by:
orderBy in interface Query<RogLog.Entry>
Parameters:
field - The field by which to order results.
Returns:
This Query for invocation chaining.

groupBy

<T> RogLogQuery groupBy(IdxField<RogLog.Entry,T> field)
Description copied from interface: Query
Adds an IdxField to the group-by clause of the query.

Specified by:
groupBy in interface Query<RogLog.Entry>
Parameters:
field - The field by which to group.
Returns:
This Query for invocation chaining.

having

RogLogQuery having(Predicate<RogLog.Entry> predicate)
Description copied from interface: Query
Indicates the predicate to apply against the aggregated result set.

Specified by:
having in interface Query<RogLog.Entry>
Parameters:
predicate - Set the predicate used to select.
Returns:
This Query for invocation chaining.

limit

RogLogQuery limit(int size)
Description copied from interface: Query
Restrict the number of rows to be less than or equal to high. This is equivalent to calling limit(0,high) and is provided purely as a convenience method.

Specified by:
limit in interface Query<RogLog.Entry>
Parameters:
size - The upper limit, inclusive.

limit

RogLogQuery limit(int low,
                  int high)
Description copied from interface: Query
Restrict the number of rows to be strictly greater than low and less than or equal to high.

Specified by:
limit in interface Query<RogLog.Entry>
Parameters:
low - the lower limit, inclusive.
high - the upper limit, inclusive.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.