class_docstr: Wrapper for user-defined function registration.
class_docstr_tok: ["Wrapper","for","user-defined","function","registration","."]
code: def registerJavaUDAF(self, name: str, javaClassName: str) -> None:
      self.sparkSession._client.register_java(
          name, javaClassName, aggregate=True
      )
  
imports: from pyspark.sql.connect.utils import check_dependencies
  import sys
  import functools
  import warnings
  from inspect import getfullargspec
  from typing import cast, Callable, Any, List, TYPE_CHECKING, Optional, Union
  from pyspark.rdd import PythonEvalType
  from pyspark.sql.connect.expressions import ColumnReference, CommonInlineUserDefinedFunction, Expression, NamedArgumentExpression, PythonUDF
  from pyspark.sql.connect.column import Column
  from pyspark.sql.connect.types import UnparsedDataType
  from pyspark.sql.types import DataType, StringType
  from pyspark.sql.udf import UDFRegistration
  from pyspark.errors import PySparkTypeError, PySparkRuntimeError
label_desc: Use image node_id 4 for calling the UDFRegistration obj's underlying member method code with example usage: obj.registerJavaUDAF(name, javaClassName) without return types