org.dbunit.operation
Class DeleteOperation

java.lang.Object
  extended byorg.dbunit.operation.DatabaseOperation
      extended byorg.dbunit.operation.AbstractOperation
          extended byorg.dbunit.operation.AbstractBatchOperation
              extended byorg.dbunit.operation.DeleteOperation

public class DeleteOperation
extends AbstractBatchOperation

Deletes only the dataset contents from the database. This operation does not delete the entire table contents but only data that are present in the dataset.

Since:
Feb 19, 2002
Version:
$Revision: 1.18 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from class org.dbunit.operation.AbstractBatchOperation
_reverseRowOrder
 
Fields inherited from class org.dbunit.operation.DatabaseOperation
CLEAN_INSERT, DELETE, DELETE_ALL, INSERT, NONE, REFRESH, TRUNCATE_TABLE, UPDATE
 
Method Summary
 OperationData getOperationData(ITableMetaData metaData, java.util.BitSet ignoreMapping, IDatabaseConnection connection)
           
protected  ITableIterator iterator(IDataSet dataSet)
          Returns list of tables this operation is applied to.
 
Methods inherited from class org.dbunit.operation.AbstractBatchOperation
execute
 
Methods inherited from class org.dbunit.operation.AbstractOperation
getQualifiedName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

iterator

protected ITableIterator iterator(IDataSet dataSet)
                           throws DatabaseUnitException
Description copied from class: AbstractBatchOperation
Returns list of tables this operation is applied to. This method allow subclass to do filtering.

Overrides:
iterator in class AbstractBatchOperation
Throws:
DatabaseUnitException

getOperationData

public OperationData getOperationData(ITableMetaData metaData,
                                      java.util.BitSet ignoreMapping,
                                      IDatabaseConnection connection)
                               throws DataSetException
Throws:
DataSetException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.