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