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

Packages that use SelectRequest
org.objectweb.cjdbc.controller.cache.result ResultCache is an implementation of the AbstractResultCache.  
org.objectweb.cjdbc.controller.cache.result.entries Query cache entries implementations. 
org.objectweb.cjdbc.controller.cache.result.rules Rules to apply to the parsed request for the cache.  
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.raidb0 RAIDb-0 load balancers. 
org.objectweb.cjdbc.controller.loadbalancer.raidb1 RAIDb-1 (full replication) load balancers. 
org.objectweb.cjdbc.controller.loadbalancer.raidb2 RAIDb-2 (partial replication) load balancers. 
org.objectweb.cjdbc.controller.loadbalancer.singledb Load balancer for single backend systems. 
org.objectweb.cjdbc.controller.loadbalancer.tasks BackendWorkerThread tasks for distributed query execution. 
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.raidb0 RAIDb-0 schedulers. 
org.objectweb.cjdbc.controller.scheduler.raidb1 RAIDb-1 (full replication) schedulers. 
org.objectweb.cjdbc.controller.scheduler.raidb2 RAIDb-2 (partial replication) schedulers. 
org.objectweb.cjdbc.controller.scheduler.singledb Schedulers for single backend system. 
org.objectweb.cjdbc.controller.virtualdatabase Virtual database core code including connection handling. 
org.objectweb.cjdbc.driver C-JDBC driver core. 
 

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

Methods in org.objectweb.cjdbc.controller.cache.result with parameters of type SelectRequest
private  CacheBehavior ResultCache.getCacheBehavior(SelectRequest request)
          Finds the behavior of the cache with the given query skeleton.
 void ResultCache.addToCache(SelectRequest request, ControllerResultSet result)
          Adds an entry request/reply to the cache.
 CacheEntry ResultCache.getFromCache(SelectRequest request, boolean addToPendingQueries)
          Gets the result to the given request from the cache.
 void ResultCache.removeFromCache(SelectRequest request)
          Removes an entry from the cache (both request and reply are dropped).
 void ResultCache.removeFromPendingQueries(SelectRequest request)
          Removes an entry from the pending query list.
abstract  CacheEntry CacheBehavior.getCacheEntry(SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache)
          Builds a cache entry from a SelectRequest and a ControllerResultSet.
abstract  void AbstractResultCache.addToCache(SelectRequest request, ControllerResultSet result)
          Adds an entry request/reply to the cache.
abstract  CacheEntry AbstractResultCache.getFromCache(SelectRequest request, boolean addToPendingQueries)
          Gets the result to the given request from the cache.
abstract  void AbstractResultCache.removeFromCache(SelectRequest request)
          Removes an entry from the cache (both request and reply are dropped).
abstract  void AbstractResultCache.removeFromPendingQueries(SelectRequest request)
          Removes an entry from the pending query list.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.cache.result.entries
 

Fields in org.objectweb.cjdbc.controller.cache.result.entries declared as SelectRequest
protected  SelectRequest ResultCacheEntry.request
           
 

Methods in org.objectweb.cjdbc.controller.cache.result.entries that return SelectRequest
 SelectRequest ResultCacheEntry.getRequest()
          Returns the SELECT request of this cache entry.
 SelectRequest CacheEntry.getRequest()
          Returns the SELECT request of this cache entry.
 

Constructors in org.objectweb.cjdbc.controller.cache.result.entries with parameters of type SelectRequest
ResultCacheEntryRelaxed(SelectRequest request, ControllerResultSet result, long timeout, boolean keepIfNotDirty)
          Create a new Relaxed Query Cache entry
ResultCacheEntryEager(AbstractResultCache cache, SelectRequest request, ControllerResultSet result, long timeout)
          Create a new Eager Query Cache entry
ResultCacheEntry(SelectRequest request, ControllerResultSet result)
          Creates a new CacheEntry instance.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.cache.result.rules
 

Methods in org.objectweb.cjdbc.controller.cache.result.rules with parameters of type SelectRequest
 CacheEntry RelaxedCaching.getCacheEntry(SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache)
           
 CacheEntry NoCaching.getCacheEntry(SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache)
           
 CacheEntry EagerCaching.getCacheEntry(SelectRequest sqlQuery, ControllerResultSet result, AbstractResultCache cache)
           
 

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

Methods in org.objectweb.cjdbc.controller.loadbalancer with parameters of type SelectRequest
abstract  ControllerResultSet AbstractLoadBalancer.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Perform a read request.
static ControllerResultSet AbstractLoadBalancer.executeSelectRequestOnBackend(SelectRequest request, DatabaseBackend backend, java.sql.Connection c, MetadataCache metadataCache)
          Execute a statement on a backend.
 

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

Methods in org.objectweb.cjdbc.controller.loadbalancer.paralleldb with parameters of type SelectRequest
 ControllerResultSet ParallelDB.execReadRequest(SelectRequest request, MetadataCache metadataCache)
           
private  ControllerResultSet ParallelDB.executeReadRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.loadbalancer.raidb0
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb0 with parameters of type SelectRequest
 ControllerResultSet RAIDb0.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request on the backend that has the needed tables to executes the request.
