com.neeve.ods
Interface IStoreQuery

All Superinterfaces:
Query<IStoreObject>

public interface IStoreQuery
extends Query<IStoreObject>

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

Method Detail

select

<T> IStoreQuery select(IdxField<IStoreObject,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<IStoreObject>
Parameters:
field - The field from the class on which to select.
Returns:
This Query for invocation chaining.

from

IStoreQuery 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<IStoreObject>
Parameters:
repositoryName - The name or alias of a repository from which to select.
Returns:
This Query for invocation chaining.

from

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

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

where

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

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

groupBy

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

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


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