Package org.apache.storm.sql.runtime.streams.functions

# Class StreamInsertMapToPairFunction

java.lang.Object
org.apache.storm.sql.runtime.streams.functions.StreamInsertMapToPairFunction

All Implemented Interfaces:
  `Serializable`, `Function<Values,Pair<Object,Values>>`, `Operation`, `PairFunction<Values,Object,Values>`

public class StreamInsertMapToPairFunction extends Object implements PairFunction<Values,Object,Values>

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StreamInsertMapToPairFunction(int primaryKeyIndex)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Pair<Object,Values>`
  `apply(Values input)`
  Applies this function to the given argument.

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

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

- ## Constructor Details

  - ### StreamInsertMapToPairFunction

    public StreamInsertMapToPairFunction(int primaryKeyIndex)

- ## Method Details

  - ### apply

    public Pair<Object,Values> apply(Values input)
    Description copied from interface: `Function`
    Applies this function to the given argument.
    Specified by:
      `apply` in interface `Function<Values,Pair<Object,Values>>`
    Parameters:
      `input` - the input to the function
    Returns:
      the function result