tech.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-jdbc-driver Show documentation
Show all versions of ydb-jdbc-driver Show documentation
JDBC Driver over YDB Java SDK
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);
}