public class JRSqlLessOrGreaterClause extends SQLLessOrGreaterBaseClause
The first token in the $X{...} syntax is the function ID token. Possible values for the LESS | GREATER clause function ID token are:
LESS - in this case the LESS THAN operator < will be applied.LESS] - in this case the LESS OR EQUAL operator <= will be applied.GREATER - in this case the GREATER THAN operator > will be applied.[GREATER - in this case the GREATER OR EQUAL operator >= will be applied.| Modifier and Type | Field and Description |
|---|---|
protected static JRSqlLessOrGreaterClause |
singleton |
CLAUSE_TRUISM, EXCEPTION_MESSAGE_KEY_QUERY_LESS_GREATER_CLAUSE_DB_COLUMN_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_LESS_GREATER_CLAUSE_NAME_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_LESS_GREATER_CLAUSE_PARAMETER_TOKEN_MISSING, OPERATOR_GREATER, OPERATOR_GREATER_OR_EQUAL, OPERATOR_LESS, OPERATOR_LESS_OR_EQUAL, POSITION_CLAUSE_ID, POSITION_DB_COLUMN, POSITION_PARAMETER| Constructor and Description |
|---|
JRSqlLessOrGreaterClause() |
| Modifier and Type | Method and Description |
|---|---|
protected ClauseFunctionParameterHandler |
createParameterHandler(JRQueryClauseContext queryContext,
String clauseId,
String parameterName) |
static JRSqlLessOrGreaterClause |
instance()
Returns the singleton function instance.
|
apply, handleLessOrGreaterOperatorprotected static final JRSqlLessOrGreaterClause singleton
public static JRSqlLessOrGreaterClause instance()
protected ClauseFunctionParameterHandler createParameterHandler(JRQueryClauseContext queryContext, String clauseId, String parameterName)
createParameterHandler in class SQLLessOrGreaterBaseClauseCopyright © 2017. All rights reserved.