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

io.tarantool.driver.api.conditions.FieldValueCondition 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.conditions;

/**
 * Tuple filtering condition which accepts a field value
 *
 * @author Alexey Kuzin
 */
public class FieldValueCondition extends BaseCondition {

    private final Object value;

    /**
     * Basic constructor
     *
     * @param operator filtering operator
     * @param field filtering field
     * @param value field value for comparison
     */
    public FieldValueCondition(Operator operator, FieldIdentifier field, Object value) {
        super(operator, field);
        this.value = value;
    }

    @Override
    public Object value() {
        return value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy