public class CollectionLink extends Object
Modifier and Type | Method and Description |
---|---|
CollectionLink |
analyzers(String... analyzers) |
CollectionLink |
cache(Boolean cache) |
CollectionLink |
fields(FieldLink... fields) |
Collection<String> |
getAnalyzers() |
Boolean |
getCache() |
Collection<FieldLink> |
getFields() |
Boolean |
getInBackground() |
Boolean |
getIncludeAllFields() |
String |
getName() |
Collection<FieldLink> |
getNested() |
StoreValuesType |
getStoreValues() |
Boolean |
getTrackListPositions() |
CollectionLink |
inBackground(Boolean inBackground) |
CollectionLink |
includeAllFields(Boolean includeAllFields) |
CollectionLink |
nested(FieldLink... nested) |
static CollectionLink |
on(String name)
Creates an instance of
CollectionLink on the given collection name |
CollectionLink |
storeValues(StoreValuesType storeValues) |
CollectionLink |
trackListPositions(Boolean trackListPositions) |
public static CollectionLink on(String name)
CollectionLink
on the given collection namename
- Name of a collectionCollectionLink
public CollectionLink analyzers(String... analyzers)
analyzers
- The list of analyzers to be used for indexing of string values (default: ["identity"]).public CollectionLink includeAllFields(Boolean includeAllFields)
includeAllFields
- The flag determines whether or not to index all fields on a particular level of depth (default:
false).public CollectionLink trackListPositions(Boolean trackListPositions)
trackListPositions
- The flag determines whether or not values in a lists should be treated separate (default: false).public CollectionLink storeValues(StoreValuesType storeValues)
storeValues
- How should the view track the attribute values, this setting allows for additional value retrieval
optimizations (default "none").public CollectionLink fields(FieldLink... fields)
fields
- A list of linked fieldspublic CollectionLink nested(FieldLink... nested)
nested
- A list of nested fieldspublic CollectionLink inBackground(Boolean inBackground)
inBackground
- If set to true, then no exclusive lock is used on the source collection during View index
creation, so that it remains basically available. inBackground is an option that can be set
when adding links. It does not get persisted as it is not a View property, but only a
one-off option. (default: false)public CollectionLink cache(Boolean cache)
cache
- If you enable this option, then field normalization values are always cached in memory. This can
improve the performance of scoring and ranking queries. Otherwise, these values are memory-mapped
and it is up to the operating system to load them from disk into memory and to evict them from
memory.public String getName()
public Collection<String> getAnalyzers()
public Boolean getIncludeAllFields()
public Boolean getTrackListPositions()
public StoreValuesType getStoreValues()
public Collection<FieldLink> getFields()
public Collection<FieldLink> getNested()
public Boolean getInBackground()
public Boolean getCache()
Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.