Struct riak::stream::SecondaryIndexStream
[−]
[src]
pub struct SecondaryIndexStream { /* fields omitted */ }
SecondaryIndexStream represents a streaming 2i search
Methods
impl SecondaryIndexStream
[src]
fn new(
client: &mut Client,
request: IndexReq
) -> Result<SecondaryIndexStream, RiakErr>
client: &mut Client,
request: IndexReq
) -> Result<SecondaryIndexStream, RiakErr>
constructs a new SecondaryIndexStream
fn all(&mut self) -> Result<Vec<IndexResp>, RiakErr>
retrieves all the IndexResp for the IndexReq
fn next(&mut self) -> Option<Result<IndexResp, RiakErr>>
retrieves the next IndexResp