public interface JRQueryChunk extends JRCloneable
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CHUNK_TOKEN_SEPARATOR
A property that specifies the list of token separators for
tokenized query clauses . |
static byte |
TYPE_CLAUSE_TOKENS
A
$X{..} |
static byte |
TYPE_PARAMETER |
static byte |
TYPE_PARAMETER_CLAUSE |
static byte |
TYPE_TEXT |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
String[] |
getTokens()
Returns the chunk tokens for
clause chunks. |
Character |
getTokenSeparator()
Returns the chunk tokens separator character for
clause chunks. |
byte |
getType() |
clone
static final String PROPERTY_CHUNK_TOKEN_SEPARATOR
tokenized query clauses
.
The default separators are the comma (','
), the semicolon (';'
)
and the vertical bar ('|'
).
static final byte TYPE_TEXT
static final byte TYPE_PARAMETER
static final byte TYPE_PARAMETER_CLAUSE
static final byte TYPE_CLAUSE_TOKENS
$X{..}
query clause containing one or several tokens.
The clause will be processed by the query executer.
The default implementation treats the first token as a function ID and delegates the processing
to a function
registered for the ID.
The clause text is tokenized in the following manner:
PROPERTY_CHUNK_TOKEN_SEPARATOR
)
if located in the clause text.Copyright © 2017. All rights reserved.