All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arangodb.model.EdgeCollectionDropOptions Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
package com.arangodb.model;

public class EdgeCollectionDropOptions {
    private Boolean waitForSync;
    private Boolean dropCollections;

    public Boolean getWaitForSync() {
        return waitForSync;
    }

    /**
     * @param waitForSync Define if the request should wait until synced to disk.
     * @return this
     */
    public EdgeCollectionDropOptions waitForSync(Boolean waitForSync) {
        this.waitForSync = waitForSync;
        return this;
    }

    public Boolean getDropCollections() {
        return dropCollections;
    }

    /**
     * @param dropCollections Drop the collection as well. Collection will only be dropped if it is not used in other
     *                        graphs.
     * @return this
     */
    public EdgeCollectionDropOptions dropCollections(Boolean dropCollections) {
        this.dropCollections = dropCollections;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy