Package com.arangodb.model
Class CollectionPropertiesOptions
- java.lang.Object
-
- com.arangodb.model.CollectionPropertiesOptions
-
public final class CollectionPropertiesOptions extends Object
- Author:
- Mark Vollmary
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description CollectionPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionPropertiesOptionscomputedValues(ComputedValue... computedValues)List<ComputedValue>getComputedValues()CollectionSchemagetSchema()BooleangetWaitForSync()CollectionPropertiesOptionsschema(CollectionSchema schema)CollectionPropertiesOptionswaitForSync(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()
-
-