org.datanucleus.store.rdbms.request
Class BulkRequest
java.lang.Object
org.datanucleus.store.rdbms.request.BulkRequest
- Direct Known Subclasses:
- LocateBulkRequest
public abstract class BulkRequest
- extends Object
Base class representing a request to perform a bulk action on the datastore.
All requests have 2 methods - constructor and execute. They build an SQL statement, and execute it.
|
Field Summary |
protected PrimaryKey |
key
|
protected static org.datanucleus.util.Localiser |
LOCALISER
Localisation of messages. |
protected org.datanucleus.store.mapped.DatastoreClass |
table
|
|
Constructor Summary |
BulkRequest(org.datanucleus.store.mapped.DatastoreClass table)
Constructor, taking the table to use for the request. |
|
Method Summary |
abstract void |
execute(org.datanucleus.store.ObjectProvider[] ops)
Method to execute the request - to be implemented by deriving classes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALISER
protected static final org.datanucleus.util.Localiser LOCALISER
- Localisation of messages.
table
protected org.datanucleus.store.mapped.DatastoreClass table
key
protected PrimaryKey key
BulkRequest
public BulkRequest(org.datanucleus.store.mapped.DatastoreClass table)
- Constructor, taking the table to use for the request.
- Parameters:
table - The Table to use for the request.
execute
public abstract void execute(org.datanucleus.store.ObjectProvider[] ops)
- Method to execute the request - to be implemented by deriving classes.
- Parameters:
ops - ObjectProviders to execute this request for.
Copyright © 2012. All Rights Reserved.