T
- Type of the tuple.public abstract class Peek<T> extends Pipe<T,T>
peek(Object)
is called before the tuple is forwarded
and it is intended that the peek be a low cost operation
such as increasing a metric.Constructor and Description |
---|
Peek() |
Modifier and Type | Method and Description |
---|---|
void |
accept(T tuple)
Apply the function to
value . |
protected abstract void |
peek(T tuple) |
getDestination, getInputs, initialize, start, submit
getOpletContext
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641