parse method (DominoQuery - Java)

Parses a DQL query string for correct syntax.

Defined in



String parse ( String query ) throws NotesException


String query

A string containing a DQL query

Returned value

String explainText

A string containing text showing the execution method chosen for each query term and the boolean operators that house them. The format is that of a boolean tree. For details about explain output, see explain.


Useful in getting your DQL queries to have proper syntax. There is no query processing performed. Errors like unmatched parens, quotes, or malformed terms are all caught and returned.

Language cross-reference

Parse method (NotesDominoQuery - LotusScript)