Class FirstN.FirstNAgg

    • Constructor Detail

      • FirstNAgg

        public FirstNAgg​(int n)
    • Method Detail

      • init

        public org.apache.storm.trident.operation.builtin.FirstN.FirstNAgg.State init​(Object batchId,
                                                                                      TridentCollector collector)
      • aggregate

        public void aggregate​(org.apache.storm.trident.operation.builtin.FirstN.FirstNAgg.State val,
                              TridentTuple tuple,
                              TridentCollector collector)
      • complete

        public void complete​(org.apache.storm.trident.operation.builtin.FirstN.FirstNAgg.State val,
                             TridentCollector collector)