org.apache.storm.redis.trident

## Class PrintFunction

- java.lang.Object
- - org.apache.storm.trident.operation.BaseOperation
  - - org.apache.storm.trident.operation.BaseFunction
    - - org.apache.storm.redis.trident.PrintFunction

- All Implemented Interfaces:
    Serializable, EachOperation, Function, Operation

      public class PrintFunction
      extends BaseFunction

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrintFunction()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(TridentTuple tuple, TridentCollector tridentCollector)` Performs the function logic on an individual tuple and emits 0 or more tuples.

    - ### Methods inherited from class org.apache.storm.trident.operation.BaseOperation

      `cleanup, prepare`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.storm.trident.operation.Operation

      `cleanup, prepare`

- - ### Constructor Detail

    - #### PrintFunction

          public PrintFunction()

  - ### Method Detail

    - #### execute

          public void execute(TridentTuple tuple,
                              TridentCollector tridentCollector)

      Description copied from interface: `Function`

      Performs the function logic on an individual tuple and emits 0 or more tuples.

      Parameters:
        `tuple` - The incoming tuple
        `tridentCollector` - A collector instance that can be used to emit tuples

Copyright © 2021 The Apache Software Foundation. All rights reserved.