Enum aerospike::operations::lists::ListReturnType
source · pub enum ListReturnType {
None,
Index,
ReverseIndex,
Rank,
ReverseRank,
Count,
Values,
Inverted,
}
Expand description
CdtListReturnType
determines the returned values in CDT List operations.
Variants§
None
Do not return a result.
Index
Return index offset order. 0 = first key N = Nth key -1 = last key
ReverseIndex
Return reverse index offset order. 0 = last key -1 = first key
Rank
Return value order. 0 = smallest value N = Nth smallest value -1 = largest value
ReverseRank
Return reserve value order. 0 = largest value N = Nth largest value -1 = smallest value
Count
Return count of items selected.
Values
Return value for single key read and value list for range read.
Inverted
Invert meaning of list command and return values. With the INVERTED flag enabled, the items outside of the specified index range will be returned. The meaning of the list command can also be inverted. With the INVERTED flag enabled, the items outside of the specified index range will be removed and returned.
Trait Implementations§
source§impl Clone for ListReturnType
impl Clone for ListReturnType
source§fn clone(&self) -> ListReturnType
fn clone(&self) -> ListReturnType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more