|
|||||||||
| Home >> All >> com >> mysql >> [ jdbc overview ] | PREV NEXT | ||||||||
A
- ABBREVIATED_TIMEZONES - Static variable in class com.mysql.jdbc.TimeUtil
- AUTO_INCREMENT_FLAG - Static variable in class com.mysql.jdbc.Field
- AssertionFailedException - exception com.mysql.jdbc.AssertionFailedException.
- Assertions for empty code paths that should never be executed.
- AssertionFailedException(Exception) - Constructor for class com.mysql.jdbc.AssertionFailedException
- Creates an AssertionFailedException for the given exception that should never have been thrown.
- absolute(int) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0
- absolute(int) - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0
- acceptsURL(String) - Method in class com.mysql.jdbc.NonRegisteringDriver
- Typically, drivers will return true if they understand the subprotocol specified in the URL and false if they don't.
- addBatch() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- addBatch(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- addBatch() - Method in class com.mysql.jdbc.PreparedStatement
- JDBC 2.0 Add a set of parameters to the batch.
- addBatch(String) - Method in class com.mysql.jdbc.Statement
- DOCUMENT ME!
- addRow(byte[][]) - Method in interface com.mysql.jdbc.RowData
- Adds a row to this row data.
- addRow(byte[][]) - Method in class com.mysql.jdbc.RowDataDynamic
- Adds a row to this row data.
- addRow(byte[][]) - Method in class com.mysql.jdbc.RowDataStatic
- DOCUMENT ME!
- addWarning(SQLWarning) - Method in class com.mysql.jdbc.Statement
- afterHandshake() - Method in class com.mysql.jdbc.NamedPipeSocketFactory
- afterHandshake() - Method in interface com.mysql.jdbc.SocketFactory
- Called by the driver after issuing the MySQL protocol handshake and reading the results of the handshake.
- afterHandshake() - Method in class com.mysql.jdbc.StandardSocketFactory
- Called by the driver after issuing the MySQL protocol handshake and reading the results of the handshake.
- afterLast() - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0
- afterLast() - Method in interface com.mysql.jdbc.RowData
- Moves to after last.
- afterLast() - Method in class com.mysql.jdbc.RowDataDynamic
- Moves to after last.
- afterLast() - Method in class com.mysql.jdbc.RowDataStatic
- Moves to after last.
- afterLast() - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0
- alignPacketSize(int, int) - Method in class com.mysql.jdbc.MysqlIO
- allBytes - Static variable in class com.mysql.jdbc.SingleByteCharsetConverter
- allBytes - Static variable in class com.mysql.jdbc.StringUtils
- allProceduresAreCallable() - Method in class com.mysql.jdbc.DatabaseMetaData
- Can all the procedures returned by getProcedures be called by the current user?
- allTablesAreSelectable() - Method in class com.mysql.jdbc.DatabaseMetaData
- Can all the tables returned by getTable be SELECTed by the current user?
- allowLoadLocalInfile - Variable in class com.mysql.jdbc.Connection
- Allow LOAD LOCAL INFILE (defaults to true)
- allowLoadLocalInfile() - Method in class com.mysql.jdbc.Connection
- Allow use of LOAD LOCAL INFILE?
- alwaysClearStream - Variable in class com.mysql.jdbc.Connection
- Should we clear the input stream each query?
- alwaysClearStream() - Method in class com.mysql.jdbc.Connection
- autoCommit - Variable in class com.mysql.jdbc.Connection
- Are we in autoCommit mode?
- available() - Method in class com.mysql.jdbc.CompressedInputStream
- available() - Method in class com.mysql.jdbc.NamedPipeSocketFactory.RandomAccessFileInputStream
B
- BYTE_RANGE - Static variable in class com.mysql.jdbc.SingleByteCharsetConverter
- BYTE_RANGE - Static variable in class com.mysql.jdbc.StringUtils
- Blob - class com.mysql.jdbc.Blob.
- The representation (mapping) in the JavaTM programming language of an SQL BLOB value.
- Blob(byte[]) - Constructor for class com.mysql.jdbc.Blob
- Creates a BLOB encapsulating the given binary data
- Blob(byte[], ResultSet, int) - Constructor for class com.mysql.jdbc.Blob
- Creates an updatable BLOB that can update in-place (not implemented yet).
- Buffer - class com.mysql.jdbc.Buffer.
- Buffer contains code to read and write packets from/to the MySQL server.
- Buffer(byte[]) - Constructor for class com.mysql.jdbc.Buffer
- Buffer(int) - Constructor for class com.mysql.jdbc.Buffer
- batchedArgs - Variable in class com.mysql.jdbc.Statement
- Holds batched commands
- batchedGeneratedKeys - Variable in class com.mysql.jdbc.PreparedStatement
- beforeFirst() - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0
- beforeFirst() - Method in interface com.mysql.jdbc.RowData
- Moves to before first.
- beforeFirst() - Method in class com.mysql.jdbc.RowDataDynamic
- Moves to before first.
- beforeFirst() - Method in class com.mysql.jdbc.RowDataStatic
- Moves to before first.
- beforeFirst() - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0
- beforeHandshake() - Method in class com.mysql.jdbc.NamedPipeSocketFactory
- beforeHandshake() - Method in interface com.mysql.jdbc.SocketFactory
- Called by the driver before issuing the MySQL protocol handshake.
- beforeHandshake() - Method in class com.mysql.jdbc.StandardSocketFactory
- Called by the driver before issuing the MySQL protocol handshake.
- beforeLast() - Method in interface com.mysql.jdbc.RowData
- Moves to before last so next el is the last el.
- beforeLast() - Method in class com.mysql.jdbc.RowDataDynamic
- Moves to before last so next el is the last el.
- beforeLast() - Method in class com.mysql.jdbc.RowDataStatic
- DOCUMENT ME!
- binaryData - Variable in class com.mysql.jdbc.Blob
- The binary data that makes up this BLOB
- bracesLevel - Variable in class com.mysql.jdbc.EscapeTokenizer
- bufLength - Variable in class com.mysql.jdbc.Buffer
- buffer - Variable in class com.mysql.jdbc.CompressedInputStream
- The packet data after it has been un-compressed
- buffer - Variable in class com.mysql.jdbc.Field
- buildCollationMapping() - Method in class com.mysql.jdbc.Connection
- Builds the map needed for 4.1.0 and newer servers that maps field-level charset/collation info to a java character encoding name.
- buildIndexMapping() - Method in class com.mysql.jdbc.ResultSet
- Builds a hash between column names and their indices for fast retrieval.
- buildResultSet(Field[], ArrayList) - Method in class com.mysql.jdbc.DatabaseMetaData
- buildResultSetWithRows(String, Field[], RowData, int) - Method in class com.mysql.jdbc.MysqlIO
- buildResultSetWithUpdates(Buffer) - Method in class com.mysql.jdbc.MysqlIO
- byteBuffer - Variable in class com.mysql.jdbc.Buffer
- byteToChars - Variable in class com.mysql.jdbc.SingleByteCharsetConverter
- byteToChars - Static variable in class com.mysql.jdbc.StringUtils
C
- CHANGE_USER - Static variable in class com.mysql.jdbc.MysqlDefs
- CHARSET_CONVERTER_NOT_AVAILABLE_MARKER - Static variable in class com.mysql.jdbc.Connection
- Marker for character set converter not being available (not written, multibyte, etc) Used to prevent multiple instantiation requests.
- CLASSES - Static variable in class com.mysql.jdbc.Debug
- CLIENT_COMPRESS - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_CONNECT_WITH_DB - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_FOUND_ROWS - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_IGNORE_SPACE - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_INTERACTIVE - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_LOCAL_FILES - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_LONG_FLAG - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_LONG_PASSWORD - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_PROTOCOL_41 - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_RESERVED - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_SECURE_CONNECTION - Static variable in class com.mysql.jdbc.MysqlIO
- CLIENT_SSL - Static variable in class com.mysql.jdbc.MysqlIO
- COMP_HEADER_LENGTH - Static variable in class com.mysql.jdbc.MysqlIO
- COM_BINLOG_DUMP - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_CHANGE_USER - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_CONNECT_OUT - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_EXECUTE - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_LONG_DATA - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_PREPARE - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_REGISTER_SLAVE - Static variable in class com.mysql.jdbc.MysqlDefs
- COM_TABLE_DUMP - Static variable in class com.mysql.jdbc.MysqlDefs
- CONNECT - Static variable in class com.mysql.jdbc.MysqlDefs
- CONVERTER_MAP - Static variable in class com.mysql.jdbc.SingleByteCharsetConverter
- CREATE_DB - Static variable in class com.mysql.jdbc.MysqlDefs
- CharsetMapping - class com.mysql.jdbc.CharsetMapping.
- Mapping between MySQL charset names and Java charset names.
- CharsetMapping() - Constructor for class com.mysql.jdbc.CharsetMapping
- Clob - class com.mysql.jdbc.Clob.
- Simplistic implementation of java.sql.Clob for MySQL Connector/J
- Clob(String) - Constructor for class com.mysql.jdbc.Clob
- CompressedInputStream - class com.mysql.jdbc.CompressedInputStream.
- Used to de-compress packets from the MySQL server when protocol-level compression is turned on.
- CompressedInputStream(InputStream) - Constructor for class com.mysql.jdbc.CompressedInputStream
- Creates a new CompressedInputStream that reads the given stream from the server.
- Connection - class com.mysql.jdbc.Connection.
- A Connection represents a session with a specific database.
- Connection(String, int, Properties, String, String, NonRegisteringDriver) - Constructor for class com.mysql.jdbc.Connection
- Creates a connection to a MySQL Server.
- Connection.UltraDevWorkAround - class com.mysql.jdbc.Connection.UltraDevWorkAround.
- Wrapper class for UltraDev CallableStatements that are really PreparedStatments.
- Connection.UltraDevWorkAround(PreparedStatement) - Constructor for class com.mysql.jdbc.Connection.UltraDevWorkAround
- cachePreparedStatements - Variable in class com.mysql.jdbc.Connection
- SHould we cache the parsing of prepared statements?
- cachedPreparedStatementParams - Variable in class com.mysql.jdbc.Connection
- A map of SQL to parsed prepared statement parameters.
- cancel() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- cancel() - Method in class com.mysql.jdbc.Statement
- Cancel can be used by one thread to cancel a statement that is being executed by another thread.
- cancelRowUpdates() - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 The cancelRowUpdates() method may be called after calling an updateXXX() method(s) and before calling updateRow() to rollback the updates made to a row.
- cancelRowUpdates() - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0 The cancelRowUpdates() method may be called after calling an updateXXX() method(s) and before calling updateRow() to rollback the updates made to a row.
- capitalizeDBMDTypes - Variable in class com.mysql.jdbc.Connection
- Should we capitalize mysql types
- capitalizeDBMDTypes() - Method in class com.mysql.jdbc.Connection
- DOCUMENT ME!
- catalog - Variable in class com.mysql.jdbc.ResultSet
- The catalog that was in use when we were created
- changeTimezone(Connection, Timestamp, TimeZone, TimeZone) - Static method in class com.mysql.jdbc.TimeUtil
- Change the given timestamp from one timezone to another
- changeTimezone(Connection, Time, TimeZone, TimeZone) - Static method in class com.mysql.jdbc.TimeUtil
- Change the given times from one timezone to another
- changeUser(String, String) - Method in class com.mysql.jdbc.Connection
- Changes the user on this connection by performing a re-authentication.
- changeUser(String, String, String) - Method in class com.mysql.jdbc.MysqlIO
- Re-authenticates as the given user and password
- charConverter - Variable in class com.mysql.jdbc.Statement
- The character converter to use (if available)
- charConverter - Variable in class com.mysql.jdbc.UpdatableResultSet
- charData - Variable in class com.mysql.jdbc.Clob
- charEncoding - Variable in class com.mysql.jdbc.Statement
- The character encoding to use (if available)
- charEncoding - Variable in class com.mysql.jdbc.UpdatableResultSet
- charToByteMap - Variable in class com.mysql.jdbc.SingleByteCharsetConverter
- charVal(char) - Static method in class com.mysql.jdbc.Security
- Returns hex value for given char
- characterSetMetadata - Variable in class com.mysql.jdbc.Connection
- For servers > 4.1.0, what character set is the metadata returned in?
- characterSetResults - Variable in class com.mysql.jdbc.Connection
- The character set we want results and result metadata returned in (null == results in any charset, metadata in UTF-8).
- characterSetResultsOnServer - Variable in class com.mysql.jdbc.Connection
- The character set we want results and result metadata returned in (null == results in any charset, metadata in UTF-8).
- charsetConverterMap - Variable in class com.mysql.jdbc.Connection
- Holds cached mappings to charset converters to avoid static synchronization and at the same time save memory (each charset converter takes approx 65K of static data).
- charsetIndex - Variable in class com.mysql.jdbc.Field
- charsetMap - Static variable in class com.mysql.jdbc.Connection
- The mapping between MySQL charset names and Java charset names.
- charsetName - Variable in class com.mysql.jdbc.Field
- checkClosed() - Method in class com.mysql.jdbc.Connection
- checkClosed() - Method in class com.mysql.jdbc.ResultSet
- Ensures that the result set is not closed
- checkClosed() - Method in class com.mysql.jdbc.Statement
- Checks if closed() has been called, and throws an exception if so
- checkErrorPacket() - Method in class com.mysql.jdbc.MysqlIO
- Checks for errors in the reply packet, and if none, returns the reply packet, ready for reading
- checkErrorPacket(int) - Method in class com.mysql.jdbc.MysqlIO
- Checks for errors in the reply packet, and if none, returns the reply packet, ready for reading
- checkForCharsetMismatch() - Method in class com.mysql.jdbc.MysqlIO
- Determines if the database charset is the same as the platform charset
- checkForOutstandingStreamingData() - Method in class com.mysql.jdbc.MysqlIO
- checkLicenseType(Map) - Static method in class com.mysql.jdbc.LicenseConfiguration
- Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
- checkRowPos() - Method in class com.mysql.jdbc.ResultSet
- Ensures that the cursor is positioned on a valid row and that the result set is not closed
- checkRowPos() - Method in class com.mysql.jdbc.UpdatableResultSet
- checkServerEncoding() - Method in class com.mysql.jdbc.Connection
- If useUnicode flag is set and explicit client character encoding isn't specified then assign encoding from server if any.
- checkTransactionIsolationLevel() - Method in class com.mysql.jdbc.Connection
- Set transaction isolation level to the value received from server if any.
- checkUpdatability() - Method in class com.mysql.jdbc.UpdatableResultSet
- Is this ResultSet updateable?
- cleanup(Throwable) - Method in class com.mysql.jdbc.Connection
- Destroys this connection and any underlying resources
- clear() - Method in class com.mysql.jdbc.Buffer
- clearBatch() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- clearBatch() - Method in class com.mysql.jdbc.Statement
- JDBC 2.0 Make the set of commands in the current batch empty.
- clearInputStream() - Method in class com.mysql.jdbc.MysqlIO
- clearParameters() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- clearParameters() - Method in class com.mysql.jdbc.PreparedStatement
- In general, parameter values remain in force for repeated used of a Statement.
- clearStreamBeforeEachQuery - Variable in class com.mysql.jdbc.MysqlIO
- clearWarnings() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- clearWarnings() - Method in class com.mysql.jdbc.Connection
- After this call, getWarnings returns null until a new warning is reported for this connection.
- clearWarnings() - Method in class com.mysql.jdbc.ResultSet
- After this call, getWarnings returns null until a new warning is reported for this ResultSet
- clearWarnings() - Method in class com.mysql.jdbc.Statement
- After this call, getWarnings returns null until a new warning is reported for this Statement.
- clearWarnings() - Method in class com.mysql.jdbc.UpdatableResultSet
- After this call, getWarnings returns null until a new warning is reported for this ResultSet
- clientParam - Variable in class com.mysql.jdbc.MysqlIO
- clobberStreamingResults - Variable in class com.mysql.jdbc.Connection
- Should we clobber streaming results on new queries, or issue an error?
- close() - Method in class com.mysql.jdbc.CompressedInputStream
- close() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- close() - Method in class com.mysql.jdbc.Connection
- In some cases, it is desirable to immediately release a Connection's database and JDBC resources instead of waiting for them to be automatically released (cant think why off the top of my head) Note: A Connection is automatically closed when it is garbage collected.
- close() - Method in class com.mysql.jdbc.NamedPipeSocketFactory.NamedPipeSocket
- close() - Method in class com.mysql.jdbc.NamedPipeSocketFactory.RandomAccessFileInputStream
- close() - Method in class com.mysql.jdbc.NamedPipeSocketFactory.RandomAccessFileOutputStream
- close() - Method in class com.mysql.jdbc.PreparedStatement
- Closes this prepared statement and releases all resources.
- close() - Method in class com.mysql.jdbc.ResultSet
- In some cases, it is desirable to immediately release a ResultSet database and JDBC resources instead of waiting for this to happen when it is automatically closed.
- close() - Method in interface com.mysql.jdbc.RowData
- We're done.
- close() - Method in class com.mysql.jdbc.RowDataDynamic
- We're done.
- close() - Method in class com.mysql.jdbc.RowDataStatic
- DOCUMENT ME!
- close() - Method in class com.mysql.jdbc.Statement
- In many cases, it is desirable to immediately release a Statement's database and JDBC resources instead of waiting for this to happen when it is automatically closed.
- close() - Method in class com.mysql.jdbc.UpdatableResultSet
- In some cases, it is desirable to immediately release a ResultSet database and JDBC resources instead of waiting for this to happen when it is automatically closed.
- close() - Method in class com.mysql.jdbc.WatchableOutputStream
- close() - Method in class com.mysql.jdbc.WatchableWriter
- closeAllOpenResults() - Method in class com.mysql.jdbc.Statement
- Close any open result sets that have been 'held open'
- closeStreamer(RowData) - Method in class com.mysql.jdbc.MysqlIO
- colDecimalNeedsBump - Variable in class com.mysql.jdbc.MysqlIO
- colDecimals - Variable in class com.mysql.jdbc.Field
- colFlag - Variable in class com.mysql.jdbc.Field
- columnCount - Variable in class com.mysql.jdbc.RowDataDynamic
- columnIndex - Variable in class com.mysql.jdbc.Blob
- The column that this BLOB came from
- columnNameToIndex - Variable in class com.mysql.jdbc.ResultSet
- Map column names (and all of their permutations) to column indices
- com.mysql.jdbc - package com.mysql.jdbc
- commit() - Method in class com.mysql.jdbc.Connection
- The method commit() makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by the Connection.
- compressPacket(Buffer, int, int, int) - Method in class com.mysql.jdbc.MysqlIO
- configureCharsetProperties(Properties) - Method in class com.mysql.jdbc.Connection
- Configures client-side properties for character set information.
- configureClientCharacterSet() - Method in class com.mysql.jdbc.Connection
- Sets up client character set for MySQL-4.1 and newer.
- configureTimezone() - Method in class com.mysql.jdbc.Connection
- Configures the client's timezone if required.
- conn - Variable in class com.mysql.jdbc.DatabaseMetaData
- The connection to the database
- conn - Variable in class com.mysql.jdbc.MiniAdmin
- connect(String, int, Properties) - Method in class com.mysql.jdbc.NamedPipeSocketFactory
- connect(String, Properties) - Method in class com.mysql.jdbc.NonRegisteringDriver
- Try to make a database connection to the given URL.
- connect(String, int, Properties) - Method in interface com.mysql.jdbc.SocketFactory
- Creates a new socket using the given properties.
- connect(String, int, Properties) - Method in class com.mysql.jdbc.StandardSocketFactory
- connection - Variable in class com.mysql.jdbc.Field
- connection - Variable in class com.mysql.jdbc.MysqlIO
- connection - Variable in class com.mysql.jdbc.ResultSet
- The Connection instance that created us
- connection - Variable in class com.mysql.jdbc.Statement
- The connection that created us
- continueBatchOnError - Variable in class com.mysql.jdbc.Connection
- Should we continue processing batch commands if one fails.
- continueBatchOnError() - Method in class com.mysql.jdbc.Connection
- createKeyFromOldPassword(String) - Static method in class com.mysql.jdbc.Security
- Creates key from old password to decode scramble Used in 4.1 authentication with passwords stored pre-4.1 hashing.
- createNewIO(boolean) - Method in class com.mysql.jdbc.Connection
- Creates an IO channel to the server
- createSocketFactory() - Method in class com.mysql.jdbc.MysqlIO
- createStatement(int, int) - Method in class com.mysql.jdbc.Connection
- JDBC 2.0 Same as createStatement() above, but allows the default result set type and result set concurrency type to be overridden.
- createStatement() - Method in class com.mysql.jdbc.Connection
- SQL statements without parameters are normally executed using Statement objects.
- createStatement(int, int, int) - Method in class com.mysql.jdbc.Connection
- createStreamingResultSet() - Method in class com.mysql.jdbc.Statement
- We only stream result sets when they are forward-only, read-only, and the fetch size has been set to Integer.MIN_VALUE
- creatorResultSet - Variable in class com.mysql.jdbc.Blob
- The ResultSet that created this BLOB
- currentCatalog - Variable in class com.mysql.jdbc.Statement
- The catalog in use
- currentRow - Variable in class com.mysql.jdbc.ResultSet
- The current row #, -1 == before start of result set
D
- DEBUG - Static variable in class com.mysql.jdbc.MysqlDefs
- DEBUG - Static variable in class com.mysql.jdbc.NonRegisteringDriver
- Should the driver generate debugging output?
- DEFAULT_SOCKET_FACTORY - Static variable in class com.mysql.jdbc.Connection
- Default socket factory classname
- DEFERRABILITY - Static variable in class com.mysql.jdbc.DatabaseMetaData
- DELAYED_INSERT - Static variable in class com.mysql.jdbc.MysqlDefs
- DELETE_RULE - Static variable in class com.mysql.jdbc.DatabaseMetaData
- DROP_DB - Static variable in class com.mysql.jdbc.MysqlDefs
- DatabaseMetaData - class com.mysql.jdbc.DatabaseMetaData.
- JDBC Interface to Mysql functions
- DatabaseMetaData(Connection, String) - Constructor for class com.mysql.jdbc.DatabaseMetaData
- Creates a new DatabaseMetaData object.
- Debug - class com.mysql.jdbc.Debug.
- The Debug class allows debug messages on a per-class basis.
- Debug() - Constructor for class com.mysql.jdbc.Debug
- Driver - class com.mysql.jdbc.Driver.
- The Java SQL framework allows for multiple database drivers.
- Driver() - Constructor for class com.mysql.jdbc.Driver
- Construct a new driver and register it with DriverManager
- dataDefinitionCausesTransactionCommit() - Method in class com.mysql.jdbc.DatabaseMetaData
- Does a data definition statement within a transaction force the transaction to commit?
- dataDefinitionIgnoredInTransactions() - Method in class com.mysql.jdbc.DatabaseMetaData
- Is a data definition statement within a transaction ignored?
- database - Variable in class com.mysql.jdbc.Connection
- The database we're currently using (called Catalog in JDBC terms).
- database - Variable in class com.mysql.jdbc.DatabaseMetaData
- The 'current' database name being used
- database(Properties) - Method in class com.mysql.jdbc.NonRegisteringDriver
- Returns the database property from
props - databaseName - Variable in class com.mysql.jdbc.Field
- databaseNameLength - Variable in class com.mysql.jdbc.Field
- databaseNameStart - Variable in class com.mysql.jdbc.Field
- dbmd - Variable in class com.mysql.jdbc.Connection
- Internal DBMD to use for various database-version specific features
- dbmd - Variable in class com.mysql.jdbc.PreparedStatement
- defaultColumnValue - Variable in class com.mysql.jdbc.UpdatableResultSet
- What is the default value for the column?
- defaultTimeZone - Variable in class com.mysql.jdbc.Connection
- defaultTimeZone - Variable in class com.mysql.jdbc.ResultSet
- This method ends up being staticly synchronized, so just store our own copy....
- defaultValue - Variable in class com.mysql.jdbc.Field
- defaultValueLength - Variable in class com.mysql.jdbc.Field
- defaultValueStart - Variable in class com.mysql.jdbc.Field
- deflater - Variable in class com.mysql.jdbc.MysqlIO
- delegate - Variable in class com.mysql.jdbc.Connection.UltraDevWorkAround
- deleteRow() - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Delete the current row from the result set and the underlying database.
- deleteRow() - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0 Delete the current row from the result set and the underlying database.
- deleteSQL - Variable in class com.mysql.jdbc.UpdatableResultSet
- deleter - Variable in class com.mysql.jdbc.UpdatableResultSet
- PreparedStatement used to delete data
- deletesAreDetected(int) - Method in class com.mysql.jdbc.DatabaseMetaData
- JDBC 2.0 Determine whether or not a visible row delete can be detected by calling ResultSet.rowDeleted().
- detectFloatingPointStyle() - Method in class com.mysql.jdbc.Connection
- doEscapeProcessing - Variable in class com.mysql.jdbc.Statement
- Should we process escape codes?
- doHandshake(String, String, String) - Method in class com.mysql.jdbc.MysqlIO
- Initialize communications with the MySQL server.
- doUnicode - Variable in class com.mysql.jdbc.Connection
- Should we do unicode character conversions?
- doesMaxRowSizeIncludeBlobs() - Method in class com.mysql.jdbc.DatabaseMetaData
- Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
- doingUpdates - Variable in class com.mysql.jdbc.ResultSet
- Are we in the middle of doing updates to the current row?
- dump() - Method in class com.mysql.jdbc.Buffer
- dumpAsHex(byte[], int) - Static method in class com.mysql.jdbc.StringUtils
- Dumps the given bytes to STDOUT as a hex dump (up to length bytes).
- dumpHeader() - Method in class com.mysql.jdbc.Buffer
- dumpNBytes(int, int) - Method in class com.mysql.jdbc.Buffer
E
- EMPTY_BYTE_ARRAY - Static variable in class com.mysql.jdbc.SingleByteCharsetConverter
- ER_WARNING_NOT_COMPLETE_ROLLBACK - Static variable in class com.mysql.jdbc.MysqlDefs
- EscapeProcessor - class com.mysql.jdbc.EscapeProcessor.
- EscapeProcessor() - Constructor for class com.mysql.jdbc.EscapeProcessor
- EscapeTokenizer - class com.mysql.jdbc.EscapeTokenizer.
- EscapeTokenizer breaks up an SQL statement into SQL and escape code parts.
- EscapeTokenizer(String) - Constructor for class com.mysql.jdbc.EscapeTokenizer
- Creates a new EscapeTokenizer object.
- emittingEscapeCode - Variable in class com.mysql.jdbc.EscapeTokenizer
- enclosingInstance - Static variable in class com.mysql.jdbc.Util
- encoding - Variable in class com.mysql.jdbc.Connection
- If we're doing unicode character conversions, what encoding do we use?
- ensureCapacity(int) - Method in class com.mysql.jdbc.Buffer
- escapeEasternUnicodeByteStream(byte[], String, int, int) - Static method in class com.mysql.jdbc.StringUtils
- Unfortunately, SJIS has 0x5c as a high byte in some of its double-byte characters, so we need to escape it.
- escapeSQL(String, boolean) - Static method in class com.mysql.jdbc.EscapeProcessor
- Escape process one string
- escapeblockFast(byte[], ByteArrayOutputStream, int) - Method in class com.mysql.jdbc.PreparedStatement
- escapeblockFast(byte[], Buffer, int) - Method in class com.mysql.jdbc.PreparedStatement
- execSQL(String, int, String) - Method in class com.mysql.jdbc.Connection
- Send a query to the server.
- execSQL(String, int, int, boolean, boolean, String) - Method in class com.mysql.jdbc.Connection
- execSQL(String, int, Buffer, String) - Method in class com.mysql.jdbc.Connection
- execSQL(String, int, Buffer, int, String) - Method in class com.mysql.jdbc.Connection
- execSQL(String, int, Buffer, int, boolean, boolean, String) - Method in class com.mysql.jdbc.Connection
- execute() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- execute(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- execute(String, int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- execute(String, int[]) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- execute(String, String[]) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- execute() - Method in class com.mysql.jdbc.PreparedStatement
- Some prepared statements return multiple results; the execute method handles these complex statements as well as the simpler form of statements handled by executeQuery and executeUpdate
- execute(String) - Method in class com.mysql.jdbc.Statement
- Execute a SQL statement that may return multiple results.
- execute(String, int) - Method in class com.mysql.jdbc.Statement
- execute(String, int[]) - Method in class com.mysql.jdbc.Statement
- execute(String, String[]) - Method in class com.mysql.jdbc.Statement
- executeBatch() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeBatch() - Method in class com.mysql.jdbc.PreparedStatement
- JDBC 2.0 Submit a batch of commands to the database for execution.
- executeBatch() - Method in class com.mysql.jdbc.Statement
- JDBC 2.0 Submit a batch of commands to the database for execution.
- executeQuery() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeQuery(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeQuery() - Method in class com.mysql.jdbc.PreparedStatement
- A Prepared SQL query is executed and its ResultSet is returned
- executeQuery(String) - Method in class com.mysql.jdbc.Statement
- Execute a SQL statement that retruns a single ResultSet
- executeUpdate() - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeUpdate(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeUpdate(String, int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeUpdate(String, int[]) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeUpdate(String, String[]) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- executeUpdate() - Method in class com.mysql.jdbc.PreparedStatement
- Execute a SQL INSERT, UPDATE or DELETE statement.
- executeUpdate(byte[][], InputStream[], boolean[], int[], boolean[]) - Method in class com.mysql.jdbc.PreparedStatement
- Added to allow batch-updates
- executeUpdate(String) - Method in class com.mysql.jdbc.Statement
- Execute a SQL INSERT, UPDATE or DELETE statement.
- executeUpdate(String, boolean) - Method in class com.mysql.jdbc.Statement
- executeUpdate(String, int) - Method in class com.mysql.jdbc.Statement
- executeUpdate(String, int[]) - Method in class com.mysql.jdbc.Statement
- executeUpdate(String, String[]) - Method in class com.mysql.jdbc.Statement
- explicitCloseLocation - Variable in class com.mysql.jdbc.Connection
- Where was the connection _explicitly_ closed by the application?
- extractDefaultValues() - Method in class com.mysql.jdbc.UpdatableResultSet
- extractForeignKeyForTable(ArrayList, ResultSet, String) - Method in class com.mysql.jdbc.DatabaseMetaData
- Extracts foreign key info for one table.
- extractForeignKeyFromCreateTable(Connection, DatabaseMetaData, String, String) - Method in class com.mysql.jdbc.DatabaseMetaData
- Creates a result set similar enough to 'SHOW TABLE STATUS' to allow the same code to work on extracting the foreign key data
F
- FALSE_SCRAMBLE - Static variable in class com.mysql.jdbc.MysqlIO
- FIELD_LIST - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_BLOB - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_DATE - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_DATETIME - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_DECIMAL - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_DOUBLE - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_ENUM - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_FLOAT - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_INT24 - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_LONG - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_LONGLONG - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_LONG_BLOB - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_MEDIUM_BLOB - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_NEWDATE - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_NULL - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_SET - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_SHORT - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_STRING - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_TIME - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_TIMESTAMP - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_TINY - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_TINY_BLOB - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_VAR_STRING - Static variable in class com.mysql.jdbc.MysqlDefs
- FIELD_TYPE_YEAR - Static variable in class com.mysql.jdbc.MysqlDefs
- FKCOLUMN_NAME - Static variable in class com.mysql.jdbc.DatabaseMetaData
- FKTABLE_CAT - Static variable in class com.mysql.jdbc.DatabaseMetaData
- FKTABLE_NAME - Static variable in class com.mysql.jdbc.DatabaseMetaData
- FKTABLE_SCHEM - Static variable in class com.mysql.jdbc.DatabaseMetaData
- FK_NAME - Static variable in class com.mysql.jdbc.DatabaseMetaData
- Field - class com.mysql.jdbc.Field.
- Field is a class used to describe fields in a ResultSet
- Field(String, String, int, long) - Constructor for class com.mysql.jdbc.Field
- Constructor used by DatabaseMetaData methods.
- Field(Connection, byte[], int, int, int, int, long, int, short, int) - Constructor for class com.mysql.jdbc.Field
- Constructor used when communicating with pre 4.1 servers
- Field(Connection, byte[], int, int, int, int, int, int, int, int, int, int, long, int, short, int, int, int, int) - Constructor for class com.mysql.jdbc.Field
- Constructor used when communicating with 4.1 and newer servers
- failOverReadOnly - Variable in class com.mysql.jdbc.Connection
- When failed-over, set connection to read-only?
- failedOver - Variable in class com.mysql.jdbc.Connection
- Are we failed-over to a non-master host
- fastDateCal - Variable in class com.mysql.jdbc.ResultSet
- fastDateCreate(Calendar, int, int, int) - Method in class com.mysql.jdbc.ResultSet
- fastSkipLenString() - Method in class com.mysql.jdbc.Buffer
- Skip over a length-encoded string
- fastTimeCreate(Calendar, int, int, int) - Method in class com.mysql.jdbc.ResultSet
- fastTimestampCreate(Calendar, int, int, int, int, int, int, int) - Method in class com.mysql.jdbc.ResultSet
- fetchDirection - Variable in class com.mysql.jdbc.ResultSet
- The direction to fetch rows (always FETCH_FORWARD)
- fetchSize - Variable in class com.mysql.jdbc.ResultSet
- The number of rows to fetch in one go...
- fetchSize - Variable in class com.mysql.jdbc.Statement
- The number of rows to fetch at a time (currently ignored)
- fields - Variable in class com.mysql.jdbc.ResultSet
- The fields for this result set
- fields - Variable in class com.mysql.jdbc.ResultSetMetaData
- fillSendPacket() - Method in class com.mysql.jdbc.PreparedStatement
- Creates the packet that contains the query to be sent to the server.
- fillSendPacket(byte[][], InputStream[], boolean[], int[]) - Method in class com.mysql.jdbc.PreparedStatement
- Creates the packet that contains the query to be sent to the server.
- finalize() - Method in class com.mysql.jdbc.Connection
- Cleanup the connection.
- findColumn(String) - Method in class com.mysql.jdbc.ResultSet
- Map a ResultSet column name to a ResultSet column index
- first() - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0
- first() - Method in class com.mysql.jdbc.UpdatableResultSet
- JDBC 2.0
- firstCharOfQuery - Variable in class com.mysql.jdbc.ResultSet
- First character of the query that created this result set...Used to determine whether or not to parse server info messages in certain circumstances.
- firstCharOfStmt - Variable in class com.mysql.jdbc.PreparedStatement
- firstNonWsCharUc(String) - Static method in class com.mysql.jdbc.StringUtils
- Returns the first non whitespace char, converted to upper case
- firstStmtChar - Variable in class com.mysql.jdbc.PreparedStatement.ParseInfo
- fixDecimalExponent(String) - Static method in class com.mysql.jdbc.PreparedStatement
- forceClose() - Method in class com.mysql.jdbc.MysqlIO
- Forcibly closes the underlying socket to MySQL.
- forcedCloseReason - Variable in class com.mysql.jdbc.Connection
- If the connection was forced closed, why was it forced closed?
- foundLimitClause - Variable in class com.mysql.jdbc.PreparedStatement.ParseInfo
- foundLoadData - Variable in class com.mysql.jdbc.PreparedStatement.ParseInfo
- fullColumnNameToIndex - Variable in class com.mysql.jdbc.ResultSet
- Map of fully-specified column names to column indices
- fullName - Variable in class com.mysql.jdbc.Field
- fullNameWithDatabase - Variable in class com.mysql.jdbc.Field
- fullOriginalName - Variable in class com.mysql.jdbc.Field
- fullOriginalNameWithDatabase - Variable in class com.mysql.jdbc.Field
G
- GMT_TIMEZONE - Static variable in class com.mysql.jdbc.TimeUtil
- generateStatements() - Method in class com.mysql.jdbc.UpdatableResultSet
- Figure out whether or not this ResultSet is updateable, and if so, generate the PreparedStatements to support updates.
- get(String) - Static method in class com.mysql.jdbc.SQLError
- getArray(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getArray(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getArray(int) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get an array column.
- getArray(String) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get an array column.
- getAsciiStream() - Method in class com.mysql.jdbc.Clob
- getAsciiStream(int) - Method in class com.mysql.jdbc.ResultSet
- A column value can be retrieved as a stream of ASCII characters and then read in chunks from the stream.
- getAsciiStream(String) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getAt(int) - Method in interface com.mysql.jdbc.RowData
- Only works on non dynamic result sets.
- getAt(int) - Method in class com.mysql.jdbc.RowDataDynamic
- Only works on non dynamic result sets.
- getAt(int) - Method in class com.mysql.jdbc.RowDataStatic
- DOCUMENT ME!
- getAttributes(String, String, String, String) - Method in class com.mysql.jdbc.DatabaseMetaData
- getAutoCommit() - Method in class com.mysql.jdbc.Connection
- gets the current auto-commit state
- getBestRowIdentifier(String, String, String, int, boolean) - Method in class com.mysql.jdbc.DatabaseMetaData
- Get a description of a table's optimal set of columns that uniquely identifies a row.
- getBigDecimal(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBigDecimal(int, int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBigDecimal(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBigDecimal(int, int) - Method in class com.mysql.jdbc.ResultSet
- Get the value of a column in the current row as a java.math.BigDecimal object
- getBigDecimal(String, int) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getBigDecimal(int) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get the value of a column in the current row as a java.math.BigDecimal object.
- getBigDecimal(String) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get the value of a column in the current row as a java.math.BigDecimal object.
- getBinaryData() - Method in class com.mysql.jdbc.Blob
- getBinaryPassword(int[], boolean) - Static method in class com.mysql.jdbc.Security
- DOCUMENT ME!
- getBinaryStream() - Method in class com.mysql.jdbc.Blob
- Retrieves the BLOB designated by this Blob instance as a stream.
- getBinaryStream(int) - Method in class com.mysql.jdbc.ResultSet
- A column value can also be retrieved as a binary strea.
- getBinaryStream(String) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getBlob(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBlob(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBlob(int) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get a BLOB column.
- getBlob(String) - Method in class com.mysql.jdbc.ResultSet
- JDBC 2.0 Get a BLOB column.
- getBoolean(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBoolean(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBoolean(int) - Method in class com.mysql.jdbc.ResultSet
- Get the value of a column in the current row as a Java boolean
- getBoolean(String) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getBufLength() - Method in class com.mysql.jdbc.Buffer
- getBufferSource() - Method in class com.mysql.jdbc.Buffer
- getByte(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getByte(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getByte(int) - Method in class com.mysql.jdbc.ResultSet
- Get the value of a column in the current row as a Java byte.
- getByte(String) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getByteBuffer() - Method in class com.mysql.jdbc.Buffer
- Returns the array of bytes this Buffer is using to read from.
- getBytes(long, int) - Method in class com.mysql.jdbc.Blob
- Returns as an array of bytes, part or all of the BLOB value that this Blob object designates.
- getBytes(int) - Method in class com.mysql.jdbc.Buffer
- getBytes(int) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBytes(String) - Method in class com.mysql.jdbc.Connection.UltraDevWorkAround
- getBytes(int) - Method in class com.mysql.jdbc.PreparedStatement
- getBytes(int) - Method in class com.mysql.jdbc.ResultSet
- Get the value of a column in the current row as a Java byte array.
- getBytes(String) - Method in class com.mysql.jdbc.ResultSet
- DOCUMENT ME!
- getBytes(String, String, String, boolean) - Static method in class com.mysql.jdbc.StringUtils
- Returns the byte[] representation of the given string using given encoding.
- getBytes(String, SingleByteCharsetConverter, String, String, boolean) - Static method in class com.mysql.jdbc.StringUtils
- Returns the byte[] representation of the given string (re)using the given charset converter, and the given encoding.
- getBytes(String, SingleByteCharsetConverter, String, String, int, int, boolean) - Static method in class com.mysql.jdbc.StringUtils
- DOCUMENT ME!
- getCanoncialTimezone(String) - Static method in class com.mysql.jdbc.TimeUtil
- Returns the 'official' Java timezone name for the given timezone
- getCascadeDeleteOption(String) - Method in class com.mysql.jdbc.DatabaseMetaData
- Parses the cascade option string and returns the DBMD constant that represents it (for deletes)
- getCascadeUpdateOption(String) - Method in class com.mysql.jdbc.DatabaseMetaData
- Parses the cascade option string and returns the DBMD constant that represents it (for Updates)
- getCatalog() - Method in class com.mysql.jdbc.Connection
- Return the connections current catalog name, or null if no catalog name is set, or we dont support catalogs.
- getCatalogName(int) - Method in class com.mysql.jdbc.ResultSetMetaData
- What's a column's table's catalog name?
- getCatalogSeparator() - Method in class com.mysql.jdbc.DatabaseMetaData
- What's the separator between catalog and table name?
- getCatalogTerm() - Method in class com.mysql.jdbc.DatabaseMetaData
- What's the database vendor's preferred term for "catalog"?
- getCatalogs() - Method in class com.mysql.jdbc.DatabaseMetaData
- Get the catalog names available in this database.