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 java.lang.StringOPERATOR_AND_ORprotected static java.lang.StringOPERATOR_INprotected static java.lang.StringOPERATOR_NULLprotected static JRSqlInClausesingleton-
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 voidappendAndOrOperator(java.lang.StringBuffer sBuffer)protected voidappendInOperator(java.lang.StringBuffer sBuffer)protected voidappendNullOperator(java.lang.StringBuffer sBuffer)static JRSqlInClauseinstance()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 java.lang.String OPERATOR_IN
- See Also:
- Constant Field Values
-
OPERATOR_NULL
protected static final java.lang.String OPERATOR_NULL
- See Also:
- Constant Field Values
-
OPERATOR_AND_OR
protected static final java.lang.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(java.lang.StringBuffer sBuffer)
- Specified by:
appendInOperatorin classJRSqlAbstractInClause
-
appendNullOperator
protected void appendNullOperator(java.lang.StringBuffer sBuffer)
- Specified by:
appendNullOperatorin classJRSqlAbstractInClause
-
appendAndOrOperator
protected void appendAndOrOperator(java.lang.StringBuffer sBuffer)
- Specified by:
appendAndOrOperatorin classJRSqlAbstractInClause
-
-