com.alibaba.druid.pool
Class DruidPooledPreparedStatement.PreparedStatementKey

java.lang.Object
  extended by com.alibaba.druid.pool.DruidPooledPreparedStatement.PreparedStatementKey
Enclosing class:
DruidPooledPreparedStatement

public static class DruidPooledPreparedStatement.PreparedStatementKey
extends Object


Constructor Summary
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int autoGeneratedKeys)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int[] columnIndexes)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames)
           
DruidPooledPreparedStatement.PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, String[] columnNames)
           
 
Method Summary
 boolean equals(Object object)
           
 int getResultSetConcurrency()
           
 int getResultSetHoldability()
           
 int getResultSetType()
           
 String getSql()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         int resultSetType,
                                                         int resultSetConcurrency)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         int resultSetType,
                                                         int resultSetConcurrency,
                                                         int resultSetHoldability)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         int autoGeneratedKeys)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         int[] columnIndexes)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         String[] columnNames)
                                                  throws SQLException
Throws:
SQLException

DruidPooledPreparedStatement.PreparedStatementKey

public DruidPooledPreparedStatement.PreparedStatementKey(String sql,
                                                         String catalog,
                                                         PreparedStatementPool.MethodType methodType,
                                                         int resultSetType,
                                                         int resultSetConcurrency,
                                                         int resultSetHoldability,
                                                         int autoGeneratedKeys,
                                                         int[] columnIndexes,
                                                         String[] columnNames)
                                                  throws SQLException
Throws:
SQLException
Method Detail

getResultSetType

public int getResultSetType()

getResultSetConcurrency

public int getResultSetConcurrency()

getResultSetHoldability

public int getResultSetHoldability()

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getSql

public String getSql()


Copyright © 2012 Alibaba Group. All Rights Reserved.