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