public class PersistentIndexOptions extends IndexOptions<PersistentIndexOptions>
Constructor and Description |
---|
PersistentIndexOptions() |
Modifier and Type | Method and Description |
---|---|
PersistentIndexOptions |
estimates(Boolean estimates) |
protected PersistentIndexOptions |
fields(Iterable<String> fields) |
Boolean |
getEstimates() |
protected Iterable<String> |
getFields() |
Boolean |
getSparse() |
protected PersistentIndexOptions |
getThis() |
protected IndexType |
getType() |
Boolean |
getUnique() |
PersistentIndexOptions |
sparse(Boolean sparse) |
PersistentIndexOptions |
unique(Boolean unique) |
getInBackground, getName, inBackground, name
protected final IndexType type
protected PersistentIndexOptions getThis()
getThis
in class IndexOptions<PersistentIndexOptions>
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 indexpublic PersistentIndexOptions estimates(Boolean estimates)
estimates
- This attribute controls whether index selectivity estimates are maintained for the index. Default: true
public Boolean getEstimates()
Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.