Class JRSqlInClause
- java.lang.Object
-
- net.sf.jasperreports.engine.query.JRSqlAbstractInClause
-
- net.sf.jasperreports.engine.query.JRSqlInClause
-
- All Implemented Interfaces:
JRClauseFunction
public class JRSqlInClause extends JRSqlAbstractInClause
SQL "IN" clause function.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRSqlAbstractInClause.apply(JRClauseTokens, JRQueryClauseContext)
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
OPERATOR_AND_OR
protected static String
OPERATOR_IN
protected static String
OPERATOR_NULL
protected static JRSqlInClause
singleton
-
Fields inherited from class net.sf.jasperreports.engine.query.JRSqlAbstractInClause
CLAUSE_TRUISM, EXCEPTION_MESSAGE_KEY_QUERY_IN_CLAUSE_DB_COLUMN_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_IN_CLAUSE_INVALID_PARAMETER_TYPE, EXCEPTION_MESSAGE_KEY_QUERY_IN_CLAUSE_PARAMETER_TOKEN_MISSING, POSITION_DB_COLUMN, POSITION_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description JRSqlInClause()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendAndOrOperator(StringBuffer sBuffer)
protected void
appendInOperator(StringBuffer sBuffer)
protected void
appendNullOperator(StringBuffer sBuffer)
static JRSqlInClause
instance()
Returns the singleton function instance.-
Methods inherited from class net.sf.jasperreports.engine.query.JRSqlAbstractInClause
apply, convert, handleNoValues
-
-
-
-
Field Detail
-
OPERATOR_IN
protected static final String OPERATOR_IN
- See Also:
- Constant Field Values
-
OPERATOR_NULL
protected static final String OPERATOR_NULL
- See Also:
- Constant Field Values
-
OPERATOR_AND_OR
protected static final String OPERATOR_AND_OR
- See Also:
- Constant Field Values
-
singleton
protected static final JRSqlInClause singleton
-
-
Method Detail
-
instance
public static JRSqlInClause instance()
Returns the singleton function instance.- Returns:
- the singleton function instance
-
appendInOperator
protected void appendInOperator(StringBuffer sBuffer)
- Specified by:
appendInOperator
in classJRSqlAbstractInClause
-
appendNullOperator
protected void appendNullOperator(StringBuffer sBuffer)
- Specified by:
appendNullOperator
in classJRSqlAbstractInClause
-
appendAndOrOperator
protected void appendAndOrOperator(StringBuffer sBuffer)
- Specified by:
appendAndOrOperator
in classJRSqlAbstractInClause
-
-