[][src]Struct scylla::statement::query::Query

pub struct Query { /* fields omitted */ }

CQL query statement.

This represents a CQL query that can be executed on a server.

Implementations

impl Query[src]

pub fn new(contents: String) -> Self[src]

Creates a new Query from a CQL query string.

pub fn get_contents(&self) -> &str[src]

Returns the string representation of the CQL query.

pub fn set_page_size(&mut self, page_size: i32)[src]

Sets the page size for this CQL query.

pub fn disable_paging(&mut self)[src]

Disables paging for this CQL query.

pub fn get_page_size(&self) -> Option<i32>[src]

Returns the page size for this CQL query.

Trait Implementations

impl Clone for Query[src]

impl<'a> From<&'a str> for Query[src]

impl From<String> for Query[src]

Auto Trait Implementations

impl RefUnwindSafe for Query

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]