Skip to main content

Module admin

Module admin 

Source

Re-exportsΒ§

pub use layer::AdminEventRecorderHandle;
pub use layer::AdminFunctionLayer;
pub use layer::AdminFunctionLayerRef;
pub use layer::AdminFunctionRecordingLayer;

ModulesΒ§

event πŸ”’
layer πŸ”’

StructsΒ§

AdminFunctionRequest
A request to execute one ADMIN function statement.
AdminFunctionResponse
The client output and immediate typed result of one ADMIN function execution.
CoreAdminFunctionService πŸ”’
ResolvedAdminFunction πŸ”’
Parts of an ADMIN call needed both for execution and schema derivation.

ConstantsΒ§

DUMMY_COLUMN πŸ”’

TraitsΒ§

AdminFunctionService
Executes an ADMIN function request.

FunctionsΒ§

admin_output_schema
Output schema of an ADMIN statement, mirroring what CoreAdminFunctionService::execute produces. None if the function or arguments are unresolvable; execution will then surface the error.
args_to_vector πŸ”’
Try to cast the arguments to vectors by function’s signature.
immediate_result πŸ”’
new_admin_function_service πŸ”’
Creates the core ADMIN function service.
resolve_admin_function πŸ”’
Resolves the function, parses its literal arguments and derives its return type, without executing it.
try_get_data_type_for_sql_value πŸ”’
Try to infer the data type from sql value.
value_to_vector πŸ”’
Build a VectorRef from Value
values_to_vectors_by_exact_types πŸ”’
Try to cast sql values to vectors by exact data types.
values_to_vectors_by_valid_types πŸ”’
Try to cast sql values to vectors by valid data types.

Type AliasesΒ§

AdminFunctionServiceRef
A shared ADMIN function service.