| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.FilterInfo
public class FilterInfo
This class defines an advanced filter in group level.
| Field Summary | |
|---|---|
| static java.lang.String | FUNCTION_EXISTConstant of function. | 
| static java.lang.String | FUNCTION_MAXConstant of function. | 
| static java.lang.String | FUNCTION_MINConstant of function. | 
| static java.lang.String | LOGIC_ANDConstant of more logic. | 
| static java.lang.String | LOGIC_ENDConstant of more logic. | 
| static java.lang.String | LOGIC_ORConstant of more logic. | 
| static java.lang.String | OPERATOR_EQUALSConstant of operator. | 
| static java.lang.String | OPERATOR_LESSQUALSConstant of operator. | 
| static java.lang.String | OPERATOR_LESSTHANConstant of operator. | 
| static java.lang.String | OPERATOR_MOREEQUALSConstant of operator. | 
| static java.lang.String | OPERATOR_MORETHANConstant of operator. | 
| static java.lang.String | OPERATOR_NOTEQUALSConstant of operator. | 
| Constructor Summary | |
|---|---|
| FilterInfo(boolean ignoreRecordsOutRange,
           java.lang.String function,
           java.lang.String fieldName1,
           java.lang.String fieldName2,
           java.lang.String operator,
           java.lang.String value,
           java.lang.String moreLogic)Constructs a condition filter for the group. | |
| Method Summary | |
|---|---|
|  java.lang.Object | clone() | 
|  java.lang.String | getFieldName1()Gets the field to be aggregated on. | 
|  java.lang.String | getFieldName2()Gets the criteria of the filter. | 
|  java.lang.String | getFunction()Gets the function to aggregate on a certain field. | 
|  java.lang.String | getMore()Gets the logic relationship between this filter and next one. | 
|  java.lang.String | getOperator()Gets the operator to compose the filter expression. | 
|  java.lang.String | getValue()Gets the value used in the filter condition. | 
|  boolean | isNot()Gets whether to evaluate the records that are not in the record aggregate. | 
|  void | setFieldName1(java.lang.String fieldName1)Specifies the field to be aggregated on. | 
|  void | setFieldName2(java.lang.String fieldName2)Specifies the criteria of the filter. | 
|  void | setFunction(java.lang.String function)Specifies the function to aggregate on a certain field. | 
|  void | setMore(java.lang.String moreLogic)Specifies the logic relationship between this filter and the next one. | 
|  void | setNot(boolean ignoreRecordsOutRange)Specifies whether to evaluate the records that are not in the record aggregate. | 
|  void | setOperator(java.lang.String operator)Specifies the operator to compose the filter expression. | 
|  void | setValue(java.lang.String value)Specifies the value used in the filter condition. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String OPERATOR_EQUALS
public static final java.lang.String OPERATOR_MOREEQUALS
public static final java.lang.String OPERATOR_MORETHAN
public static final java.lang.String OPERATOR_LESSTHAN
public static final java.lang.String OPERATOR_LESSQUALS
public static final java.lang.String OPERATOR_NOTEQUALS
public static final java.lang.String FUNCTION_MIN
public static final java.lang.String FUNCTION_MAX
public static final java.lang.String FUNCTION_EXIST
public static final java.lang.String LOGIC_AND
public static final java.lang.String LOGIC_OR
public static final java.lang.String LOGIC_END
| Constructor Detail | 
|---|
public FilterInfo(boolean ignoreRecordsOutRange,
                  java.lang.String function,
                  java.lang.String fieldName1,
                  java.lang.String fieldName2,
                  java.lang.String operator,
                  java.lang.String value,
                  java.lang.String moreLogic)
ignoreRecordsOutRange - Specifies whether to evaluate the records that are not in the record aggregate.function - Specifies the function to aggregate on a certain field.fieldName1 - Specifies the field to be aggregated on.fieldName2 - Specifies the criteria of the filter.operator - Specifies the operator to compose the filter expression.value - Specifies the value used in the filter condition. The value also can be a mapping name of a parameter.moreLogic - Specifies the logic relationship between this filter and the next one.| Method Detail | 
|---|
public void setNot(boolean ignoreRecordsOutRange)
ignoreRecordsOutRange - If true, does not evaluate the records that are not in the record aggregate.public boolean isNot()
true if the engine does not evaluate the records that are not in the record aggregate; false otherwise.public void setFunction(java.lang.String function)
function - The function to aggregate on a certain field.#FUNCTION_MIN},{@link #FUNCTION_MAX},{@link #FUNCTION_EXIST}public java.lang.String getFunction()
public void setFieldName1(java.lang.String fieldName1)
fieldName1 - The field to be aggregated on.public java.lang.String getFieldName1()
public void setFieldName2(java.lang.String fieldName2)
fieldName2 - The criteria of the filter.public java.lang.String getFieldName2()
public void setOperator(java.lang.String operator)
operator - The operator to compose the filter expression.#OPERATOR_EQUALS}, {@link #OPERATOR_LESSQUALS}, {@link #OPERATOR_LESSTHAN}, {@link #OPERATOR_MOREEQUALS}, {@link #OPERATOR_MORETHAN}, {@link #OPERATOR_NOTEQUALS}public java.lang.String getOperator()
public void setValue(java.lang.String value)
value - The value used in the filter condition.
  The value also can be a mapping name of a parameter.public java.lang.String getValue()
public void setMore(java.lang.String moreLogic)
moreLogic - The logic relationship between this filter and the next one.#LOGIC_AND},{@link #LOGIC_OR}, {@link #LOGIC_END}.public java.lang.String getMore()
public java.lang.Object clone()
clone in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||