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

## Class EvaluationFunction

- java.lang.Object
- - org.apache.storm.sql.runtime.streams.functions.EvaluationFunction

- All Implemented Interfaces:
    Serializable, Function<Values,Values>, Operation

      public class EvaluationFunction
      extends Object
      implements Function<Values,Values>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EvaluationFunction(ExecutableExpression projectionInstance, int outputCount, org.apache.calcite.DataContext dataContext)` EvaluationFunction Constructor.

  - ### Method Summary

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

    - #### EvaluationFunction

          public EvaluationFunction(ExecutableExpression projectionInstance,
                                    int outputCount,
                                    org.apache.calcite.DataContext dataContext)

      EvaluationFunction Constructor.

      Parameters:
        `projectionInstance` - ExecutableExpression
        `outputCount` - output count
        `dataContext` - DataContext

  - ### Method Detail

    - #### apply

          public Values apply(Values input)

      Description copied from interface: `Function`

      Applies this function to the given argument.

      Specified by:
        `apply` in interface `Function<Values,Values>`
      Parameters:
        `input` - the input to the function
      Returns:
        the function result

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