java.lang.Object
org.proto4j.redis.sql.SQLSource
public abstract class SQLSource
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protectedSQLSource(SQLConfiguration configuration) -
Method Summary
Modifier and Type Method Description SQLConfigurationgetConfiguration()abstract java.sql.ConnectiongetConnection()abstract booleanisConnected()abstract java.sql.PreparedStatementprepare(java.lang.String sql)
-
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
-