クラス org.objectweb.cjdbc.driver.protocol.Commands

すべてのメンバ一覧

説明

Commands used by the protocol between the C-JDBC driver and controller.

作者:
Emmanuel Cecchet

Nicolas Modrzyk *

バージョン:
1.0

Commands.java34 行で定義されています。

Static Public 変数

final int ProtocolVersion = 7
final int ExecReadRequest = 0
final int ExecWriteRequest = 1
final int ExecWriteRequestWithKeys = 2
final int ExecReadStoredProcedure = 3
final int ExecWriteStoredProcedure = 4
final int Begin = 5
final int Commit = 6
final int Rollback = 7
final int Close = 8
final int Reset = 9
final int DatabaseMetaDataGetTables = 10
final int GetVirtualDatabaseName = 11
final int GetControllerVersionNumber = 12
final int DatabaseMetaDataGetColumns = 13
final int DatabaseMetaDataGetPrimaryKeys = 14
final int DatabaseMetaDataGetProcedures = 15
final int DatabaseMetaDataGetProcedureColumns = 16
final int DatabaseMetaDataGetCatalogs = 17
final int DatabaseMetaDataGetCatalog = 18
final int ConnectionSetCatalog = 19
final int DatabaseMetaDataGetTableTypes = 20
final int DatabaseMetaDataGetTablePrivileges = 21
final int DatabaseMetaDataGetSchemas = 22
final int GetDatabaseProductName = 23
final int FetchNextResultSetRows = 24
final int CloseRemoteResultSet = 25
final int RestoreConnectionState = 26
final int SetAutoCommit = 27
final int CreateRequest = 30
final int DeleteRequest = 31
final int DropRequest = 32
final int InsertRequest = 33
final int UpdateRequest = 34
final int AlterRequest = 35


変数

final int org.objectweb.cjdbc.driver.protocol.Commands.AlterRequest = 35 [static]
 

Alter Request. This is used when sending a write request from the driver to the database worker thread Commands.java273 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.Begin = 5 [static]
 

Begins a new transaction and returns the corresponding transaction identifier. This method is called from the driver when org.objectweb.cjdbc.driver.Connection#setAutoCommit(boolean)is called with false argument.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#begin(String)
Commands.java95 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.Close = 8 [static]
 

Close the connection Commands.java114 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.CloseRemoteResultSet = 25 [static]
 

Closes a remote ResultSet that was opened for streaming. Commands.java230 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.Commit = 6 [static]
 

Commits a transaction given its id.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#commit(long)
Commands.java102 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ConnectionSetCatalog = 19 [static]
 

Change the current connection catalog

参照:
org.objectweb.cjdbc.driver.Connection.setCatalog
Commands.java200 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.CreateRequest = 30 [static]
 

Create Request. This is used when sending a write request from the driver to the database worker thread Commands.java247 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetCatalog = 18 [static]
 

Retrieve the current catalog

参照:
org.objectweb.cjdbc.driver.Connection.getCatalog
Commands.java193 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetCatalogs = 17 [static]
 

Retrieve the list of catalogs

参照:
org.objectweb.cjdbc.driver.Connection.getCatalogs
Commands.java186 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetColumns = 13 [static]
 

Used to get the schema columns by calling DatabaseMetaData.getColumns()

参照:
org.objectweb.cjdbc.driver.DatabaseMetaData.getColumns(String, String, String, String)
Commands.java153 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetPrimaryKeys = 14 [static]
 

Used to get the schema primary keys by calling DatabaseMetaData.getColumns()

参照:
org.objectweb.cjdbc.driver.DatabaseMetaData.getPrimaryKeys(String, String, String)
Commands.java162 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetProcedureColumns = 16 [static]
 

Used to get the schema procedure columns by calling DatabaseMetaData.getProcedureColumns()

参照:
org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedureColumns
Commands.java179 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetProcedures = 15 [static]
 

Used to get the schema procedures by calling DatabaseMetaData.getProcedures()

参照:
org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedures(String, String, String)
Commands.java171 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetSchemas = 22 [static]
 

Retrieve the schemas Commands.java215 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetTablePrivileges = 21 [static]
 

Retrieve the table privileges Commands.java210 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetTables = 10 [static]
 

Used to get the schema tables by calling DatabaseMetaData.getTables()

参照:
org.objectweb.cjdbc.driver.DatabaseMetaData.getTables(String, String, String, String[])
Commands.java131 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DatabaseMetaDataGetTableTypes = 20 [static]
 

Retrieve the database table types Commands.java205 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DeleteRequest = 31 [static]
 

Delete Request. This is used when sending a write request from the driver to the database worker thread Commands.java252 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.DropRequest = 32 [static]
 

Drop Request. This is used when sending a write request from the driver to the database worker thread Commands.java257 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ExecReadRequest = 0 [static]
 

Performs a read request and returns the reply.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#execReadRequest(SelectRequest)
Commands.java52 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ExecReadStoredProcedure = 3 [static]
 

Calls a stored procedure and returns the reply (ResultSet).

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#execReadStoredProcedure(StoredProcedure)
Commands.java73 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ExecWriteRequest = 1 [static]
 

Performs a write request and returns the number of rows affected.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#execWriteRequest(AbstractWriteRequest)
Commands.java59 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ExecWriteRequestWithKeys = 2 [static]
 

Performs a write request and returns the auto generated keys.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#execWriteRequestWithKeys(AbstractWriteRequest)
Commands.java66 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ExecWriteStoredProcedure = 4 [static]
 

Calls a stored procedure and returns the number of rows affected (write query).

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#execReadStoredProcedure(StoredProcedure)
Commands.java81 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.FetchNextResultSetRows = 24 [static]
 

Fetch next rows of data for ResultSet streaming Commands.java225 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.GetControllerVersionNumber = 12 [static]
 

Gets the controller version number.

参照:
org.objectweb.cjdbc.controller.core.Controller#getVersionNumber()
Commands.java145 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.GetDatabaseProductName = 23 [static]
 

Retrieve the list of database product names Commands.java220 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.GetVirtualDatabaseName = 11 [static]
 

Gets the virtual database name to be used by the client (C-JDBC driver).

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#getVirtualDatabaseName()
Commands.java138 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.InsertRequest = 33 [static]
 

Insert Request. This is used when sending a write request from the driver to the database worker thread Commands.java262 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.ProtocolVersion = 7 [static]
 

Protocol version to check that driver is compatible with controller. Increase this number each time the exchange protocol changes between driver and controller. Commands.java41 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.Reset = 9 [static]
 

Reset the connection Commands.java119 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.RestoreConnectionState = 26 [static]
 

Restore a connection state after an automatic reconnection. Commands.java235 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.Rollback = 7 [static]
 

Rollbacks a transaction given its id.

参照:
org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase#rollback(long)
Commands.java109 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.SetAutoCommit = 27 [static]
 

Command to change the autocommit value from false to true. We want to commit the current transaction but we don't want to start a new one. Commands.java241 行で定義されています。

final int org.objectweb.cjdbc.driver.protocol.Commands.UpdateRequest = 34 [static]
 

Update Request. This is used when sending a write request from the driver to the database worker thread Commands.java267 行で定義されています。


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.1に対してWed Aug 18 09:20:34 2004に生成されました。 doxygen 1.3.8