org.apache.solr.client.solrj.io.sql

## Class DriverImpl

- java.lang.Object
- - org.apache.solr.client.solrj.io.sql.DriverImpl

- All Implemented Interfaces:
    Driver

      public class DriverImpl
      extends Object
      implements Driver

  Get a Connection with with a url and properties. jdbc:solr://zkhost:port?collection=collection&aggregationMode=map_reduce

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DriverImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `acceptsURL(String url)`
    `Connection` | `connect(String url)`
    `Connection` | `connect(String url, Properties props)`
    `int` | `getMajorVersion()`
    `int` | `getMinorVersion()`
    `Logger` | `getParentLogger()`
    `DriverPropertyInfo[]` | `getPropertyInfo(String url, Properties info)`
    `boolean` | `jdbcCompliant()`
    `protected URI` | `processUrl(String url)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DriverImpl

          public DriverImpl()

  - ### Method Detail

    - #### connect

          public Connection connect(String url,
                                    Properties props)
                             throws SQLException

      Specified by:
        `connect` in interface `Driver`
      Throws:
        `SQLException`

    - #### connect

          public Connection connect(String url)
                             throws SQLException

      Throws:
        `SQLException`

    - #### getMajorVersion

          public int getMajorVersion()

      Specified by:
        `getMajorVersion` in interface `Driver`

    - #### getMinorVersion

          public int getMinorVersion()

      Specified by:
        `getMinorVersion` in interface `Driver`

    - #### acceptsURL

          public boolean acceptsURL(String url)

      Specified by:
        `acceptsURL` in interface `Driver`

    - #### jdbcCompliant

          public boolean jdbcCompliant()

      Specified by:
        `jdbcCompliant` in interface `Driver`

    - #### getParentLogger

          public Logger getParentLogger()

      Specified by:
        `getParentLogger` in interface `Driver`

    - #### getPropertyInfo

          public DriverPropertyInfo[] getPropertyInfo(String url,
                                                      Properties info)

      Specified by:
        `getPropertyInfo` in interface `Driver`

    - #### processUrl

          protected URI processUrl(String url)
                            throws SQLException

      Throws:
        `SQLException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.