Class SQLSource

java.lang.Object
org.proto4j.redis.sql.SQLSource

public abstract class SQLSource
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected SQLSource​(SQLConfiguration configuration)  
  • Method Summary

    Modifier and Type Method Description
    SQLConfiguration getConfiguration()  
    abstract java.sql.Connection getConnection()  
    abstract boolean isConnected()  
    abstract java.sql.PreparedStatement prepare​(java.lang.String sql)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getConnection

      public abstract java.sql.Connection getConnection() throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • prepare

      public abstract java.sql.PreparedStatement prepare​(java.lang.String sql) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • isConnected

      public abstract boolean isConnected()
    • getConfiguration

      public SQLConfiguration getConfiguration()