public class WindowEndFilter<T> extends Object implements ObjectFilter<T>
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
WindowEndFilter(int windowSize) |
Modifier and Type | Method and Description |
---|---|
int |
filterObject(T r)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
|
int |
getNumReturned() |
int |
getNumSeen() |
public WindowEndFilter(int windowSize)
windowSize
- int number of records to includepublic int getNumReturned()
public int getNumSeen()
public int filterObject(T r)
ObjectFilter
filterObject
in interface ObjectFilter<T>
r
- Object which should be checked for inclusion/exclusion or abortCopyright © 2005–2017 IIPC. All rights reserved.