public class PersistentIndexOptions extends Object
| Constructor and Description |
|---|
PersistentIndexOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected PersistentIndexOptions |
fields(Collection<String> fields) |
protected Collection<String> |
getFields() |
Boolean |
getSparse() |
protected IndexType |
getType() |
Boolean |
getUnique() |
PersistentIndexOptions |
sparse(Boolean sparse) |
PersistentIndexOptions |
unique(Boolean unique) |
protected IndexType type
protected Collection<String> getFields()
protected PersistentIndexOptions fields(Collection<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 ArangoDB GmbH. All rights reserved.