pub struct TableSampleDef {
pub method: SampleMethod,
pub percentage: f64,
pub seed: Option<i64>,
}Expand description
TABLESAMPLE / SAMPLE clause.
Fields§
§method: SampleMethodSampling method: BERNOULLI, SYSTEM, BLOCK (Oracle).
percentage: f64Sample percentage (0.0 - 100.0).
seed: Option<i64>REPEATABLE / SEED value for reproducible sampling.
Trait Implementations§
Source§impl Clone for TableSampleDef
impl Clone for TableSampleDef
Source§fn clone(&self) -> TableSampleDef
fn clone(&self) -> TableSampleDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableSampleDef
impl RefUnwindSafe for TableSampleDef
impl Send for TableSampleDef
impl Sync for TableSampleDef
impl Unpin for TableSampleDef
impl UnsafeUnpin for TableSampleDef
impl UnwindSafe for TableSampleDef
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