storm.trident.operation.builtin
Class FirstN
java.lang.Object
storm.trident.operation.builtin.FirstN
- All Implemented Interfaces:
- Assembly
public class FirstN
- extends Object
- implements Assembly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstN
public FirstN(int n,
String sortField)
FirstN
public FirstN(int n,
String sortField,
boolean reverse)
apply
public Stream apply(Stream input)
- Specified by:
apply in interface Assembly
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.