Class JPQLSingleStringParser.Parser
java.lang.Object
org.datanucleus.store.query.JPQLSingleStringParser.Parser
- Enclosing class:
JPQLSingleStringParser
Tokenizer that provides access to current token.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseContent(String keywordToIgnore, boolean allowSubentries) Parse the content until a keyword is found.Parse the next token looking for a keyword.booleanparseKeywordIgnoreCase(String keyword) Parse the next token looking for a keyword.
-
Field Details
-
queryString
-
queryStringPos
int queryStringPos -
tokens
tokens -
keywords
keywords -
tokenIndex
int tokenIndexcurrent token cursor position -
allowRange
boolean allowRange
-
-
Constructor Details
-
Parser
-
-
Method Details
-
parseContent
-
parseKeywordIgnoreCase
Parse the next token looking for a keyword. The cursor position is skipped in one tick if a keyword is found- Parameters:
keyword- the searched keyword- Returns:
- true if the keyword
-
parseKeyword
Parse the next token looking for a keyword. The cursor position is skipped in one tick if a keyword is found- Returns:
- the parsed keyword or null
-