Q
- The type of the query statement, usually a String
.PS
- The type of the partition selector pointing at the according
partition of a (database) cluster.public interface PartitionQueryFactory<Q,PS> extends QueryFactory<Q>
PartitionQueryFactory
is a specialization of the
QueryFactory
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.Modifier and Type | Method and Description |
---|---|
Q |
fromCriteria(Criteria aCriteria,
PS aPartionSelector)
Generates a query from the provided
Criteria (tree) similar to
the QueryFactory.fromCriteria(Criteria) method, though providing support for
targeting a dedicated partition in a (database) cluster. |
fromCriteria
Q fromCriteria(Criteria aCriteria, PS aPartionSelector)
Criteria
(tree) similar to
the QueryFactory.fromCriteria(Criteria)
method, though providing support for
targeting a dedicated partition in a (database) cluster.Copyright © 2017. All rights reserved.