Package com.snowflake.snowpark_java.udaf

## Interface JavaUDAF2<S,​O,​A0,​A1>

- All Superinterfaces:
    `JavaUDAF`, `java.io.Serializable`

      public interface JavaUDAF2<S,​O,​A0,​A1>
      extends JavaUDAF

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `S` | `accumulate​(S state, A0 arg0, A1 arg1)` |
    `S` | `initialize()` |
    `S` | `merge​(S state1, S state2)` |
    `O` | `terminate​(S state)` |

    - ### Methods inherited from interface com.snowflake.snowpark_java.udaf.JavaUDAF

      `inputSchema, outputType`

- - ### Method Detail

    - #### initialize

          S initialize()

    - #### accumulate

          S accumulate​(S state,
                       A0 arg0,
                       A1 arg1)

    - #### merge

          S merge​(S state1,
                  S state2)

    - #### terminate

          O terminate​(S state)