public class FieldLink extends Object
Modifier and Type | Method and Description |
---|---|
FieldLink |
analyzers(String... analyzers) |
FieldLink |
fields(FieldLink... fields) |
Collection<String> |
getAnalyzers() |
Collection<FieldLink> |
getFields() |
Boolean |
getInBackground() |
Boolean |
getIncludeAllFields() |
String |
getName() |
Collection<FieldLink> |
getNested() |
StoreValuesType |
getStoreValues() |
Boolean |
getTrackListPositions() |
FieldLink |
inBackground(Boolean inBackground) |
FieldLink |
includeAllFields(Boolean includeAllFields) |
FieldLink |
nested(FieldLink... nested) |
static FieldLink |
on(String name)
Creates an instance of
FieldLink on the given field name |
FieldLink |
storeValues(StoreValuesType storeValues) |
FieldLink |
trackListPositions(Boolean trackListPositions) |
public static FieldLink on(String name)
FieldLink
on the given field namename
- Name of a fieldFieldLink
public FieldLink analyzers(String... analyzers)
analyzers
- The list of analyzers to be used for indexing of string values (default: ["identity"]).public FieldLink includeAllFields(Boolean includeAllFields)
includeAllFields
- The flag determines whether or not to index all fields on a particular level of depth (default:
false).public FieldLink trackListPositions(Boolean trackListPositions)
trackListPositions
- The flag determines whether or not values in a lists should be treated separate (default: false).public FieldLink storeValues(StoreValuesType storeValues)
storeValues
- How should the view track the attribute values, this setting allows for additional value retrieval
optimizations (default "none").public FieldLink fields(FieldLink... fields)
fields
- A list of linked fieldspublic FieldLink nested(FieldLink... nested)
nested
- A list of nested fieldspublic FieldLink 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 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()
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.