Uses of Class
org.objectweb.cjdbc.common.sql.AbstractRequest

Packages that use AbstractRequest
org.objectweb.cjdbc.common.sql SQL requests that are sent from the C-JDBC driver to the C-JDBC controller. 
org.objectweb.cjdbc.controller.cache.metadata MetadataCache caches ResultSet meta-information for improved memory usage and ResultSet serialization. 
org.objectweb.cjdbc.controller.cache.parsing ParsingCache caches the request parsing meta-information so that a request is parsed only once if it is executed secveral times. 
org.objectweb.cjdbc.controller.cache.result ResultCache is an implementation of the AbstractResultCache.  
org.objectweb.cjdbc.controller.loadbalancer All C-JDBC load balancers are subpackage of this one which provides the load balancer interface and the core backend thread. 
org.objectweb.cjdbc.controller.loadbalancer.paralleldb ParallelDB load balancers to use with parallel databases. 
org.objectweb.cjdbc.controller.loadbalancer.raidb1 RAIDb-1 (full replication) load balancers. 
org.objectweb.cjdbc.controller.monitoring Abstract class to monitor C-JDBC request and sql implementation. 
org.objectweb.cjdbc.controller.recoverylog Recovery Log core. 
org.objectweb.cjdbc.controller.requestmanager Request Manager core including the request parsing cache. 
org.objectweb.cjdbc.controller.requestmanager.distributed Distributed implementation of the request manager.  
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.controller.virtualdatabase Virtual database core code including connection handling. 
org.objectweb.cjdbc.controller.virtualdatabase.protocol Differemt group messages for the distributed version of the virtual database. 
org.objectweb.cjdbc.driver C-JDBC driver core. 
 

Uses of AbstractRequest in org.objectweb.cjdbc.common.sql
 

