pub enum ReadPathMode {
Auto,
Point,
Full,
}Expand description
Forced SELECT access path (issue #1918).
A test/debug control that removes doubt about which access path serves a
SELECT. It never changes value decoding, tombstone/timestamp reconciliation,
or WRITETIME/TTL semantics — it governs routing only — and is chosen
exclusively from explicit operator config/env, never inferred from data bytes
(no-heuristics mandate). Set programmatically via
QueryConfig::forced_read_path or per-process via the CQLITE_READ_PATH
environment variable (auto|point|full, case-insensitive), with config taking
precedence over env. Not a performance recommendation.
Variants§
Auto
Today’s behavior: the classifier chooses point-vs-full per query. An unset knob is byte-for-byte this mode.
Point
Force a genuinely partition-targeted lookup. Fails closed with
crate::Error::ForcedReadPathUnavailable whenever the executor would not
run a partition-targeted lookup — never a silent full scan.
Full
Force the full-scan + reconciliation path regardless of classification,
recording crate::query::access_path::FallbackReason::ForcedFullScan.
Trait Implementations§
Source§impl Clone for ReadPathMode
impl Clone for ReadPathMode
Source§fn clone(&self) -> ReadPathMode
fn clone(&self) -> ReadPathMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ReadPathMode
Source§impl Debug for ReadPathMode
impl Debug for ReadPathMode
Source§impl Default for ReadPathMode
impl Default for ReadPathMode
Source§fn default() -> ReadPathMode
fn default() -> ReadPathMode
Source§impl<'de> Deserialize<'de> for ReadPathMode
impl<'de> Deserialize<'de> for ReadPathMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ReadPathMode
Source§impl PartialEq for ReadPathMode
impl PartialEq for ReadPathMode
Source§impl Serialize for ReadPathMode
impl Serialize for ReadPathMode
impl StructuralPartialEq for ReadPathMode
Auto Trait Implementations§
impl Freeze for ReadPathMode
impl RefUnwindSafe for ReadPathMode
impl Send for ReadPathMode
impl Sync for ReadPathMode
impl Unpin for ReadPathMode
impl UnsafeUnpin for ReadPathMode
impl UnwindSafe for ReadPathMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.