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

io.tarantool.driver.api.space.options.Options 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.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