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

tech.ydb.jdbc.query.ParamDescription Maven / Gradle / Ivy

There is a newer version: 2.3.6
Show newest version
package tech.ydb.jdbc.query;

import tech.ydb.jdbc.common.TypeDescription;

/**
 *
 * @author Aleksandr Gorshenin
 */
public class ParamDescription {
    private final String name;
    private final String displayName;
    private final TypeDescription type;

    public ParamDescription(String name, String displayName, TypeDescription type) {
        this.name = name;
        this.displayName = displayName;
        this.type = type;
    }

    public ParamDescription(String name, TypeDescription type) {
        this(name, name, type);
    }

    public String name() {
        return name;
    }

    public String displayName() {
        return displayName;
    }

    public TypeDescription type() {
        return type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy