Package com.c8db.model
Class SkiplistIndexOptions
- java.lang.Object
-
- com.c8db.model.IndexOptions
-
- com.c8db.model.SkiplistIndexOptions
-
public class SkiplistIndexOptions extends IndexOptions
-
-
Constructor Summary
Constructors Constructor Description SkiplistIndexOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkiplistIndexOptionsdeduplicate(Boolean deduplicate)protected SkiplistIndexOptionsfields(Iterable<String> fields)BooleangetDeduplicate()protected Iterable<String>getFields()BooleangetSparse()BooleangetUnique()SkiplistIndexOptionssparse(Boolean sparse)SkiplistIndexOptionsunique(Boolean unique)-
Methods inherited from class com.c8db.model.IndexOptions
create, getInBackground, getName, getType, inBackground, name
-
-
-
-
Method Detail
-
fields
protected SkiplistIndexOptions fields(Iterable<String> fields)
- Parameters:
fields- A list of attribute paths- Returns:
- options
-
getUnique
public Boolean getUnique()
-
unique
public SkiplistIndexOptions unique(Boolean unique)
- Parameters:
unique- if true, then create a unique index- Returns:
- options
-
getSparse
public Boolean getSparse()
-
sparse
public SkiplistIndexOptions sparse(Boolean sparse)
- Parameters:
sparse- if true, then create a sparse index- Returns:
- options
-
getDeduplicate
public Boolean getDeduplicate()
-
deduplicate
public SkiplistIndexOptions deduplicate(Boolean deduplicate)
- Parameters:
deduplicate- if false, the deduplication of array values is turned off.- Returns:
- options
-
-