class_docstr: Abstract class for transformers that take one input column, apply transformation,
  and output the result as a new column.
  
  .. versionadded:: 2.3.0
docstr: Validates the input type. Throw an exception if it is invalid.
docstr_tok: ["Validates","the","input","type",".","Throw","an","exception","if","it","is","invalid","."]
code: def validateInputType(self, inputType: DataType) -> None:
      """
      Validates the input type. Throw an exception if it is invalid.
      """
      raise NotImplementedError()
  
imports: from abc import ABCMeta, abstractmethod
  import copy
  import threading
  from typing import Any, Callable, Generic, Iterator, List, Optional, Sequence, Tuple, TypeVar, Union, cast, overload, TYPE_CHECKING
  from pyspark import since
  from pyspark.ml.param import P
  from pyspark.ml.common import inherit_doc
  from pyspark.ml.param.shared import HasInputCol, HasOutputCol, HasLabelCol, HasFeaturesCol, HasPredictionCol, Params
  from pyspark.sql.dataframe import DataFrame
  from pyspark.sql.functions import udf
  from pyspark.sql.types import DataType, StructField, StructType
label_desc: Use image node_id 5 for calling the UnaryTransformer obj's underlying member method code with example usage: obj.validateInputType(inputType) without return types