@Internal public class TableFactoryService extends Object
TableFactory of provided type and properties.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FORMAT
Prefix for format-related properties.
|
static String |
FORMAT_DERIVE_SCHEMA
Key for deriving the schema of the format from the table's schema.
|
static String |
FORMAT_PROPERTY_VERSION
Key for describing the property version.
|
static String |
FORMAT_TYPE
Key for describing the type of the format.
|
| 构造器和说明 |
|---|
TableFactoryService() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Descriptor descriptor)
Finds a table factory of the given class and descriptor.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Descriptor descriptor,
ClassLoader classLoader)
Finds a table factory of the given class, descriptor, and classloader.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Map<String,String> propertyMap)
Finds a table factory of the given class and property map.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Map<String,String> propertyMap,
ClassLoader classLoader)
Finds a table factory of the given class, property map, and classloader.
|
static <T extends TableFactory> |
findAll(Class<T> factoryClass,
Map<String,String> propertyMap)
Finds all table factories of the given class and property map.
|
public static final String FORMAT_TYPE
public static final String FORMAT_PROPERTY_VERSION
public static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor)
T - factory class typefactoryClass - desired factory classdescriptor - descriptor describing the factory configurationpublic static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor, ClassLoader classLoader)
T - factory class typefactoryClass - desired factory classdescriptor - descriptor describing the factory configurationclassLoader - classloader for service loadingpublic static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap)
T - factory class typefactoryClass - desired factory classpropertyMap - properties that describe the factory configurationpublic static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap, ClassLoader classLoader)
T - factory class typefactoryClass - desired factory classpropertyMap - properties that describe the factory configurationclassLoader - classloader for service loadingpublic static <T extends TableFactory> List<T> findAll(Class<T> factoryClass, Map<String,String> propertyMap)
T - factory class typefactoryClass - desired factory classpropertyMap - properties that describe the factory configurationCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.