org.eigenbase.lurql
Class LurqlQueryProcessor
java.lang.Object
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:
- parameters are not yet supported
- multiple threads may execute the same prepared query concurrently
- the repository must be MDR
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/lurql/LurqlQueryProcessor.java#2 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repos
private final MDRepository repos
LurqlQueryProcessor
public LurqlQueryProcessor(MDRepository repos)
- Constructs a new LurqlQueryProcessor.
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 queriedqueryText
- the text of the query (expected language is
implementation-dependent)
- Returns:
- reference to prepared query
- Throws:
JmiQueryException