Package com.snowflake.snowpark_java.udaf

## Interface JavaUDAF4<S,​O,​A0,​A1,​A2,​A3>

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

      public interface JavaUDAF4<S,​O,​A0,​A1,​A2,​A3>
      extends JavaUDAF

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `S` | `accumulate​(S state, A0 arg0, A1 arg1, A2 arg2, A3 arg3)` |
    `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,
                       A2 arg2,
                       A3 arg3)

    - #### merge

          S merge​(S state1,
                  S state2)

    - #### terminate

          O terminate​(S state)