Package net.sf.jasperreports.types.date
Class DateRangeSQLBetweenClause
- java.lang.Object
-
- net.sf.jasperreports.engine.query.SQLBetweenBaseClause
-
- net.sf.jasperreports.types.date.DateRangeSQLBetweenClause
-
- All Implemented Interfaces:
JRClauseFunction
public class DateRangeSQLBetweenClause extends SQLBetweenBaseClause
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_PARAMETER_TYPE
protected static DateRangeSQLBetweenClause
INSTANCE
-
Fields inherited from class net.sf.jasperreports.engine.query.SQLBetweenBaseClause
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 Summary
Constructors Modifier Constructor Description protected
DateRangeSQLBetweenClause()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClauseFunctionParameterHandler
createParameterHandler(JRQueryClauseContext queryContext, String clauseId, String parameterName, boolean left)
static DateRangeSQLBetweenClause
instance()
Returns the singleton function instance.-
Methods inherited from class net.sf.jasperreports.engine.query.SQLBetweenBaseClause
apply, getGreaterOperator, getLessOperator, handleGreaterClause, handleLessClause, isLeftClosed, isRightClosed
-
-
-
-
Field Detail
-
INSTANCE
protected static final DateRangeSQLBetweenClause INSTANCE
-
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_PARAMETER_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNSUPPORTED_PARAMETER_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
public static DateRangeSQLBetweenClause instance()
Returns the singleton function instance.- Returns:
- the singleton function instance
-
createParameterHandler
protected ClauseFunctionParameterHandler createParameterHandler(JRQueryClauseContext queryContext, String clauseId, String parameterName, boolean left)
- Specified by:
createParameterHandler
in classSQLBetweenBaseClause
-
-