Package org.elasticsearch.xpack.sql.jdbc
Class EsDriver
java.lang.Object
org.elasticsearch.xpack.sql.jdbc.EsDriver
- All Implemented Interfaces:
Driver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties props) static voidintintgetPropertyInfo(String url, Properties info) booleanstatic EsDriverregister()
-
Constructor Details
-
EsDriver
public EsDriver()
-
-
Method Details
-
register
- Throws:
SQLException
-
deregister
- Throws:
SQLException
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-