public class HashIndexOptions extends Object
Constructor and Description |
---|
HashIndexOptions() |
Modifier and Type | Method and Description |
---|---|
HashIndexOptions |
deduplicate(Boolean deduplicate) |
protected HashIndexOptions |
fields(Iterable<String> fields) |
Boolean |
getDeduplicate() |
protected Iterable<String> |
getFields() |
Boolean |
getSparse() |
protected IndexType |
getType() |
Boolean |
getUnique() |
HashIndexOptions |
sparse(Boolean sparse) |
HashIndexOptions |
unique(Boolean unique) |
protected HashIndexOptions fields(Iterable<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 indexpublic Boolean getDeduplicate()
public HashIndexOptions deduplicate(Boolean deduplicate)
deduplicate
- if false, the deduplication of array values is turned off.Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.