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

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

import java.util.List;

/**
 * Tuple filtering condition which accepts index key parts values
 *
 * @author Alexey Kuzin
 */
public class IndexValueCondition extends BaseCondition {

    private final List indexValues;

    /**
     * Basic constructor
     *
     * @param operator the filtering operator
     * @param field the filtering index
     * @param indexValues the index parts values
     */
    public IndexValueCondition(Operator operator, FieldIdentifier field, List indexValues) {
        super(operator, field);
        this.indexValues = indexValues;
    }

    @Override
    public List value() {
        return indexValues;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy