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 boolean
acceptsURL(String url)
static DriverUri
create(String url, Properties properties)
InetSocketAddress
getAddress()
Optional<String>
getCatalog()
Optional<String>
getDatabase()
Properties
getProperties()
String
getURL()
-
-
-
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
-
-