#[non_exhaustive]pub struct MatchRecognizeLimits {
pub yield_slice_micros: usize,
pub cancellation_poll_interval: usize,
pub execution_deadline_millis: usize,
pub pattern_max_permute_branches: usize,
pub pattern_max_nfa_states: usize,
pub pattern_max_epsilon_closure_entries: usize,
pub pattern_max_dense_transition_cells: usize,
pub single_row_array_cache_max_entries: usize,
pub single_row_array_cache_max_bytes: usize,
}Expand description
Stable resource and safety limits for pattern matching.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.yield_slice_micros: usizeSoft active-work slice in microseconds, shared by matching and its resumable preparation/output phases. Native calls stay atomic, so this is not a latency bound. Zero disables voluntary slices, not cancellation polling, the ready-input guard, or native scheduler cooperation.
cancellation_poll_interval: usizePositive completed-work countdown interval for abort-signal and execution-deadline probes. Polling occurs at completed-work call boundaries, so one nonresumable charged batch may overshoot it. A zero value is rejected before a scan begins.
execution_deadline_millis: usizeOptional elapsed execution deadline in milliseconds, applied independently to every row-loop scan governor and to the stream’s storage governor. Zero disables the deadline; abort-signal polling remains enabled.
pattern_max_permute_branches: usizeMaximum deduplicated PERMUTE(...) branches.
pattern_max_nfa_states: usizeMaximum compiled NFA states.
pattern_max_epsilon_closure_entries: usizeMaximum retained epsilon-closure entries.
pattern_max_dense_transition_cells: usizeMaximum NFA transition-table entries (states × symbol IDs).
single_row_array_cache_max_entries: usizeMaximum non-common entries retained by the scan-local one-row Arrow array cache. Zero disables dynamic retention; fixed null, Boolean, and small-integer slots remain available. Values above 4,096 are rejected before fallback evaluation begins.
single_row_array_cache_max_bytes: usizeMaximum conservative live-entry bytes in the dynamic one-row Arrow array cache. The memory pool also covers reusable LRU storage. Zero disables dynamic retention. Values above 64 MiB are rejected before fallback evaluation begins.
Trait Implementations§
Source§impl Clone for MatchRecognizeLimits
impl Clone for MatchRecognizeLimits
Source§impl ConfigField for MatchRecognizeLimits
impl ConfigField for MatchRecognizeLimits
Source§impl Debug for MatchRecognizeLimits
impl Debug for MatchRecognizeLimits
Source§impl Default for MatchRecognizeLimits
impl Default for MatchRecognizeLimits
Source§impl ExtensionOptions for MatchRecognizeLimits
impl ExtensionOptions for MatchRecognizeLimits
Source§fn cloned(&self) -> Box<dyn ExtensionOptions>
fn cloned(&self) -> Box<dyn ExtensionOptions>
ExtensionOptions Read moreSource§fn entries(&self) -> Vec<ConfigEntry>
fn entries(&self) -> Vec<ConfigEntry>
ConfigEntry stored in this ExtensionOptionsAuto Trait Implementations§
impl Forget for MatchRecognizeLimits
impl Freeze for MatchRecognizeLimits
impl Move for MatchRecognizeLimits
impl RefUnwindSafe for MatchRecognizeLimits
impl Send for MatchRecognizeLimits
impl Sync for MatchRecognizeLimits
impl Unpin for MatchRecognizeLimits
impl UnsafeUnpin for MatchRecognizeLimits
impl UnwindSafe for MatchRecognizeLimits
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
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> ⓘ
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> ⓘ
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