public final class CollectionPropertiesOptions extends Object
Constructor and Description |
---|
CollectionPropertiesOptions() |
Modifier and Type | Method and Description |
---|---|
CollectionPropertiesOptions |
computedValues(ComputedValue... computedValues) |
List<ComputedValue> |
getComputedValues() |
CollectionSchema |
getSchema() |
Boolean |
getWaitForSync() |
CollectionPropertiesOptions |
schema(CollectionSchema schema) |
CollectionPropertiesOptions |
waitForSync(Boolean waitForSync) |
public Boolean getWaitForSync()
public CollectionPropertiesOptions waitForSync(Boolean waitForSync)
waitForSync
- If true then creating or changing a document will wait until the data has been synchronized
to disk.public CollectionSchema getSchema()
public CollectionPropertiesOptions schema(CollectionSchema schema)
schema
- object that specifies the collection level schema for documentspublic CollectionPropertiesOptions computedValues(ComputedValue... computedValues)
computedValues
- An optional list of computed values.public List<ComputedValue> getComputedValues()
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.