|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.martiansoftware.trivialpersist.SeriesRecordFilter
Provides a means to wrap multiple RecordFilters into a single RecordFilter. When filtering, each wrapped RecordFilter is executed in the order in which it was added to the SeriesRecordFilter, until one of the wrapped RecordFilters excludes a Record. As a result, any RecordFilters performing heavy pruning should be added to a SeriesRecordFilter first, and any requiring intensive CPU operations should be added last.
| Constructor Summary | |
SeriesRecordFilter()
Creates a new, empty SeriesRecordFilter that includes all Records. |
|
| Method Summary | |
boolean |
accept(Record record)
Returns true iff the specified record should be included in the current table select. |
SeriesRecordFilter |
add(RecordFilter recordFilter)
Adds a RecordFilter to this SeriesRecordFilter. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SeriesRecordFilter()
| Method Detail |
public SeriesRecordFilter add(RecordFilter recordFilter)
recordFilter -
public boolean accept(Record record)
RecordFilter
accept in interface RecordFilterrecord - the record to check
RecordFilter.accept(Record)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||