pub struct DefaultMatchRecognizePlanningContext { /* private fields */ }Expand description
Planning context backed by owned DataFusion configuration and the package’s built-in aggregate resolver.
Implementations§
Source§impl DefaultMatchRecognizePlanningContext
impl DefaultMatchRecognizePlanningContext
Sourcepub fn with_options(options: ConfigOptions) -> Self
pub fn with_options(options: ConfigOptions) -> Self
Create a context with the supplied DataFusion options.
Trait Implementations§
Source§impl MatchRecognizePlanningContext for DefaultMatchRecognizePlanningContext
impl MatchRecognizePlanningContext for DefaultMatchRecognizePlanningContext
Source§fn options(&self) -> &ConfigOptions
fn options(&self) -> &ConfigOptions
Return the DataFusion options used while binding and lowering the source.
Source§fn match_recognize_options(&self) -> MatchRecognizePlanningOptions
fn match_recognize_options(&self) -> MatchRecognizePlanningOptions
Read this package’s planning switches from
Self::options.Source§fn scalar_udf(&self, _name: &str) -> Option<Arc<ScalarUDF>>
fn scalar_udf(&self, _name: &str) -> Option<Arc<ScalarUDF>>
Resolve a scalar function by name. Read more
Source§fn aggregate_udf(&self, name: &str) -> Option<Arc<AggregateUDF>>
fn aggregate_udf(&self, name: &str) -> Option<Arc<AggregateUDF>>
Resolve an aggregate function by name. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultMatchRecognizePlanningContext
impl !UnwindSafe for DefaultMatchRecognizePlanningContext
impl Forget for DefaultMatchRecognizePlanningContext
impl Freeze for DefaultMatchRecognizePlanningContextwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<usize>: Freeze,
PhantomData<MetricCategory>: Freeze,
*const LeafNode<&'static str, ExtensionBox> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(&'static str, ExtensionBox)>>: Freeze,
impl Move for DefaultMatchRecognizePlanningContext
impl Send for DefaultMatchRecognizePlanningContext
impl Sync for DefaultMatchRecognizePlanningContext
impl Unpin for DefaultMatchRecognizePlanningContext
impl UnsafeUnpin for DefaultMatchRecognizePlanningContextwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
PhantomData<MetricCategory>: UnsafeUnpin,
*const LeafNode<&'static str, ExtensionBox> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(&'static str, ExtensionBox)>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more