public interface IStoreQuery extends Query<IStoreObject>
IStoreQuery is used to query a IStoreBinding.Query.SortOrder| Modifier and Type | Method and Description |
|---|---|
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) |
<T> IStoreQuery |
groupBy(IdxField<IStoreObject,T> field)
Adds an
IdxField to the group-by clause of the query. |
<T> IStoreQuery |
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.
|
<T> IStoreQuery select(IdxField<IStoreObject,T> field)
QueryQueryResult.select in interface Query<IStoreObject>field - The field from the class on which to select.Query for invocation chaining.IStoreQuery 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<IStoreObject>repositoryName - The name or alias of a repository from which to select.Query for invocation chaining.IStoreQuery from(QueryRepository<?,IStoreObject> repository)
Queryfrom in interface Query<IStoreObject>repository - The repository from which to selectQuery for invocation chaining.IStoreQuery where(Predicate<IStoreObject> predicate)
Querywhere in interface Query<IStoreObject>predicate - Set the predicate used to select.Query for invocation chaining.<T> IStoreQuery groupBy(IdxField<IStoreObject,T> field)
QueryIdxField to the group-by clause of the query.groupBy in interface Query<IStoreObject>field - The field by which to group.Query for invocation chaining.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.