com.yandex.ydb.jdbc.settings.ToDriverPropertyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
The newest version!
package com.yandex.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);
}