mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
3 KiB
3 KiB
Home > kibana-plugin-plugins-expressions-public > Executor
Executor class
Signature:
export declare class Executor<Context extends Record<string, unknown> = Record<string, unknown>> implements PersistableState<ExpressionAstExpression>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(state) | Constructs a new instance of the Executor class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
context | Record<string, unknown> |
||
functions | FunctionsRegistry |
||
state | ExecutorContainer<Context> |
||
types | TypesRegistry |
Methods
Method | Modifiers | Description |
---|---|---|
createExecution(ast, params) | ||
createWithDefaults(state) | static |
|
extendContext(extraContext) | ||
extract(ast) | ||
fork() | ||
getFunction(name) | ||
getFunctions() | ||
getType(name) | ||
getTypes() | ||
inject(ast, references) | ||
migrate(ast, version) | ||
migrateToLatest(ast, version) | ||
registerFunction(functionDefinition) | ||
registerType(typeDefinition) | ||
run(ast, input, params) | Execute expression and return result. | |
telemetry(ast, telemetryData) |