PersistentIndexOptions
instead. Since ArangoDB 3.7 a hash index is an alias for a persistent
index.@Deprecated public final class HashIndexOptions extends IndexOptions<HashIndexOptions>
Constructor and Description |
---|
HashIndexOptions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HashIndexOptions |
deduplicate(Boolean deduplicate)
Deprecated.
|
HashIndexOptions |
estimates(Boolean estimates)
Deprecated.
|
Boolean |
getDeduplicate()
Deprecated.
|
Boolean |
getEstimates()
Deprecated.
|
Iterable<String> |
getFields()
Deprecated.
|
Boolean |
getSparse()
Deprecated.
|
IndexType |
getType()
Deprecated.
|
Boolean |
getUnique()
Deprecated.
|
HashIndexOptions |
sparse(Boolean sparse)
Deprecated.
|
HashIndexOptions |
unique(Boolean unique)
Deprecated.
|
getInBackground, getName, inBackground, name
public 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.public HashIndexOptions estimates(Boolean estimates)
estimates
- This attribute controls whether index selectivity estimates are maintained for the index.
Default: true
public Boolean getEstimates()
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.