public interface DatasetFilter
Such a filter can be used in addition to the dataset filter expression to match dataset rows based on a programmatic criteria.
JRParameter.FILTER,
JRDataset.getFilterExpression()| Modifier and Type | Method and Description |
|---|---|
void |
init(DatasetFillContext context)
Initializes the filter.
|
boolean |
matches(EvaluationType evaluation)
Determines whether the current row matches the filter criteria.
|
void init(DatasetFillContext context)
context - dataset context informationboolean matches(EvaluationType evaluation)
evaluation - the evaluation type.
Currently only EvaluationType.ESTIMATED is used.true if the row is to be included in the report.Copyright © 2017. All rights reserved.