datafusion_optimizer::optimizer

Trait OptimizerConfig

Source
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§