public class PersistentIndexOptions extends Object
| Constructor and Description |
|---|
PersistentIndexOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected PersistentIndexOptions |
fields(Iterable<String> fields) |
protected Iterable<String> |
getFields() |
Boolean |
getSparse() |
protected IndexType |
getType() |
Boolean |
getUnique() |
PersistentIndexOptions |
sparse(Boolean sparse) |
PersistentIndexOptions |
unique(Boolean unique) |
protected IndexType type
protected PersistentIndexOptions fields(Iterable<String> fields)
fields - A list of attribute pathsprotected IndexType getType()
public Boolean getUnique()
public PersistentIndexOptions unique(Boolean unique)
unique - if true, then create a unique indexpublic Boolean getSparse()
public PersistentIndexOptions sparse(Boolean sparse)
sparse - if true, then create a sparse indexCopyright © 2016–2017 ArangoDB GmbH. All rights reserved.