Class IntegerAdditionFunction

java.lang.Object
org.apache.pulsar.functions.api.examples.IntegerAdditionFunction
All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<Integer,Integer>

public class IntegerAdditionFunction extends Object implements org.apache.pulsar.functions.api.Function<Integer,Integer>
Function that appends to an integer input value and outputs the new value.
  • Constructor Details

    • IntegerAdditionFunction

      public IntegerAdditionFunction()
  • Method Details

    • process

      public Integer process(Integer input, org.apache.pulsar.functions.api.Context context)
      Specified by:
      process in interface org.apache.pulsar.functions.api.Function<Integer,Integer>