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 and Description
    `StreamInsertMapToPairFunction(int primaryKeyIndex)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### StreamInsertMapToPairFunction

          public StreamInsertMapToPairFunction(int primaryKeyIndex)

  - ### Method Detail

    - #### 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

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