|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConnectionImpl | |
---|---|
com.mysql.jdbc | |
com.mysql.jdbc.exceptions.jdbc4 | |
com.mysql.jdbc.jdbc2.optional |
Uses of ConnectionImpl in com.mysql.jdbc |
---|
Subclasses of ConnectionImpl in com.mysql.jdbc | |
---|---|
class |
JDBC4Connection
|
Fields in com.mysql.jdbc declared as ConnectionImpl | |
---|---|
protected ConnectionImpl |
DatabaseMetaData.conn
The connection to the database |
protected ConnectionImpl |
StatementImpl.connection
The connection that created us |
protected ConnectionImpl |
ResultSetImpl.connection
The Connection instance that created us |
Methods in com.mysql.jdbc with parameters of type ConnectionImpl | |
---|---|
static java.sql.Timestamp |
TimeUtil.changeTimezone(ConnectionImpl conn,
java.util.Calendar sessionCalendar,
java.util.Calendar targetCalendar,
java.sql.Timestamp tstamp,
java.util.TimeZone fromTz,
java.util.TimeZone toTz,
boolean rollForward)
Change the given timestamp from one timezone to another |
static java.sql.Time |
TimeUtil.changeTimezone(ConnectionImpl conn,
java.util.Calendar sessionCalendar,
java.util.Calendar targetCalendar,
java.sql.Time t,
java.util.TimeZone fromTz,
java.util.TimeZone toTz,
boolean rollForward)
Change the given times from one timezone to another |
static java.sql.SQLException |
SQLError.createCommunicationsException(ConnectionImpl conn,
long lastPacketSentTimeMs,
long lastPacketReceivedTimeMs,
java.lang.Exception underlyingException)
|
static java.lang.String |
SQLError.createLinkFailureMessageBasedOnHeuristics(ConnectionImpl conn,
long lastPacketSentTimeMs,
long lastPacketReceivedTimeMs,
java.lang.Exception underlyingException,
boolean streamingResultSetInPlay)
Creates a communications link failure message to be used in CommunicationsException that (hopefully) has some better information and suggestions based on heuristics. |
protected void |
StatementImpl.executeSimpleNonQuery(ConnectionImpl c,
java.lang.String nonQuery)
|
static byte[] |
StringUtils.getBytes(char[] c,
java.lang.String encoding,
java.lang.String serverEncoding,
boolean parserKnowsUnicode,
ConnectionImpl conn)
|
static byte[] |
StringUtils.getBytes(java.lang.String s,
java.lang.String encoding,
java.lang.String serverEncoding,
boolean parserKnowsUnicode,
ConnectionImpl conn)
Returns the byte[] representation of the given string using given encoding. |
protected java.sql.Date |
ResultSetRow.getDateFast(int columnIndex,
byte[] dateAsBytes,
int offset,
int length,
ConnectionImpl conn,
ResultSetImpl rs,
java.util.Calendar targetCalendar)
|
abstract java.sql.Date |
ResultSetRow.getDateFast(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs,
java.util.Calendar targetCalendar)
|
java.sql.Date |
BufferRow.getDateFast(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs,
java.util.Calendar targetCalendar)
|
java.sql.Date |
ByteArrayRow.getDateFast(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs,
java.util.Calendar targetCalendar)
|
protected static CallableStatement |
CallableStatement.getInstance(ConnectionImpl conn,
CallableStatement.CallableStatementParamInfo paramInfo)
Creates a callable statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static PreparedStatement |
PreparedStatement.getInstance(ConnectionImpl conn,
java.lang.String catalog)
Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static DatabaseMetaData |
DatabaseMetaData.getInstance(ConnectionImpl connToSet,
java.lang.String databaseToSet,
boolean checkForInfoSchema)
|
protected static PreparedStatement |
PreparedStatement.getInstance(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog)
Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static CallableStatement |
CallableStatement.getInstance(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
boolean isFunctionCall)
Creates a callable statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static ServerPreparedStatement |
ServerPreparedStatement.getInstance(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static PreparedStatement |
PreparedStatement.getInstance(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
com.mysql.jdbc.PreparedStatement.ParseInfo cachedParseInfo)
Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected static ResultSetImpl |
ResultSetImpl.getInstance(long updateCount,
long updateID,
ConnectionImpl conn,
StatementImpl creatorStmt)
|
protected static ResultSetImpl |
ResultSetImpl.getInstance(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt,
boolean isUpdatable)
Creates a result set instance that represents a query result -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures. |
protected java.sql.Date |
ResultSetRow.getNativeDate(int columnIndex,
byte[] bits,
int offset,
int length,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.sql.Date |
ResultSetRow.getNativeDate(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Date |
BufferRow.getNativeDate(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Date |
ByteArrayRow.getNativeDate(int columnIndex,
ConnectionImpl conn,
ResultSetImpl rs)
|
protected java.lang.Object |
ResultSetRow.getNativeDateTimeValue(int columnIndex,
byte[] bits,
int offset,
int length,
java.util.Calendar targetCalendar,
int jdbcType,
int mysqlType,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.lang.Object |
ResultSetRow.getNativeDateTimeValue(int columnIndex,
java.util.Calendar targetCalendar,
int jdbcType,
int mysqlType,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.lang.Object |
BufferRow.getNativeDateTimeValue(int columnIndex,
java.util.Calendar targetCalendar,
int jdbcType,
int mysqlType,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.lang.Object |
ByteArrayRow.getNativeDateTimeValue(int columnIndex,
java.util.Calendar targetCalendar,
int jdbcType,
int mysqlType,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
protected java.sql.Time |
ResultSetRow.getNativeTime(int columnIndex,
byte[] bits,
int offset,
int length,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.sql.Time |
ResultSetRow.getNativeTime(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Time |
BufferRow.getNativeTime(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Time |
ByteArrayRow.getNativeTime(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
protected java.sql.Timestamp |
ResultSetRow.getNativeTimestamp(byte[] bits,
int offset,
int length,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.sql.Timestamp |
ResultSetRow.getNativeTimestamp(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Timestamp |
BufferRow.getNativeTimestamp(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Timestamp |
ByteArrayRow.getNativeTimestamp(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.lang.String |
ResultSetRow.getString(int index,
java.lang.String encoding,
ConnectionImpl conn)
Returns the value at the given column (index starts at 0) as a java.lang.String with the requested encoding, using the given ConnectionImpl to find character converters. |
java.lang.String |
BufferRow.getString(int columnIndex,
java.lang.String encoding,
ConnectionImpl conn)
|
java.lang.String |
ByteArrayRow.getString(int index,
java.lang.String encoding,
ConnectionImpl conn)
|
protected java.lang.String |
ResultSetRow.getString(java.lang.String encoding,
ConnectionImpl conn,
byte[] value,
int offset,
int length)
Convenience method for turning a byte[] into a string with the given encoding. |
protected java.sql.Time |
ResultSetRow.getTimeFast(int columnIndex,
byte[] timeAsBytes,
int offset,
int length,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.sql.Time |
ResultSetRow.getTimeFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Time |
BufferRow.getTimeFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Time |
ByteArrayRow.getTimeFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
protected java.sql.Timestamp |
ResultSetRow.getTimestampFast(int columnIndex,
byte[] timestampAsBytes,
int offset,
int length,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
abstract java.sql.Timestamp |
ResultSetRow.getTimestampFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Timestamp |
BufferRow.getTimestampFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
java.sql.Timestamp |
ByteArrayRow.getTimestampFast(int columnIndex,
java.util.Calendar targetCalendar,
java.util.TimeZone tz,
boolean rollForward,
ConnectionImpl conn,
ResultSetImpl rs)
|
void |
Field.setConnection(ConnectionImpl conn)
DOCUMENT ME! |
Constructors in com.mysql.jdbc with parameters of type ConnectionImpl | |
---|---|
CallableStatement(ConnectionImpl conn,
CallableStatement.CallableStatementParamInfo paramInfo)
Creates a new CallableStatement |
|
CallableStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
boolean isFunctionCall)
Creates a new CallableStatement |
|
CommunicationsException(ConnectionImpl conn,
long lastPacketSentTimeMs,
long lastPacketReceivedTimeMs,
java.lang.Exception underlyingException)
|
|
ConnectionFeatureNotAvailableException(ConnectionImpl conn,
long lastPacketSentTimeMs,
java.lang.Exception underlyingException)
|
|
DatabaseMetaData(ConnectionImpl connToSet,
java.lang.String databaseToSet)
Creates a new DatabaseMetaData object. |
|
DatabaseMetaDataUsingInfoSchema(ConnectionImpl connToSet,
java.lang.String databaseToSet)
|
|
JDBC4CallableStatement(ConnectionImpl conn,
CallableStatement.CallableStatementParamInfo paramInfo)
|
|
JDBC4CallableStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
boolean isFunctionCall)
|
|
JDBC4DatabaseMetaData(ConnectionImpl connToSet,
java.lang.String databaseToSet)
|
|
JDBC4DatabaseMetaDataUsingInfoSchema(ConnectionImpl connToSet,
java.lang.String databaseToSet)
|
|
JDBC4PreparedStatement(ConnectionImpl conn,
java.lang.String catalog)
|
|
JDBC4PreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog)
|
|
JDBC4PreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
com.mysql.jdbc.PreparedStatement.ParseInfo cachedParseInfo)
|
|
JDBC4ResultSet(long updateCount,
long updateID,
ConnectionImpl conn,
StatementImpl creatorStmt)
|
|
JDBC4ResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
|
|
JDBC4ServerPreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
|
|
JDBC4UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
|
|
PreparedStatement(ConnectionImpl conn,
java.lang.String catalog)
Constructor used by server-side prepared statements |
|
PreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog)
Constructor for the PreparedStatement class. |
|
PreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
com.mysql.jdbc.PreparedStatement.ParseInfo cachedParseInfo)
Creates a new PreparedStatement object. |
|
ResultSetImpl(long updateCount,
long updateID,
ConnectionImpl conn,
StatementImpl creatorStmt)
Create a result set for an executeUpdate statement. |
|
ResultSetImpl(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
Creates a new ResultSet object. |
|
ServerPreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
Creates a new ServerPreparedStatement object. |
|
StatementImpl(ConnectionImpl c,
java.lang.String catalog)
Constructor for a Statement. |
|
UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
Creates a new ResultSet object. |
Uses of ConnectionImpl in com.mysql.jdbc.exceptions.jdbc4 |
---|
Constructors in com.mysql.jdbc.exceptions.jdbc4 with parameters of type ConnectionImpl | |
---|---|
CommunicationsException(ConnectionImpl conn,
long lastPacketSentTimeMs,
long lastPacketReceivedTimeMs,
java.lang.Exception underlyingException)
|
Uses of ConnectionImpl in com.mysql.jdbc.jdbc2.optional |
---|
Methods in com.mysql.jdbc.jdbc2.optional with parameters of type ConnectionImpl | |
---|---|
protected static SuspendableXAConnection |
SuspendableXAConnection.getInstance(ConnectionImpl mysqlConnection)
|
protected static MysqlXAConnection |
MysqlXAConnection.getInstance(ConnectionImpl mysqlConnection,
boolean logXaCommands)
|
Constructors in com.mysql.jdbc.jdbc2.optional with parameters of type ConnectionImpl | |
---|---|
JDBC4MysqlXAConnection(ConnectionImpl connection,
boolean logXaCommands)
|
|
JDBC4SuspendableXAConnection(ConnectionImpl connection)
|
|
MysqlXAConnection(ConnectionImpl connection,
boolean logXaCommands)
|
|
SuspendableXAConnection(ConnectionImpl connection)
|
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |