public class CollectionPropertiesOptions extends Object
Constructor and Description |
---|
CollectionPropertiesOptions() |
Modifier and Type | Method and Description |
---|---|
CollectionPropertiesOptions |
computedValues(ComputedValue... computedValues) |
Long |
getJournalSize()
Deprecated.
MMFiles only
|
CollectionSchema |
getSchema() |
Boolean |
getWaitForSync() |
CollectionPropertiesOptions |
journalSize(Long journalSize)
Deprecated.
MMFiles only
|
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.@Deprecated public Long getJournalSize()
@Deprecated public CollectionPropertiesOptions journalSize(Long journalSize)
journalSize
- The maximal size of a journal or datafile in bytes. The value must be at least 1048576 (1 MB). Note
that when changing the journalSize value, it will only have an effect for additional journals or
datafiles that are created. Already existing journals or datafiles will not be affected.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.Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.