Modifier and Type | Field and Description |
---|---|
protected QueryRootNode |
QueryImpl.root
The root node of the query tree
|
Modifier and Type | Method and Description |
---|---|
String |
SpellChecker.check(QueryRootNode aqt)
Runs the spell checker over the first spellcheck relation query node in
the abstract query tree and returns a suggestion in case this
spellchecker thinks the words are misspelled.
|
static org.apache.lucene.search.Query |
LuceneQueryBuilder.createQuery(QueryRootNode root,
SessionImpl session,
ItemStateManager sharedItemMgr,
NamespaceMappings nsMappings,
org.apache.lucene.analysis.Analyzer analyzer,
PropertyTypeRegistry propReg,
SynonymProvider synonymProvider,
IndexFormatVersion indexFormatVersion,
org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a lucene
Query tree from an
abstract query tree. |
Object |
LuceneQueryBuilder.visit(QueryRootNode node,
Object data) |
Modifier and Type | Method and Description |
---|---|
QueryRootNode |
QueryNodeFactory.createQueryRootNode()
Creates a
QueryRootNode instance. |
QueryRootNode |
DefaultQueryNodeFactory.createQueryRootNode()
Creates a
QueryRootNode instance. |
QueryRootNode |
QueryTreeBuilder.createQueryTree(String statement,
NameResolver resolver,
QueryNodeFactory factory)
Creates a
QueryNode tree from a statement using the passed
query node factory. |
static QueryRootNode |
QueryParser.parse(String statement,
String language,
NameResolver resolver,
QueryNodeFactory factory)
Parses a query
statement according to a query
language into a query tree. |
Modifier and Type | Method and Description |
---|---|
String |
QueryTreeBuilder.toString(QueryRootNode root,
NameResolver resolver)
Creates a String representation of the query node tree in the syntax this
QueryTreeBuilder can handle. |
static String |
QueryParser.toString(QueryRootNode root,
String language,
NameResolver resolver)
Creates a String representation of the QueryNode tree argument
root . |
Object |
TraversingQueryNodeVisitor.visit(QueryRootNode node,
Object data) |
Object |
QueryTreeDump.visit(QueryRootNode node,
Object data) |
Object |
QueryNodeVisitor.visit(QueryRootNode node,
Object data) |
Object |
DefaultQueryNodeVisitor.visit(QueryRootNode node,
Object data) |
Modifier and Type | Method and Description |
---|---|
static QueryRootNode |
JCRSQLQueryBuilder.createQuery(String statement,
NameResolver resolver,
QueryNodeFactory factory)
Creates a
QueryNode tree from a SQL statement
using the passed query node factory . |
QueryRootNode |
QueryBuilder.createQueryTree(String statement,
NameResolver resolver,
QueryNodeFactory factory)
Creates a
QueryNode tree from a statement using the passed
query node factory. |
Modifier and Type | Method and Description |
---|---|
String |
QueryBuilder.toString(QueryRootNode root,
NameResolver resolver)
Creates a String representation of the query node tree in the syntax this
QueryTreeBuilder can handle. |
static String |
JCRSQLQueryBuilder.toString(QueryRootNode root,
NameResolver resolver)
Creates a String representation of the query node tree in SQL syntax.
|
Modifier and Type | Method and Description |
---|---|
static QueryRootNode |
XPathQueryBuilder.createQuery(String statement,
NameResolver resolver,
QueryNodeFactory factory)
Creates a
QueryNode tree from a XPath statement using the
passed query node factory . |
QueryRootNode |
QueryBuilder.createQueryTree(String statement,
NameResolver resolver,
QueryNodeFactory factory)
Creates a
QueryNode tree from a statement using the passed
query node factory. |
Modifier and Type | Method and Description |
---|---|
static String |
XPathQueryBuilder.toString(QueryRootNode root,
NameResolver resolver)
Creates a String representation of the query node tree in XPath syntax.
|
String |
QueryBuilder.toString(QueryRootNode root,
NameResolver resolver)
Creates a String representation of the query node tree in the syntax this
QueryTreeBuilder can handle. |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.