Package org.apache.flink.table.jdbc
Class DriverUri
- java.lang.Object
-
- org.apache.flink.table.jdbc.DriverUri
-
public class DriverUri extends Object
Parse catalog, table and connection properties from uri forFlinkDriver.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanacceptsURL(String url)static DriverUricreate(String url, Properties properties)InetSocketAddressgetAddress()Optional<String>getCatalog()Optional<String>getDatabase()PropertiesgetProperties()StringgetURL()
-
-
-
Method Detail
-
getAddress
public InetSocketAddress getAddress()
-
getProperties
public Properties getProperties()
-
getURL
public String getURL()
-
acceptsURL
public static boolean acceptsURL(String url)
-
create
public static DriverUri create(String url, Properties properties) throws SQLException
- Throws:
SQLException
-
-