pub struct SqlSweepFact {
pub line: usize,
pub column: usize,
pub table: String,
pub table_parts: Vec<String>,
pub order_columns: Vec<String>,
pub conjuncts: Vec<SqlConjunctFact>,
}Expand description
A limited SELECT over one base table, ordered by plain columns of that table: the shape of
a page of a keyset walk. Only the WHERE conjuncts decide whether the walk is selective.
Fields§
§line: usize§column: usizeThe column where the table is written, which decides the owning operand of recovered SQL.
table: StringThe base relation, as written and normalized.
table_parts: Vec<String>The parts of that name, so a quoted dot is not read as a schema qualifier.
order_columns: Vec<String>The ORDER BY columns, in order.
conjuncts: Vec<SqlConjunctFact>Top-level AND conjuncts of WHERE (none when there is no WHERE).
Trait Implementations§
Source§impl Clone for SqlSweepFact
impl Clone for SqlSweepFact
Source§fn clone(&self) -> SqlSweepFact
fn clone(&self) -> SqlSweepFact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqlSweepFact
impl Debug for SqlSweepFact
impl Eq for SqlSweepFact
Source§impl PartialEq for SqlSweepFact
impl PartialEq for SqlSweepFact
impl StructuralPartialEq for SqlSweepFact
Auto Trait Implementations§
impl Forget for SqlSweepFact
impl Freeze for SqlSweepFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<SqlConjunctFact>: Freeze,
impl Move for SqlSweepFact
impl RefUnwindSafe for SqlSweepFact
impl Send for SqlSweepFactwhere
RawVecInner: Send,
impl Sync for SqlSweepFactwhere
RawVecInner: Sync,
impl Unpin for SqlSweepFact
impl UnsafeUnpin for SqlSweepFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<SqlConjunctFact>: UnsafeUnpin,
impl UnwindSafe for SqlSweepFactwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<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