|
static bool | getAutoConfig () |
| Returns the auto config flag.
|
|
static *AbstractDataProviderFactory | getFactory (string name) |
| Returns the given data provider factory or NOTHING if not present.
|
|
static AbstractDataProviderFactory | getFactoryEx (string name) |
| Returns the given data provider factory or throws an exception if not present. More...
|
|
static AbstractDataProvider | getFactoryObject (string path, *hash< auto > options) |
| Returns a data provider object from the given factory, created with the given constructor options. More...
|
|
static AbstractDataProvider | getFactoryObjectFromExample (string path, data example, *hash< auto > options) |
| Returns a data provider object from the given factory, created with the given options and example data. More...
|
|
static AbstractDataProvider | getFactoryObjectFromExample (string path, InputStream example, *hash< auto > options) |
| Returns a data provider object from the given factory, created with the given options and example data. More...
|
|
static AbstractDataProvider | getFactoryObjectFromString (string name) |
| Returns a data provider object from the given factory string. More...
|
|
static AbstractDataProvider | getFactoryObjectFromStringUseEnv (string name) |
| Returns a data provider object from the given factory string using environment variables to find the factory. More...
|
|
static AbstractDataProvider | getFactoryObjectWithTemplate (string path, *hash< auto > template_options, *hash< auto > options) |
| Returns a data provider object from the given factory, created with the given constructor options. More...
|
|
static hash< auto > | getInfoAsData (hash< auto > info0, *bool with_type_info) |
| Converts an info hash with objects to a hash with string descriptions instead of the objects. More...
|
|
static list< string > | getPathList (string path) |
| Returns a list of strings in a path separated by "/" characters.
|
|
static *AbstractDataProviderType | getType (string path) |
| Returns the given data provider type or NOTHING if not present. More...
|
|
static DataProviderTypeCache | getTypeCache () |
| Returns the data provider cache.
|
|
static AbstractDataProviderType | getTypeEx (string path) |
| Returns the given data provider type or throws an exception if not present. More...
|
|
static DataProviderTypeEntry | getTypeRoot () |
| Returns the root type entry.
|
|
static *list< string > | listFactories () |
| Returns a list of registered data provider factories.
|
|
static *list< string > | listTypes () |
| Returns a list of registered data provider type paths. More...
|
|
static | loadProvidersFromEnvironment () |
| Loads data providers from the environment.
|
|
static | loadTypesFromEnvironment () |
| Loads data types from the environment.
|
|
static | lockAllTypes () |
| Locks all types.
|
|
static | registerFactory (AbstractDataProviderFactory factory) |
| Register a new data provider factory. More...
|
|
static | registerKnownFactories () |
| Registers all known data provider factories.
|
|
static | registerKnownTypes () |
| Registers all known data provider types.
|
|
static | registerType (string path, AbstractDataProviderType type) |
| Register a new data provider type. More...
|
|
static | setAutoConfig () |
| Sets the flag that allows for automatic configuration from environment variables. More...
|
|
static *AbstractDataProvider | tryLoadProviderForConnectionFromEnv (string name) |
| Tries to load a data provider from the environment from the connection name.
|
|
|
static bool | checkInjection (object obj, hash< string, string > module_map) |
| Check if the object is from a module that has been subject to dependency injections.
|
|
static | checkRequest () |
| Sets the env_config_locked variable if not already set.
|
|
static *object | checkSymbol (hash< SymbolInfo > info) |
| Returns True if an object of the given type has been loaded.
|
|
static Mutex | factory_cache_lock () |
| data provider factory cache lock
|
|
static hash< FactoryInfo > | getFactoryInfoFromString (string name) |
| Returns a hash of factory information from a string.
|
|
static *object | loadFromEnvironment (string func, string type, *hash< SymbolInfo > info) |
| Loads modules from the QORE_DATA_PROVIDERS environment variable.
|
|
static *string | tryGetFactoryModuleName (string name) |
| Tries to load a module corresponding to the given factory.
|
|
static *string | tryGetModuleName (string name, string func, string type) |
| Tries to load a module corresponding to the given factory.
|
|
static *string | tryGetTypeModuleName (string name) |
| Tries to load a module corresponding to the given factory.
|
|
static bool | tryLoad (string module_str, *bool verbose) |
| Try to load the given module.
|
|
static *DataProviderTypeEntry | tryLoadTypeFromPath (list< string > type_path) |
| Tries to load the given type.
|
|
static DataProviderTypeCache | type_cache () |
| data provider data type cache
|
|
|
static bool | allow_env_config = False |
| flag to allow automatic configuration from environment variables More...
|
|
static bool | env_config_locked = False |
| flag that locks the allow_env_config var
|
|
static hash< string, AbstractDataProviderFactory > | factory_cache |
| data provider factory cache
|
|
static hash< string, string > | factory_module_map |
| data provider factory module map
|
|
static hash< string, bool > | mod_map |
| set of module already loaded
|
|
static hash< string, string > | type_module_map |
| data provider type module map
|
|