|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface QueryParser
The basic interface defining a component that is able to parse a string query into a QueryCommand
.
Method Summary | |
---|---|
String |
getLanguage()
Get the name of the language that this parser is able to understand. |
QueryCommand |
parseQuery(String query,
TypeSystem typeSystem)
Parse the supplied query from a string representation into a QueryCommand . |
Method Detail |
---|
String getLanguage()
QueryCommand parseQuery(String query, TypeSystem typeSystem) throws InvalidQueryException
QueryCommand
.
query
- the query in string form; may not be nulltypeSystem
- the type system used by the query; may not be null
ParsingException
- if there is an error parsing the supplied query
InvalidQueryException
- if the supplied query can be parsed but is invalid
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |