The Filter class creates a filter condition on a cross tab dimension level. The condition is expressed as value1 operator value2. The values can either be a single value, or an array of values, depending on the operator. For example, IN can be expressed as value1 IN value2 value3 ... valueN.actuate.data.Filter(string levelName, string levelAttributeName, string operator, string value, string filterType)actuate.data.Filter(string levelName, string levelAttributeName, string operator, string value1, string value2, string filterType)actuate.data.Filter(string levelName, string levelAttributeName, string operator, string[ ] values, string filterType)String. The operator can be any operator. Table 5-8 lists the valid filter operators and the number of arguments to pass to the constructor or setValues( ).
Table 5-8 Number of arguments Matches the bottom n values Matches the bottom percent of the values Matches false Boolean values Matches any value in a set of values Not between an inclusive range Does not match any value in a set of values Searches for values that do not match a pattern Matches the top percent of the values Matches true Boolean values String. The first value to compare to the column value for the BETWEEN or NOT_BETWEEN operators.String. The second value to compare to the column value for the BETWEEN or NOT_BETWEEN operators.Table 5-9 lists actuate.xtabanalyzer.Filter functions.
Table 5-9 string[ ] Filter.getValues( )void Filter.setValues(string[ ] value1, string[ ] value2)
|
|
Copyright Actuate Corporation 2012 |