pub trait OptimizerConfig {
    // Required methods
    fn query_execution_start_time(&self) -> DateTime<Utc>;
    fn alias_generator(&self) -> Arc<AliasGenerator>;
    fn options(&self) -> &ConfigOptions;

    // Provided method
    fn function_registry(&self) -> Option<&dyn FunctionRegistry> { ... }
}
Expand description

Options to control the DataFusion Optimizer.

Required Methods§

source

fn query_execution_start_time(&self) -> DateTime<Utc>

Return the time at which the query execution started. This time is used as the value for now()

source

fn alias_generator(&self) -> Arc<AliasGenerator>

Return alias generator used to generate unique aliases for subqueries

source

fn options(&self) -> &ConfigOptions

Provided Methods§

Implementors§