Package | Description |
---|---|
org.modeshape.jcr.query.parse |
This package defines the
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
org.modeshape.jcr.query.xpath |
The components used to parse JCR XPath queries and translate them into equivalent JCR-SQL2 queries.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicSqlQueryParser
A
QueryParser implementation that parses a subset of SQL select and set queries. |
class |
FullTextSearchParser
A
QueryParser implementation that parses a full-text search expression. |
class |
JcrQomQueryParser
A parser for the JCR Query Object Model language.
|
class |
JcrSql2QueryParser
An specialization of the
BasicSqlQueryParser that uses a different language name that matches the JCR 2.0
specification. |
class |
JcrSqlQueryParser
Parser for JCR-SQL queries that produces
abstract query model (AQM) objects. |
Modifier and Type | Method and Description |
---|---|
QueryParser |
QueryParsers.getParserFor(String language)
Get the parser for the supplied language.
|
QueryParser |
QueryParsers.removeLanguage(String language)
Remove from this engine the language with the given name.
|
Modifier and Type | Method and Description |
---|---|
Collection<QueryParser> |
QueryParsers.removeLanguages(String firstLanguage,
String... additionalLanguages)
Remove from this engine the language with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParsers.addLanguage(QueryParser languageParser)
Add a language to this engine by supplying its parser.
|
void |
QueryParsers.addLanguages(QueryParser firstLanguage,
QueryParser... additionalLanguages)
Add one or more languages to this engine by supplying the corresponding parsers.
|
void |
QueryParsers.addLanguages(QueryParser firstLanguage,
QueryParser... additionalLanguages)
Add one or more languages to this engine by supplying the corresponding parsers.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParsers.addLanguages(Iterable<QueryParser> languages)
Add one or more languages to this engine by supplying the corresponding parsers.
|
Constructor and Description |
---|
QueryParsers(QueryParser... parsers)
Create a new collection of the supplied
QueryParser objects. |
Constructor and Description |
---|
QueryParsers(Iterable<QueryParser> parsers)
Create a new collection of the supplied
QueryParser objects. |
Modifier and Type | Class and Description |
---|---|
class |
XPathQueryParser
A
QueryParser implementation that accepts XPath expressions and converts them to a ModeShape
Abstract Query Model representation. |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.