Subclasses of AbstractRequest in org.objectweb.cjdbc.common.sql
 class AbstractWriteRequest
          An AbstractWriteRequest defines the skeleton of read requests that are sent from the driver to the controller.
 class AlterRequest
          This class defines a AlterRequest
 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 [table1,table2,...]
 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 are ignored
 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] Note that table-specification in the FROM clause can be a sub-select.
 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.common.sql with parameters of type AbstractRequest
 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 InsertRequest.cloneParsing(AbstractRequest request)
           
 void DropRequest.cloneParsing(AbstractRequest request)
           
 void DeleteRequest.cloneParsing(AbstractRequest request)
           
 void CreateRequest.cloneParsing(AbstractRequest request)
           
 void AlterRequest.cloneParsing(AbstractRequest request)
           
 void UpdateRequest.cloneParsing(AbstractRequest request)
           
 void SelectRequest.cloneParsing(AbstractRequest 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.
abstract  void AbstractRequest.cloneParsing(AbstractRequest request)
          Clones the parsing of a request.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.cache.metadata
 

Methods in org.objectweb.cjdbc.controller.cache.metadata with parameters of type AbstractRequest
 Field[] MetadataCache.getMetadata(AbstractRequest request)
          Get metadata associated to a request.
 void MetadataCache.addMetadata(AbstractRequest request, Field[] metadata)
          Add a metadata entry to the cache and associate it to the given request.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.cache.parsing
 

Fields in org.objectweb.cjdbc.controller.cache.parsing declared as AbstractRequest
private  AbstractRequest ParsingCache.CurrentlyParsingEntry.request
           
 

Methods in org.objectweb.cjdbc.controller.cache.parsing that return AbstractRequest
 AbstractRequest ParsingCache.CurrentlyParsingEntry.getRequest()
          Returns the request.
 

Methods in org.objectweb.cjdbc.controller.cache.parsing 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.cache.parsing with parameters of type AbstractRequest
ParsingCache.CurrentlyParsingEntry(ParserThread parserThread, AbstractRequest request)
          Constructor for CurrentlyParsingEntry.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.cache.result
 

Methods in org.objectweb.cjdbc.controller.cache.result with parameters of type AbstractRequest
 CacheBehavior ResultCacheRule.matches(AbstractRequest request)
           
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.loadbalancer
 

Methods in org.objectweb.cjdbc.controller.loadbalancer with parameters of type AbstractRequest
 void AbstractLoadBalancer.handleMacros(AbstractRequest request)
          Interprets the macros in the request (depending on the MacroHandler set for this class) and modify either the skeleton or the query itself.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.loadbalancer.paralleldb
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.paralleldb with parameters of type AbstractRequest
 DatabaseBackend ParallelDB_RR.chooseBackendForReadRequest(AbstractRequest request)
          Choose a backend using a round-robin algorithm for read request execution.
 DatabaseBackend ParallelDB_LPRF.chooseBackendForReadRequest(AbstractRequest request)
           
abstract  DatabaseBackend ParallelDB.chooseBackendForReadRequest(AbstractRequest request)
          Choose a backend using the implementation specific load balancing algorithm for read request execution.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.loadbalancer.raidb1
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb1 with parameters of type AbstractRequest
private  ControllerResultSet RAIDb1_WRR.executeWRR(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a weighted round-robin algorithm.
private  ControllerResultSet RAIDb1_RR.executeRoundRobinRequest(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a round-robin algorithm.
private  ControllerResultSet RAIDb1_LPRF.executeLPRF(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a LPRF algorithm.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.monitoring
 

Methods in org.objectweb.cjdbc.controller.monitoring with parameters of type AbstractRequest
 java.lang.String SQLMonitoringRule.matches(AbstractRequest request)
          Returns true if the given query matches the pattern of this rule.
 void SQLMonitoring.logRequestTime(AbstractRequest request, long time)
          Log the time elapsed to execute the given request.
 void SQLMonitoring.logError(AbstractRequest request)
          Log an error for the given request.
 void SQLMonitoring.logCacheHit(AbstractRequest request)
          Log a cache hit for the given request.
 void SQLMonitoring.resetRequestStat(AbstractRequest request)
          Reset the stats associated to a request.
 Stats SQLMonitoring.getStatForRequest(AbstractRequest request)
          Retrieve the stat corresponding to a request and create it if it does not exist.
private  java.lang.String SQLMonitoring.monitorRequestRule(AbstractRequest request)
          Check the rule list to check of this request should be monitored or not.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.recoverylog
 

Methods in org.objectweb.cjdbc.controller.recoverylog with parameters of type AbstractRequest
private  void JDBCRecoveryLog.setDriverProcessedAndSkeleton(AbstractRequest request)
          Set the driverProcessed flag of the given request according to its SQL content and rebuild the SQL skeleton if necessary.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.requestmanager
 

Fields in org.objectweb.cjdbc.controller.requestmanager declared as AbstractRequest
private  AbstractRequest ParserThread.request
           
 

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
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.requestmanager.distributed
 

Methods in org.objectweb.cjdbc.controller.requestmanager.distributed with parameters of type AbstractRequest
 void DistributedRequestManager.addFailedOnAllBackends(AbstractRequest request)
          Add a request that failed on all backends.
 void DistributedRequestManager.completeFailedOnAllBackends(AbstractRequest request, boolean success)
          Notify completion of a request that failed on all backends.
 void DistributedRequestManager.lazyTransactionStart(AbstractRequest request)
          Check if the transaction corresponding to the given query has been started remotely and start the transaction locally in a lazy manner if needed.
 

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.
 

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.controller.virtualdatabase
 

Methods in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type AbstractRequest
private  boolean VirtualDatabaseWorkerThread.setRequestParameters(AbstractRequest request, java.lang.String login, long tid, boolean transactionStarted)
          Set the login and transaction id on the given request.
 

Constructors in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type AbstractRequest
ControllerResultSet(AbstractRequest request, java.sql.ResultSet rs, MetadataCache metadataCache, java.sql.Statement s)
          Build a C-JDBC ResultSet from a database specific ResultSet.
 

Uses of AbstractRequest in org.objectweb.cjdbc.controller.virtualdatabase.protocol
 

Fields in org.objectweb.cjdbc.controller.virtualdatabase.protocol declared as AbstractRequest
protected  AbstractRequest DistributedRequest.request
           
 

Methods in org.objectweb.cjdbc.controller.virtualdatabase.protocol that return AbstractRequest
 AbstractRequest DistributedRequest.getRequest()
          Returns the request value.
 

Constructors in org.objectweb.cjdbc.controller.virtualdatabase.protocol with parameters of type AbstractRequest
NotifyCompletion(AbstractRequest request, boolean success)
          Creates a new NotifyCompletion object
DistributedRequest(AbstractRequest request)
          Builds a new DistributedRequest object.
 

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 autocommit mode and read-only status on this request.
 



Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.