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

tech.ydb.jdbc.settings.ToDriverPropertyInfo Maven / Gradle / Ivy

There is a newer version: 2.3.5
Show newest version
package tech.ydb.jdbc.settings;

import java.sql.DriverPropertyInfo;

import javax.annotation.Nullable;

public interface ToDriverPropertyInfo {

    default DriverPropertyInfo toDriverPropertyInfoFrom(ParsedProperty value) {
        return toDriverPropertyInfo(value != null ? value.getRawValue() : null);
    }

    DriverPropertyInfo toDriverPropertyInfo(@Nullable String value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy