|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.engine.api.querydefn.FilterDefinition
public class FilterDefinition
Default implementation of IFilterDefinition
interface.
Constructor Summary | |
---|---|
FilterDefinition(IBaseExpression filterExpr)
Constructs a new filter using the specified expression. |
|
FilterDefinition(IBaseExpression filterExpr,
boolean updateAggr)
Constructs a new filter with filter expression and update option. |
Method Summary | |
---|---|
IBaseExpression |
getExpression()
Gets the Boolean expression used to define this filter. |
void |
setExpression(IBaseExpression filterExpr)
Sets a new expression for the filter. |
void |
setUpdateAggregation(boolean flag)
Set update aggregation flag. |
boolean |
updateAggregation()
Indicate whether the aggreation will be recalculated after this filter has been applied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterDefinition(IBaseExpression filterExpr)
public FilterDefinition(IBaseExpression filterExpr, boolean updateAggr)
filterExpr
- Filter evaluate expressionupdateAggr
- While true
, the aggregation values are updated
prior to apply this filter; Otherwise the aggregation values are not
updated.Method Detail |
---|
public IBaseExpression getExpression()
IFilterDefinition
getExpression
in interface IFilterDefinition
IFilterDefinition.getExpression()
public void setExpression(IBaseExpression filterExpr)
public boolean updateAggregation()
IFilterDefinition
updateAggregation
in interface IFilterDefinition
true
if the aggregation values should be updated
prior to apply this filter; Otherwise, return false
.public void setUpdateAggregation(boolean flag)
While the flag is true
, the aggregation values are updated
prior to apply this filter; Otherwise the aggregation values are not
updated.
setUpdateAggregation
in interface IFilterDefinition
update
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |