Struct riak::secondary_index::IndexReq
[−]
[src]
pub struct IndexReq(_);
represents a 2i request
Methods
impl IndexReq
[src]
fn new<T: Into<Vec<u8>>>(
bucket_type: T,
bucket: T,
index: T,
qtype: IndexQueryType
) -> IndexReq
bucket_type: T,
bucket: T,
index: T,
qtype: IndexQueryType
) -> IndexReq
constructs a new IndexReq
fn get_pagination_sort(&self) -> Option<bool>
get the "pagination_sort" property
fn set_pagination_sort(&mut self, pagination_sort: bool)
set the "pagination_sort" property
fn get_term_regex(&self) -> Option<&[u8]>
get the "term_regex" property
fn set_term_regex<T: Into<Vec<u8>>>(&mut self, term_regex: T)
set the "term_regex" property
fn get_key(&self) -> Option<&[u8]>
get the "key" property
fn set_key<T: Into<Vec<u8>>>(&mut self, key: T)
set the "key" property
fn get_stream(&self) -> Option<bool>
get the "stream" property
fn set_stream(&mut self, stream: bool)
set the "stream" property
Trait Implementations
impl Clone for IndexReq
[src]
fn clone(&self) -> IndexReq
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more