org.nsdl.mptstore.query.lang
Interface QueryCompiler

All Known Implementing Classes:
SPOQueryCompiler

public interface QueryCompiler

Converts an RDF query in some language to one or more SQL queries.

Author:
cwilper@cs.cornell.edu

Method Summary
 SQLProvider compile(java.lang.String queryText)
          Compile the given query.
 

Method Detail

compile

SQLProvider compile(java.lang.String queryText)
                    throws QueryException
Compile the given query.

Parameters:
queryText - the RDF query.
Returns:
SQLProvider provides the SQL and result column names.
Throws:
QueryException - if there's an error querying.