public static class TransactionalTridentEventCount.LoggingFilter extends BaseFilter
| Constructor and Description |
|---|
LoggingFilter(String prefix,
int logIntervalMs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isKeep(TridentTuple tuple)
Determines if a tuple should be filtered out of a stream
|
cleanup, preparepublic LoggingFilter(String prefix, int logIntervalMs)
public boolean isKeep(TridentTuple tuple)
FilterDetermines if a tuple should be filtered out of a stream
tuple - the tuple being evaluatedfalse to drop the tuple, true to keep the tupleCopyright © 2022 The Apache Software Foundation. All Rights Reserved.