Class TableFactoryService


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

      • FORMAT_TYPE

        public static final String FORMAT_TYPE
        Deprecated.
        Key for describing the type of the format. Usually used for factory discovery.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • TableFactoryService

        public TableFactoryService()
        Deprecated.
    • Method Detail

      • 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 TableFactoryList<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