![]() |
MySQL 9.3.0
Source Code Documentation
|
Namespaces | |
namespace | anonymous_namespace{jit_executor_component.cc} |
namespace | anonymous_namespace{jit_executor_javascript.cc} |
namespace | anonymous_namespace{jit_executor_plugin.cc} |
namespace | db |
Classes | |
struct | Code |
class | CommonContext |
Specialization of the Polyglot_common_context to provide MRS specific logging functions as well as the MRS specific engine to be used across the different contexts. More... | |
class | ContextPool |
class | DebugContextHandle |
struct | GlobalCallbacks |
struct | GlobalConfig |
class | IContext |
class | IContextHandle |
Base handler for Jit Executor Context instances. More... | |
class | IServiceHandlers |
Interface defining central location for the handlers associated to a database service. More... | |
class | JavaScript |
MRS JavaScript Implementation. More... | |
class | JavaScriptContext |
class | JitExecutorComponent |
Registry of graal contexts to be used by each service. More... | |
class | MemoryError |
class | PluginConfig |
class | Pool |
Generic implementation of a pool. More... | |
class | PooledContextHandle |
A wrapper that will return a context to the pool as soon as it is released. More... | |
struct | Result |
struct | ServiceHandlerConfig |
class | ServiceHandlers |
Contains the handlers to be used to attend JavaScript processing requests for a specific service. More... | |
class | TimeoutError |
Typedefs | |
using | Value_type = shcore::Value_type |
using | Scoped_global = shcore::polyglot::Scoped_global |
using | Value = shcore::Value |
using | Dictionary_t = shcore::Dictionary_t |
using | Polyglot_error = shcore::polyglot::Polyglot_error |
using | IFile_system = shcore::polyglot::IFile_system |
Enumerations | |
enum class | ResultType { Json , Raw } |
enum class | ResultState { Ok , Error , ResourceExhausted } |
enum class | ProcessingState { Idle , Processing , Finished } |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static const uint64_t | k_default_pool_size = 8 |
constexpr const char | kMaxContextPoolSize [] {"max_context_pool_size"} |
NOTE: Not being used ATM, the idea was to create a pool of contexts of up to max_context_pool_size per service, however, that only made sense if it was possible to i.e. More... | |
static constexpr std::array | options |
static constexpr std::string_view | kSectionName {"jit_executor"} |
static constexpr uint32_t | kDefaultMaxGraalVMContexts {8} |
static constexpr std::array | required |
mysql_harness::Plugin JIT_EXECUTOR_PLUGIN_EXPORT | harness_plugin_jit_executor |
using jit_executor::Polyglot_error = typedef shcore::polyglot::Polyglot_error |
using jit_executor::Scoped_global = typedef shcore::polyglot::Scoped_global |
using jit_executor::Value = typedef shcore::Value |
using jit_executor::Value_type = typedef shcore::Value_type |
|
strong |
|
strong |
|
strong |
|
static |
|
static |
|
static |
mysql_harness::Plugin JIT_EXECUTOR_PLUGIN_EXPORT jit_executor::harness_plugin_jit_executor |
|
static |
|
staticconstexpr |
|
constexpr |
NOTE: Not being used ATM, the idea was to create a pool of contexts of up to max_context_pool_size per service, however, that only made sense if it was possible to i.e.
create a base context to be used on an execution and then reset it to the original state, however that is NOT possible. The proposed solution seems to be using shared engine and simply create the contexts as needed.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |