class_docstr: Base class for all unified data source in Flink.
class_docstr_tok: ["Base","class","for","all","unified","data","source","in","Flink","."]
docstr: Constructor of Source.
  
  :param source: The java Source object.
docstr_tok: ["Constructor","of","Source",".",":","param","source",":","The","java","Source","object","."]
code: def __init__(self, source: Union[str, JavaObject]):
      """
      Constructor of Source.
  
      :param source: The java Source object.
      """
      super(Source, self).__init__(source)
  
imports: from abc import ABC, abstractmethod
  from enum import Enum
  from typing import Union, Optional
  from py4j.java_gateway import JavaObject
  from pyflink.datastream.functions import JavaFunctionWrapper
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 1 to create a new Source object from inherited base classes: JavaFunctionWrapper with example: obj = Source(source)