protected  ControllerResultSet RAIDb0.executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 

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

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb1 with parameters of type SelectRequest
 ControllerResultSet RAIDb1ec_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb1ec_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb1_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a weighted round-robin algorithm and executes the read request.
 ControllerResultSet RAIDb1_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a simple round-robin algorithm and executes the read request.
abstract  ControllerResultSet RAIDb1.execReadRequest(SelectRequest request, MetadataCache metadataCache)
           
protected  ControllerResultSet RAIDb1.executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 ControllerResultSet RAIDb1_LPRF.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a least pending request first policy.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.loadbalancer.raidb2
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb2 with parameters of type SelectRequest
 ControllerResultSet RAIDb2ec_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2ec_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Chooses the node to execute the request using a round-robin algorithm.
abstract  ControllerResultSet RAIDb2.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Implementation specific load balanced read execution.
protected  ControllerResultSet RAIDb2.executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 ControllerResultSet RAIDb2_LPRF.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Chooses the node to execute the request using a round-robin algorithm.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.loadbalancer.singledb
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.singledb with parameters of type SelectRequest
 ControllerResultSet SingleDB.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.loadbalancer.tasks
 

Fields in org.objectweb.cjdbc.controller.loadbalancer.tasks declared as SelectRequest
private  SelectRequest SelectRequestTask.request
           
 

Constructors in org.objectweb.cjdbc.controller.loadbalancer.tasks with parameters of type SelectRequest
SelectRequestTask(int nbToComplete, int totalNb, SelectRequest request)
          Creates a new WriteRequestTask instance.
 

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

Methods in org.objectweb.cjdbc.controller.requestmanager with parameters of type SelectRequest
 ControllerResultSet RequestManager.execReadRequest(SelectRequest request)
          Perform a read request and return the reply.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.scheduler
 

Methods in org.objectweb.cjdbc.controller.scheduler with parameters of type SelectRequest
abstract  void AbstractScheduler.scheduleReadRequest(SelectRequest request)
          Schedule a read request (implementation specific).
abstract  void AbstractScheduler.readCompletedNotify(SelectRequest request)
          Notify the completion of a read statement.
 void AbstractScheduler.readCompleted(SelectRequest request)
          Notify the completion of a read statement.
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.scheduler.raidb0
 

Methods in org.objectweb.cjdbc.controller.scheduler.raidb0 with parameters of type SelectRequest
 void RAIDb0QueryLevelScheduler.scheduleReadRequest(SelectRequest request)
           
 void RAIDb0QueryLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void RAIDb0PessimisticTransactionLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void RAIDb0PessimisticTransactionLevelScheduler.readCompletedNotify(SelectRequest request)
           
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.scheduler.raidb1
 

Methods in org.objectweb.cjdbc.controller.scheduler.raidb1 with parameters of type SelectRequest
 void RAIDb1QueryLevelScheduler.scheduleReadRequest(SelectRequest request)
           
 void RAIDb1QueryLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void RAIDb1PessimisticTransactionLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void RAIDb1PessimisticTransactionLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void RAIDb1OptimisticTransactionLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void RAIDb1OptimisticTransactionLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void RAIDb1OptimisticQueryLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void RAIDb1OptimisticQueryLevelScheduler.readCompletedNotify(SelectRequest request)
           
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.scheduler.raidb2
 

Methods in org.objectweb.cjdbc.controller.scheduler.raidb2 with parameters of type SelectRequest
 void RAIDb2QueryLevelScheduler.scheduleReadRequest(SelectRequest request)
           
 void RAIDb2QueryLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void RAIDb2PessimisticTransactionLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void RAIDb2PessimisticTransactionLevelScheduler.readCompletedNotify(SelectRequest request)
           
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.scheduler.singledb
 

Methods in org.objectweb.cjdbc.controller.scheduler.singledb with parameters of type SelectRequest
 void SingleDBQueryLevelScheduler.scheduleReadRequest(SelectRequest request)
           
 void SingleDBQueryLevelScheduler.readCompletedNotify(SelectRequest request)
           
 void SingleDBPessimisticTransactionLevelScheduler.scheduleReadRequest(SelectRequest request)
          Additionally to scheduling the request, this method replaces the SQL Date macros such as now() with the current date.
 void SingleDBPessimisticTransactionLevelScheduler.readCompletedNotify(SelectRequest request)
           
 

Uses of SelectRequest in org.objectweb.cjdbc.controller.virtualdatabase
 

Methods in org.objectweb.cjdbc.controller.virtualdatabase that return SelectRequest
private  SelectRequest VirtualDatabaseWorkerThread.readRequestFromStream()
          Read a SelectRequest from the stream.
 

Methods in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type SelectRequest
 ControllerResultSet VirtualDatabase.execReadRequest(SelectRequest request)
          Performs a read request and returns the reply.
 

Uses of SelectRequest in org.objectweb.cjdbc.driver
 

Methods in org.objectweb.cjdbc.driver with parameters of type SelectRequest
protected  java.sql.ResultSet Connection.execReadRequest(SelectRequest request)
          Performs a read request and return the reply.
private  void Connection.readRequestOnStream(SelectRequest request)
          Serialize a read request on the output stream by sending only the needed parameters to reconstruct it on the controller
 



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