|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractRequest | |
org.objectweb.cjdbc.controller.backend | Database backend core. |
org.objectweb.cjdbc.controller.requestmanager | Request Manager core including the request parsing cache. |
org.objectweb.cjdbc.controller.scheduler | All C-JDBC schedulers are subpackage of this one which provides the scheduler interface in the AbstractScheduler class. |
org.objectweb.cjdbc.controller.scheduler.schema | Database schema handling for schedulers. |
org.objectweb.cjdbc.driver | C-JDBC driver core. |
org.objectweb.cjdbc.sql | SQL requests that are sent from the C-JDBC driver to the C-JDBC controller. |
Uses of AbstractRequest in org.objectweb.cjdbc.controller.backend |
Methods in org.objectweb.cjdbc.controller.backend with parameters of type AbstractRequest | |
void |
DatabaseBackend.addPendingRequest(AbstractRequest request)
Adds a pending request to this backend. |
boolean |
DatabaseBackend.removePendingRequest(AbstractRequest request)
Removes a pending request from this backend. |
Uses of AbstractRequest in org.objectweb.cjdbc.controller.requestmanager |
Fields in org.objectweb.cjdbc.controller.requestmanager declared as AbstractRequest | |
private AbstractRequest |
ParserThread.request
|
private AbstractRequest |
ParsingCache.CurrentlyParsingEntry.request
|
Methods in org.objectweb.cjdbc.controller.requestmanager that return AbstractRequest | |
AbstractRequest |
ParsingCache.CurrentlyParsingEntry.getRequest()
Returns the request. |
Methods in org.objectweb.cjdbc.controller.requestmanager with parameters of type AbstractRequest | |
void |
ParsingCache.getParsingFromCache(AbstractRequest request)
If the same SQL query is found in the cache, the parsing is cloned into the given request. |
void |
ParsingCache.getParsingFromCacheAndParseIfMissing(AbstractRequest request)
Method getParsingFromCacheAndParseIfMissing. |
Constructors in org.objectweb.cjdbc.controller.requestmanager with parameters of type AbstractRequest | |
ParserThread(AbstractRequest request,
DatabaseSchema dbs,
int granularity,
boolean isCaseSensitive)
Creates a new ParserThread |
|
ParsingCache.CurrentlyParsingEntry(ParserThread parserThread,
AbstractRequest request)
Constructor for CurrentlyParsingEntry. |
Uses of AbstractRequest in org.objectweb.cjdbc.controller.scheduler |
Methods in org.objectweb.cjdbc.controller.scheduler with parameters of type AbstractRequest | |
protected boolean |
AbstractScheduler.hasSQLMacros(AbstractRequest request)
Returns true if the query contains SQL macros. |
protected void |
AbstractScheduler.handleSQLMacros(AbstractRequest request)
Replace all SQL macros with an instanciated value: - NOW() is replaced with a current timestamp |
Uses of AbstractRequest in org.objectweb.cjdbc.controller.scheduler.schema |
Methods in org.objectweb.cjdbc.controller.scheduler.schema with parameters of type AbstractRequest | |
boolean |
TransactionExclusiveLock.acquire(AbstractRequest request)
Acquires an exclusive lock on this table. |
Uses of AbstractRequest in org.objectweb.cjdbc.driver |
Methods in org.objectweb.cjdbc.driver with parameters of type AbstractRequest | |
protected void |
Connection.setConnectionParametersOnRequest(AbstractRequest request)
Set the login, transaction id and autocommit mode on this request. |
Uses of AbstractRequest in org.objectweb.cjdbc.sql |
Subclasses of AbstractRequest in org.objectweb.cjdbc.sql | |
class |
AbstractWriteRequest
An AbstractWriteRequest defines the skeleton of read
requests that are sent from the driver to the controller. |
class |
CreateRequest
A CreateRequest is a SQL request of the following
syntax:
CREATE [TEMPORARY] TABLE table-name [(column-name column-type
[,column-name colum-type]* [,table-constraint-definition]*)]
|
class |
DeleteRequest
An DeleteRequest is an SQL request with the following
syntax:
DELETE FROM table-name
WHERE search-condition
|
class |
DropRequest
An DropRequest is an SQL request with the following
syntax:
DROP TABLE table-name
|
class |
InsertRequest
An InsertRequest is an SQL request of the following
syntax:
INSERT INTO table-name [(column-name[,column-name]*)]
{VALUES (constant|null[,constant|null]*)}|{SELECT query}
VALUES |
class |
SelectRequest
A SelectRequest is an SQL request of the following
syntax:
SELECT [ALL|DISTINCT] select-item[,select-item]*
FROM table-specification[,table-specification]*
[WHERE search-condition]
[GROUP BY grouping-column[,grouping-column]]
[HAVING search-condition]
[ORDER BY sort-specification[,sort-specification]]
[LIMIT ignored]
Everything after the end of the WHERE clause is ignored. |
class |
StoredProcedure
A StoredProcedure is a SQL request with the following
syntax:
{call <procedure-name>[<arg1>,<arg2>, ...]}
|
class |
UnknownRequest
An UnknownRequest is an SQL request that does not
match any SQL query known by this software. |
class |
UpdateRequest
An UpdateRequest is an SQL request with the following
syntax:
UPDATE table-name SET (column-name=expression[,column-name=expression]*)
WHERE search-condition
|
Methods in org.objectweb.cjdbc.sql with parameters of type AbstractRequest | |
void |
InsertRequest.cloneParsing(AbstractRequest request)
|
void |
UnknownRequest.cloneParsing(AbstractRequest request)
Throws always an SQLException : it is not possible
to parse an unknown request because we don't know its syntax or semantic. |
void |
DropRequest.cloneParsing(AbstractRequest request)
|
void |
DeleteRequest.cloneParsing(AbstractRequest request)
|
void |
UpdateRequest.cloneParsing(AbstractRequest request)
|
void |
CreateRequest.cloneParsing(AbstractRequest request)
|
void |
SelectRequest.cloneParsing(AbstractRequest request)
|
abstract void |
AbstractRequest.cloneParsing(AbstractRequest request)
Clones the parsing of a request. |
void |
StoredProcedure.cloneParsing(AbstractRequest request)
Always throws a SQLException : it is useless to parse
a stored procedure call since we can't know which tables are affected
by this procedure. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |