io.tarantool.driver.core.metadata.TarantoolIndexPartMetadataImpl 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.core.metadata;
import io.tarantool.driver.api.metadata.TarantoolIndexPartMetadata;
/**
* Represents Tarantool index part metadata
*
* @author Sergey Volgin
*/
class TarantoolIndexPartMetadataImpl implements TarantoolIndexPartMetadata {
private final int fieldIndex;
private final String fieldType;
private final String path;
TarantoolIndexPartMetadataImpl(int fieldIndex, String fieldType) {
this(fieldIndex, fieldType, null);
}
TarantoolIndexPartMetadataImpl(int fieldIndex, String fieldType, String path) {
this.fieldIndex = fieldIndex;
this.fieldType = fieldType;
this.path = path;
}
@Override
public int getFieldIndex() {
return fieldIndex;
}
@Override
public String getFieldType() {
return fieldType;
}
@Override
public String getPath() {
return path;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy