public class DistinctOperation extends Object implements ReduceOperation
Constructor and Description |
---|
DistinctOperation() |
DistinctOperation(StreamExpression expression,
StreamFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
operate(Tuple tuple) |
Tuple |
reduce() |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
public DistinctOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public DistinctOperation()
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 errorpublic Tuple reduce()
reduce
in interface ReduceOperation
public void operate(Tuple tuple)
operate
in interface StreamOperation
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.