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

io.tarantool.driver.core.proxy.CRUDDeleteOptions Maven / Gradle / Ivy

Go to download

Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework

There is a newer version: 0.14.0
Show newest version
package io.tarantool.driver.core.proxy;

import java.util.List;
import java.util.Optional;

/**
 * This class is not part of the public API.
 * 

* Represent options for cluster delete operation. * * @author Alexey Kuzin * @author Artyom Dubinin */ class CRUDDeleteOptions extends CRUDBucketIdOptions { public static final String FIELDS = "fields"; protected > CRUDDeleteOptions(CRUDDeleteOptions.AbstractBuilder builder) { super(builder); addOption(FIELDS, builder.fields); } protected abstract static class AbstractBuilder> extends CRUDBucketIdOptions.AbstractBuilder { private Optional fields = Optional.empty(); public B withFields(Optional fields) { this.fields = fields; return self(); } } protected static final class Builder extends AbstractBuilder { @Override CRUDDeleteOptions.Builder self() { return this; } @Override public CRUDDeleteOptions build() { return new CRUDDeleteOptions(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy