|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.sql.JCRSQLQueryBuilder
Implements the query builder for the JCR SQL syntax.
| Method Summary | |
static QueryRootNode |
createQuery(String statement,
NamespaceResolver resolver)
Creates a QueryNode tree from a SQL statement. |
static String |
toString(QueryRootNode root,
NamespaceResolver resolver)
Creates a String representation of the query node tree in SQL syntax. |
Object |
visit(SimpleNode node,
Object data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static QueryRootNode createQuery(String statement,
NamespaceResolver resolver)
throws InvalidQueryException
QueryNode tree from a SQL statement.
statement - the SQL statement.resolver - the namespace resolver to use.
QueryNode tree.
InvalidQueryException - if statement is malformed.
public static String toString(QueryRootNode root,
NamespaceResolver resolver)
throws InvalidQueryException
root - the root of the query node tree.resolver - to resolve QNames.
InvalidQueryException - if the query node tree cannot be converted
into a String representation due to restrictions in SQL.
public Object visit(SimpleNode node,
Object data)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||