Class SplunkDriver

  • All Implemented Interfaces:
    java.sql.Driver

    public class SplunkDriver
    extends Driver
    JDBC driver for Splunk.

    It accepts connect strings that start with "jdbc:splunk:".

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  SplunkDriver.MockSplunkConnection
      Connection that looks up responses from a static map.
      private static class  SplunkDriver.WrappingSplunkConnection
      Connection that records requests and responses.
      • Nested classes/interfaces inherited from class org.apache.calcite.avatica.UnregisteredDriver

        org.apache.calcite.avatica.UnregisteredDriver.JdbcVersion
    • Field Summary

      • Fields inherited from class org.apache.calcite.avatica.UnregisteredDriver

        factory, handler
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SplunkDriver()  
    • Constructor Detail

      • SplunkDriver

        protected SplunkDriver()
    • Method Detail

      • createDriverVersion

        protected org.apache.calcite.avatica.DriverVersion createDriverVersion()
        Overrides:
        createDriverVersion in class Driver
      • connect

        public java.sql.Connection connect​(java.lang.String url,
                                           java.util.Properties info)
                                    throws java.sql.SQLException
        Specified by:
        connect in interface java.sql.Driver
        Overrides:
        connect in class org.apache.calcite.avatica.UnregisteredDriver
        Throws:
        java.sql.SQLException