Class DriverImpl
java.lang.Object
org.apache.solr.client.solrj.io.sql.DriverImpl
- All Implemented Interfaces:
Driver
Get a Connection with an url and properties.
jdbc:solr://zkhost:port?collection=collection&aggregationMode=map_reduce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties props) intintgetPropertyInfo(String url, Properties info) booleanprotected URIprocessUrl(String url)
-
Constructor Details
-
DriverImpl
public DriverImpl()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
connect
- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver
-
processUrl
- Throws:
SQLException
-