Class TableFactoryService

java.lang.Object
org.apache.flink.table.factories.TableFactoryService

@Deprecated @Internal public class TableFactoryService extends Object
Deprecated.
Unified class to search for a TableFactory of provided type and properties.
  • Field Details

    • FORMAT

      public static final String FORMAT
      Deprecated.
      Prefix for format-related properties.
      See Also:
    • FORMAT_TYPE

      public static final String FORMAT_TYPE
      Deprecated.
      Key for describing the type of the format. Usually used for factory discovery.
      See Also:
    • FORMAT_PROPERTY_VERSION

      public static final String FORMAT_PROPERTY_VERSION
      Deprecated.
      Key for describing the property version. This property can be used for backwards compatibility in case the property format changes.
      See Also:
    • FORMAT_DERIVE_SCHEMA

      public static final String FORMAT_DERIVE_SCHEMA
      Deprecated.
      Key for deriving the schema of the format from the table's schema.
      See Also:
  • Constructor Details

    • TableFactoryService

      public TableFactoryService()
      Deprecated.
  • Method Details

    • find

      public static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor)
      Deprecated.
      Finds a table factory of the given class and descriptor.
      Type Parameters:
      T - factory class type
      Parameters:
      factoryClass - desired factory class
      descriptor - descriptor describing the factory configuration
      Returns:
      the matching factory
    • find

      public static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor, ClassLoader classLoader)
      Deprecated.
      Finds a table factory of the given class, descriptor, and classloader.
      Type Parameters:
      T - factory class type
      Parameters:
      factoryClass - desired factory class
      descriptor - descriptor describing the factory configuration
      classLoader - classloader for service loading
      Returns:
      the matching factory
    • find

      public static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap)
      Deprecated.
      Finds a table factory of the given class and property map.
      Type Parameters:
      T - factory class type
      Parameters:
      factoryClass - desired factory class
      propertyMap - properties that describe the factory configuration
      Returns:
      the matching factory
    • find

      public static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap, ClassLoader classLoader)
      Deprecated.
      Finds a table factory of the given class, property map, and classloader.
      Type Parameters:
      T - factory class type
      Parameters:
      factoryClass - desired factory class
      propertyMap - properties that describe the factory configuration
      classLoader - classloader for service loading
      Returns:
      the matching factory
    • findAll

      public static <T extends TableFactory> List<T> findAll(Class<T> factoryClass, Map<String,String> propertyMap)
      Deprecated.
      Finds all table factories of the given class and property map.
      Type Parameters:
      T - factory class type
      Parameters:
      factoryClass - desired factory class
      propertyMap - properties that describe the factory configuration
      Returns:
      all the matching factories