#[non_exhaustive]pub struct MatchRecognizeConfig {
pub limits: MatchRecognizeLimits,
pub scheduler: MatchRecognizeSchedulerConfig,
pub diagnostics: MatchRecognizeDiagnostics,
}Expand description
Session-scoped MATCH_RECOGNIZE configuration.
Insert the configuration before creating the session-state builder:
use datafusion::execution::SessionStateBuilder;
use datafusion::prelude::SessionConfig;
use datafusion_match_recognize::MatchRecognizeConfig;
let mut session_config = SessionConfig::new();
let mut match_config = MatchRecognizeConfig::default();
match_config.limits.execution_deadline_millis = 30_000;
session_config.options_mut().extensions.insert(match_config);
let _builder = SessionStateBuilder::new()
.with_default_features()
.with_config(session_config);Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limits: MatchRecognizeLimitsStable resource and compiler limits.
scheduler: MatchRecognizeSchedulerConfigAdvanced scheduling settings.
diagnostics: MatchRecognizeDiagnosticsUnstable diagnostic implementation overrides.
Trait Implementations§
Source§impl Clone for MatchRecognizeConfig
impl Clone for MatchRecognizeConfig
Source§impl ConfigField for MatchRecognizeConfig
impl ConfigField for MatchRecognizeConfig
Source§impl Debug for MatchRecognizeConfig
impl Debug for MatchRecognizeConfig
Source§impl Default for MatchRecognizeConfig
impl Default for MatchRecognizeConfig
Source§impl ExtensionOptions for MatchRecognizeConfig
impl ExtensionOptions for MatchRecognizeConfig
Source§fn cloned(&self) -> Box<dyn ExtensionOptions>
fn cloned(&self) -> Box<dyn ExtensionOptions>
Return a deep clone of this
ExtensionOptions Read moreSource§fn entries(&self) -> Vec<ConfigEntry>
fn entries(&self) -> Vec<ConfigEntry>
Returns the
ConfigEntry stored in this ExtensionOptionsAuto Trait Implementations§
impl Forget for MatchRecognizeConfig
impl Freeze for MatchRecognizeConfig
impl Move for MatchRecognizeConfig
impl RefUnwindSafe for MatchRecognizeConfig
impl Send for MatchRecognizeConfig
impl Sync for MatchRecognizeConfig
impl Unpin for MatchRecognizeConfig
impl UnsafeUnpin for MatchRecognizeConfig
impl UnwindSafe for MatchRecognizeConfig
Blanket Implementations§
impl<T> Allocation for T
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