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