org.eigenbase.lurql
Class LurqlQueryProcessor

java.lang.Object
  extended by org.eigenbase.lurql.LurqlQueryProcessor
All Implemented Interfaces:
JmiQueryProcessor
Direct Known Subclasses:
LurqlQueryProcessor

public class LurqlQueryProcessor
extends Object
implements JmiQueryProcessor

LurqlQueryProcessor implements the JmiQueryProcessor interface for LURQL with the following implementation-specific behavior:

Version:
$Id: //open/dev/farrago/src/org/eigenbase/lurql/LurqlQueryProcessor.java#2 $
Author:
John V. Sichi

Nested Class Summary
private  class LurqlQueryProcessor.PreparedQuery
           
 
Field Summary
private  MDRepository repos
           
 
Constructor Summary
LurqlQueryProcessor(MDRepository repos)
          Constructs a new LurqlQueryProcessor.
 
Method Summary
 JmiPreparedQuery prepare(JmiModelView modelView, String queryText)
          Prepares a query for execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repos

private final MDRepository repos
Constructor Detail

LurqlQueryProcessor

public LurqlQueryProcessor(MDRepository repos)
Constructs a new LurqlQueryProcessor.

Method Detail

prepare

public JmiPreparedQuery prepare(JmiModelView modelView,
                                String queryText)
                         throws JmiQueryException
Description copied from interface: JmiQueryProcessor
Prepares a query for execution.

Specified by:
prepare in interface JmiQueryProcessor
Parameters:
modelView - a view of the model to be queried
queryText - the text of the query (expected language is implementation-dependent)
Returns:
reference to prepared query
Throws:
JmiQueryException