io.tarantool.driver.api.tuple.TarantoolField 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.tuple;
import io.tarantool.driver.mappers.MessagePackValueMapper;
import io.tarantool.driver.protocol.Packable;
/**
* Represents individual field in a tuple
*
* @author Alexey Kuzin
*/
public interface TarantoolField extends Packable {
/**
* Get the field value converted to the target type
*
* @param targetClass the target type class
* @param mapper mapper for converting MessagePack entity to Java object
* @param the target type
* @return value
*/
O getValue(Class targetClass, MessagePackValueMapper mapper);
}