|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreQuery
A IStoreQuery
is used to query a IStoreBinding
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.neeve.query.Query |
---|
Query.SortOrder |
Method Summary | ||
---|---|---|
IStoreQuery |
from(QueryRepository<?,IStoreObject> repository)
Indicates the repository from which to select. |
|
IStoreQuery |
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<IStoreObject,T> field)
Adds an IdxField to the group-by clause of the query. |
|
|
select(IdxField<IStoreObject,T> field)
Indicates that a particular field should be selected in the the QueryResult . |
|
IStoreQuery |
where(Predicate<IStoreObject> predicate)
Indicates the predicate to apply against the result set. |
Methods inherited from interface com.neeve.query.Query |
---|
distinct, having, limit, limit, orderBy, orderBy |
Method Detail |
---|
<T> IStoreQuery select(IdxField<IStoreObject,T> field)
Query
QueryResult
.
select
in interface Query<IStoreObject>
field
- The field from the class on which to select.
Query
for invocation chaining.IStoreQuery 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<IStoreObject>
repositoryName
- The name or alias of a repository from which to select.
Query
for invocation chaining.IStoreQuery from(QueryRepository<?,IStoreObject> repository)
Query
from
in interface Query<IStoreObject>
repository
- The repository from which to select
Query
for invocation chaining.IStoreQuery where(Predicate<IStoreObject> predicate)
Query
where
in interface Query<IStoreObject>
predicate
- Set the predicate used to select.
Query
for invocation chaining.<T> IStoreQuery groupBy(IdxField<IStoreObject,T> field)
Query
IdxField
to the group-by clause of the query.
groupBy
in interface Query<IStoreObject>
field
- The field by which to group.
Query
for invocation chaining.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |