org.outerj.daisy.query
Class QueryFactoryImpl

java.lang.Object
  extended by org.outerj.daisy.query.QueryFactoryImpl
All Implemented Interfaces:
QueryFactory

public class QueryFactoryImpl
extends java.lang.Object
implements QueryFactory


Constructor Summary
QueryFactoryImpl()
           
 
Method Summary
 PredicateExpr parsePredicateExpression(java.lang.String expression)
          Parses a predicate expression, i.e.
 Query parseQuery(java.lang.String queryString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFactoryImpl

public QueryFactoryImpl()
Method Detail

parsePredicateExpression

public PredicateExpr parsePredicateExpression(java.lang.String expression)
                                       throws org.outerj.daisy.repository.query.QueryException
Description copied from interface: QueryFactory
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.

Specified by:
parsePredicateExpression in interface QueryFactory
Throws:
org.outerj.daisy.repository.query.QueryException

parseQuery

public Query parseQuery(java.lang.String queryString)
                 throws org.outerj.daisy.repository.query.QueryException
Specified by:
parseQuery in interface QueryFactory
Throws:
org.outerj.daisy.repository.query.QueryException


Copyright © -2012 . All Rights Reserved.