io.tarantool.driver.api.space.options.Options Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cartridge-driver Show documentation
Show all versions of cartridge-driver Show documentation
Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework
package io.tarantool.driver.api.space.options;
import java.util.Optional;
/**
* Marker interface for space operations options
*
* @author Artyom Dubinin
* @author Alexey Kuzin
*/
public interface Options {
/**
* Add named option.
*
* @param option name of option
* @param value value of option
*/
void addOption(String option, Object value);
/**
* Return option value by name.
*
* @param option option name
* @param optionClass option value class
* @param option value type
* @return option value
*/
Optional getOption(String option, Class optionClass);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy