org.outerj.daisy.query
Interface QueryFactory

All Known Implementing Classes:
QueryFactoryImpl

public interface QueryFactory


Method Summary
 PredicateExpr parsePredicateExpression(java.lang.String expression)
          Parses a predicate expression, i.e.
 Query parseQuery(java.lang.String query)
           
 

Method Detail

parsePredicateExpression

PredicateExpr parsePredicateExpression(java.lang.String expression)
                                       throws org.outerj.daisy.repository.query.QueryException
Parses a predicate expression, i.e. the where part of query statement.

The returned condition will not yet have been "prepared", so you need to call its prepare method yourself.

Throws:
org.outerj.daisy.repository.query.QueryException

parseQuery

Query parseQuery(java.lang.String query)
                 throws org.outerj.daisy.repository.query.QueryException
Throws:
org.outerj.daisy.repository.query.QueryException


Copyright © -2012 . All Rights Reserved.