Interface QueryFactory<Q>

Type Parameters:
Q - The type of the query statement, usually a String.
All Known Subinterfaces:
PartitionQueryFactory<Q,PS>
All Known Implementing Classes:
ExpressionQueryFactory

public interface QueryFactory<Q>
The QueryFactory generates a query from the provided Criteria (tree). The resulting query may be targeted at a database and therefore be SQL like. CAUTION: The syntax supported for the query statement is implementation depended!
Version:
$Id: $Id
Author:
steiner
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates a query from the provided Criteria (tree).
  • Method Details

    • fromCriteria

      Q fromCriteria(Criteria aCriteria)
      Generates a query from the provided Criteria (tree).
      Parameters:
      aCriteria - The Criteria from which to generate the query.
      Returns:
      A query generated from the provided Criteria (tree).