pub struct AnalysisContext {
pub column_boundaries: Vec<Option<ExprBoundaries>>,
}
Expand description
The shared context used during the analysis of an expression. Includes the boundaries for all known columns.
Fields§
§column_boundaries: Vec<Option<ExprBoundaries>>
A list of known column boundaries, ordered by the index of the column in the current schema.
Implementations§
source§impl AnalysisContext
impl AnalysisContext
pub fn new(
input_schema: &Schema,
column_boundaries: Vec<Option<ExprBoundaries>>
) -> Self
sourcepub fn from_statistics(input_schema: &Schema, statistics: &Statistics) -> Self
pub fn from_statistics(input_schema: &Schema, statistics: &Statistics) -> Self
Create a new analysis context from column statistics.
Trait Implementations§
source§impl Clone for AnalysisContext
impl Clone for AnalysisContext
source§fn clone(&self) -> AnalysisContext
fn clone(&self) -> AnalysisContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more