public class ReplaceOperation extends Object implements StreamOperation
Constructor and Description |
---|
ReplaceOperation(StreamExpression expression,
StreamFactory factory) |
ReplaceOperation(String forField,
StreamExpression expression,
StreamFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
operate(Tuple tuple) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
public ReplaceOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public ReplaceOperation(String forField, StreamExpression expression, StreamFactory factory) throws IOException
IOException
public void operate(Tuple tuple)
operate
in interface StreamOperation
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression
in interface Expressible
IOException
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
toExplanation
in interface Expressible
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.