Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


com.sigmadynamics.server.DataServices.DatabaseProvider
Interface TableDeleter

All Superinterfaces:
Where

public interface TableDeleter
extends Where

Interface that provides the functionality to delete data in relational tables.


Field Summary

 

Fields inherited from interface com.sigmadynamics.server.DataServices.DatabaseProvider.Where
AND, OR

 

Method Summary
 void close()
          close the TableDeleter object.
 void delete()
          delete data from a database.
 void flush()
          flush the batched deletes to the database.

 

Methods inherited from interface com.sigmadynamics.server.DataServices.DatabaseProvider.Where
initWhere, initWhere, setDateWhereArg, setDateWhereArg, setWhereArg, setWhereArg, setWhereArg, setWhereArg

 

Method Detail

delete

void delete()
delete data from a database.

call this method to delete data from a database. The data to be deleted is specified through the values specified for getTableDeleter and related Where constraints. If you specified a batch size greater than one, than this method doesn't necessarily delete the data but only batches up the delete.


flush

void flush()
flush the batched deletes to the database.

This method will force the batched deletes out to the database.


close

void close()
close the TableDeleter object.

It's important to call this method as early as possible in order to free up resources.

This method will automatically force any pending batch operations to the database.

Specified by:
close in interface Where

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.