Class RangeCondition
java.lang.Object
com.gooddata.sdk.model.executeafm.afm.filter.MeasureValueFilterCondition
com.gooddata.sdk.model.executeafm.afm.filter.RangeCondition
- All Implemented Interfaces:
Serializable
Condition of
MeasureValueFilter that compares measure values against two values.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRangeCondition(RangeConditionOperator operator, BigDecimal from, BigDecimal to) Creates a newRangeConditioninstance.RangeCondition(RangeConditionOperator operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs) Creates a newRangeConditioninstance.RangeCondition(String operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs) -
Method Summary
Methods inherited from class com.gooddata.sdk.model.executeafm.afm.filter.MeasureValueFilterCondition
getTreatNullValuesAs
-
Constructor Details
-
RangeCondition
public RangeCondition(String operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs) -
RangeCondition
Creates a newRangeConditioninstance.- Parameters:
operator- The operator of the range condition.from- The left boundary value.to- The right boundary value.
-
RangeCondition
public RangeCondition(RangeConditionOperator operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs) Creates a newRangeConditioninstance.- Parameters:
operator- The operator of the range condition.from- The left boundary value.to- The right boundary value.treatNullValuesAs- The number that will be used instead of compared values that are null.
-
-
Method Details
-
getOperator
- Returns:
- range condition operator
-
getStringOperator
-
getFrom
- Returns:
- left boundary of the range
-
getTo
- Returns:
- right boundary of the range
-
equals
- Overrides:
equalsin classMeasureValueFilterCondition
-
hashCode
public int hashCode()- Overrides:
hashCodein classMeasureValueFilterCondition
-
toString
-