public class JRSqlBetweenClause extends SQLBetweenBaseClause
The purpose of this clause function is to find that a given value can be found in a given A...B interval.
The first token in the $X{...} syntax is the function ID token. Possible values for the BETWEEN clause function ID token are:
BETWEEN
- in this case the A...B interval will be considered open: (A,B)[BETWEEN
- in this case the A...B interval will be considered right-open: [A,B)BETWEEN]
- in this case the A...B interval will be considered left-open: (A,B][BETWEEN]
- in this case the A...B interval will be considered closed: [A,B]Modifier and Type | Field and Description |
---|---|
protected static JRSqlBetweenClause |
singleton |
CLAUSE_TRUISM, EXCEPTION_MESSAGE_KEY_QUERY_BETWEEN_CLAUSE_DB_COLUMN_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_BETWEEN_CLAUSE_LEFT_PARAMETER_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_BETWEEN_CLAUSE_NAME_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_BETWEEN_CLAUSE_RIGHT_PARAMETER_TOKEN_MISSING, POSITION_CLAUSE_ID, POSITION_DB_COLUMN, POSITION_LEFT_PARAMETER, POSITION_RIGHT_PARAMETER
Constructor and Description |
---|
JRSqlBetweenClause() |
Modifier and Type | Method and Description |
---|---|
protected ClauseFunctionParameterHandler |
createParameterHandler(JRQueryClauseContext queryContext,
java.lang.String clauseId,
java.lang.String parameterName,
boolean left) |
static JRSqlBetweenClause |
instance()
Returns the singleton function instance.
|
apply, getGreaterOperator, getLessOperator, handleGreaterClause, handleLessClause, isLeftClosed, isRightClosed
protected static final JRSqlBetweenClause singleton
public static JRSqlBetweenClause instance()
protected ClauseFunctionParameterHandler createParameterHandler(JRQueryClauseContext queryContext, java.lang.String clauseId, java.lang.String parameterName, boolean left)
createParameterHandler
in class SQLBetweenBaseClause
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com