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

io.tarantool.driver.metadata.TarantoolIndexPartMetadata 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.metadata;

/**
 * Represents Tarantool index part metadata
 *
 * @author Sergey Volgin
 */
public class TarantoolIndexPartMetadata {

    private final int fieldIndex;
    private final String fieldType;

    public TarantoolIndexPartMetadata(int fieldIndex, String fieldType) {
        this.fieldIndex = fieldIndex;
        this.fieldType = fieldType;
    }

    /**
     * Get field index in space format
     *
     * @return field index starts with 0
     */
    public int getFieldIndex() {
        return fieldIndex;
    }

    /**
     * Get field type
     *
     * @return field type
     */
    public String getFieldType() {
        return fieldType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy