public class DistinctOperation extends Object implements ReduceOperation
| 构造器和说明 |
|---|
DistinctOperation() |
DistinctOperation(StreamExpression expression,
StreamFactory factory) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
IOExceptionpublic DistinctOperation()
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression 在接口中 ExpressibleIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation 在接口中 Expressiblefactory - Stream factory for this, contains information about the function nameIOException - throw on any errorpublic Tuple reduce()
reduce 在接口中 ReduceOperationpublic void operate(Tuple tuple)
operate 在接口中 StreamOperationCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.