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
Fields Modifier and Type Field Description protected PrimaryKey
key
protected DatastoreClass
table
-
Constructor Summary
Constructors Constructor Description BulkRequest(DatastoreClass table)
Constructor, taking the table to use for the request.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
execute(org.datanucleus.state.DNStateManager[] sms)
Method to execute the request - to be implemented by deriving classes.
-
-
-
Field Detail
-
table
protected DatastoreClass table
-
key
protected PrimaryKey key
-
-
Constructor Detail
-
BulkRequest
public BulkRequest(DatastoreClass table)
Constructor, taking the table to use for the request.- Parameters:
table
- The Table to use for the request.
-
-