-
- Type Parameters:
Q
- The type of the query statement, usually aString
.PS
- The type of the partition selector pointing at the according partition of a (database) cluster.
- All Superinterfaces:
QueryFactory<Q>
public interface PartitionQueryFactory<Q,PS> extends QueryFactory<Q>
ThePartitionQueryFactory
is a specialization of theQueryFactory
in that it is capable of generating queries targeting at a dedicated partition of a (database) cluster, the partion's query does not contain obsolete query statements enhancing the database's query processing performance.- Version:
- $Id: $Id
- Author:
- steiner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Q
fromCriteria(Criteria aCriteria, PS aPartionSelector)
Generates a query from the providedCriteria
(tree) similar to theQueryFactory.fromCriteria(Criteria)
method, though providing support for targeting a dedicated partition in a (database) cluster.-
Methods inherited from interface org.refcodes.criteria.QueryFactory
fromCriteria
-
-
-
-
Method Detail
-
fromCriteria
Q fromCriteria(Criteria aCriteria, PS aPartionSelector)
Generates a query from the providedCriteria
(tree) similar to theQueryFactory.fromCriteria(Criteria)
method, though providing support for targeting a dedicated partition in a (database) cluster.
-
-