Filtering fix.
This commit is contained in:
parent
6fa2361283
commit
aed1514c0b
|
@ -10,7 +10,7 @@ public class FilteringBolt extends BaseBasicBolt {
|
|||
@Override
|
||||
public void execute(Tuple tuple, BasicOutputCollector basicOutputCollector) {
|
||||
int operation = tuple.getIntegerByField("operation");
|
||||
if(operation >= 0 ) {
|
||||
if(operation > 0 ) {
|
||||
basicOutputCollector.emit(tuple.getValues());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue