Package com.arangodb.model
Class CollectionPropertiesOptions
- java.lang.Object
-
- com.arangodb.model.CollectionPropertiesOptions
-
public final class CollectionPropertiesOptions extends Object
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description CollectionPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionPropertiesOptions
computedValues(ComputedValue... computedValues)
List<ComputedValue>
getComputedValues()
CollectionSchema
getSchema()
Boolean
getWaitForSync()
CollectionPropertiesOptions
schema(CollectionSchema schema)
CollectionPropertiesOptions
waitForSync(Boolean waitForSync)
-
-
-
Method Detail
-
getWaitForSync
public Boolean getWaitForSync()
-
waitForSync
public CollectionPropertiesOptions waitForSync(Boolean waitForSync)
- Parameters:
waitForSync
- If true then creating or changing a document will wait until the data has been synchronized to disk.- Returns:
- options
-
getSchema
public CollectionSchema getSchema()
-
schema
public CollectionPropertiesOptions schema(CollectionSchema schema)
- Parameters:
schema
- object that specifies the collection level schema for documents- Returns:
- options
- Since:
- ArangoDB 3.7
-
computedValues
public CollectionPropertiesOptions computedValues(ComputedValue... computedValues)
- Parameters:
computedValues
- An optional list of computed values.- Returns:
- options
- Since:
- ArangoDB 3.10
-
getComputedValues
public List<ComputedValue> getComputedValues()
-
-