ListReturnType
in package
ListReturnType determines the returned values in CDT List operations.
Table of Contents
Methods
- count() : ListReturnType
- ListReturnTypeCount will return count of items selected.
- Exists() : ListReturnType
- ListReturnTypeExists returns true if count > 0.
- Index() : ListReturnType
- ListReturnTypeIndex will return index offset order.
- inverted() : ListReturnType
- ListReturnTypeInverted will invert meaning of list command and return values. For example: ListOperation.getByIndexRange(binName, index, count, ListReturnType.INDEX | ListReturnType.INVERTED) With the INVERTED flag enabled, the items outside of the specified index range will be returned.
- None() : ListReturnType
- ListReturnTypeNone will not return a result.
- Rank() : ListReturnType
- ListReturnTypeRank will return value order.
- ReverseIndex() : ListReturnType
- ListReturnTypeReverseIndex will return reverse index offset order.
- ReverseRank() : ListReturnType
- ListReturnTypeReverseRank will return reverse value order.
- Value() : ListReturnType
- ListReturnTypeValue will return value for single key read and value list for range read.
Methods
count()
ListReturnTypeCount will return count of items selected.
public
static count() : ListReturnType
Return values
ListReturnTypeExists()
ListReturnTypeExists returns true if count > 0.
public
static Exists() : ListReturnType
Return values
ListReturnTypeIndex()
ListReturnTypeIndex will return index offset order.
public
static Index() : ListReturnType
0 = first key N = Nth key -1 = last key
Return values
ListReturnTypeinverted()
ListReturnTypeInverted will invert meaning of list command and return values. For example: ListOperation.getByIndexRange(binName, index, count, ListReturnType.INDEX | ListReturnType.INVERTED) With the INVERTED flag enabled, the items outside of the specified index range will be returned.
public
inverted() : ListReturnType
The meaning of the list command can also be inverted. For example: ListOperation.removeByIndexRange(binName, index, count, ListReturnType.INDEX | ListReturnType.INVERTED); With the INVERTED flag enabled, the items outside of the specified index range will be removed and returned.
Return values
ListReturnTypeNone()
ListReturnTypeNone will not return a result.
public
static None() : ListReturnType
Return values
ListReturnTypeRank()
ListReturnTypeRank will return value order.
public
static Rank() : ListReturnType
0 = smallest value N = Nth smallest value -1 = largest value
Return values
ListReturnTypeReverseIndex()
ListReturnTypeReverseIndex will return reverse index offset order.
public
static ReverseIndex() : ListReturnType
0 = last key -1 = first key
Return values
ListReturnTypeReverseRank()
ListReturnTypeReverseRank will return reverse value order.
public
static ReverseRank() : ListReturnType
0 = largest value N = Nth largest value -1 = smallest value
Return values
ListReturnTypeValue()
ListReturnTypeValue will return value for single key read and value list for range read.
public
static Value() : ListReturnType