public class WhereClauseFilterCondition extends WhereClauseCondition
WhereClauseCondition filterCondition = new WhereClauseFilterCondition( new TableField("USERS", "PROFILETYPE"), astrProfileTypes, 2);In this example, the filter is for the USERS.PROFILETYPE. The field has a maximum length of 2 characters, so if a larger value is submitted the entire WHERE clause will be discarded. The astrProfileTypes object represents the array of values to filter on.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
WhereClauseFilterCondition(TableField aTableField, java.lang.String[] astrFilterValues, int anMaxLength)
Build a filter based on table/field name and allowable values.
|
public static final java.lang.String COPYRIGHT
public WhereClauseFilterCondition(TableField aTableField, java.lang.String[] astrFilterValues, int anMaxLength)