|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.tuple.Filter
public class Filter
| Constructor Summary | |
|---|---|
Filter(String expression)
Default contructor. |
|
Filter(String expression,
int rowToProcess)
|
|
Filter(String expression,
int rowToProcess,
int startingRow)
|
|
| Method Summary | |
|---|---|
boolean |
accept()
Check if the IFilter accepts or not the data in the current row of the ITuple it is associated to. |
String |
expression()
Get the expression that defined the IFilter. |
void |
initialize(ITuple tuple)
Initialize the IFilter and associate it to an ITuple. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter(String expression)
expression - The expression to evaluate on the tuple.
public Filter(String expression,
int rowToProcess)
public Filter(String expression,
int rowToProcess,
int startingRow)
| Method Detail |
|---|
public String expression()
IFilter
expression in interface IFilterpublic void initialize(ITuple tuple)
IFilter
initialize in interface IFiltertuple - The ITuple to which the IFilter is sssociated.public boolean accept()
IFilter
accept in interface IFiltertrue if the current data is accepted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||