Uses of Interface
org.dbunit.dataset.IDataSet
Packages that use IDataSet
Package
Description
-
Uses of IDataSet in org.dbunit
Methods in org.dbunit that return IDataSetModifier and TypeMethodDescriptionAbstractDatabaseTester.getDataSet()protected abstract IDataSetDatabaseTestCase.getDataSet()Returns the test dataset.DefaultPrepAndExpectedTestCase.getDataSet()Returns the test dataset.IDatabaseTester.getDataSet()Returns the test dataset.DefaultPrepAndExpectedTestCase.getExpectedDataset()Get the expected dataset, created from the expectedDataFiles.PrepAndExpectedTestCase.getExpectedDataset()Get the expected dataset, created from the expectedDataFiles.DefaultPrepAndExpectedTestCase.getPrepDataset()Get the prep dataset, created from the prepDataFiles.PrepAndExpectedTestCase.getPrepDataset()Get the prep dataset, created from the prepDataFiles.DefaultPrepAndExpectedTestCase.makeCompositeDataSet(String[] dataFiles, String dataFilesName) Make aIDataSetfrom the specified files with case sensitive table names as false.DefaultPrepAndExpectedTestCase.makeCompositeDataSet(String[] dataFiles, String dataFilesName, boolean isCaseSensitiveTableNames) Make aIDataSetfrom the specified files.Methods in org.dbunit with parameters of type IDataSetModifier and TypeMethodDescriptionstatic voidAssertion.assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) static voidAssertion.assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet, FailureHandler failureHandler) static voidAssertion.assertEqualsByQuery(IDataSet expectedDataset, IDatabaseConnection connection, String sqlQuery, String tableName, String[] ignoreCols) static voidAssertion.assertEqualsIgnoreCols(IDataSet expectedDataset, IDataSet actualDataset, String tableName, String[] ignoreCols) static voidAssertion.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet, ValueComparer defaultValueComparer, Map<String, Map<String, ValueComparer>> tableColumnValueComparers) static voidAssertion.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, Map<String, ValueComparer>> tableColumnValueComparers) voidAbstractDatabaseTester.setDataSet(IDataSet dataSet) voidIDatabaseTester.setDataSet(IDataSet dataSet) Sets the test dataset to use.voidDefaultPrepAndExpectedTestCase.setExpectedDs(IDataSet expectedDataSet) Set the expectedDs.voidSet the prepDs.voidDefaultExpectedDataSetAndVerifyTableDefinitionVerifier.verify(VerifyTableDefinition[] verifyTableDefinitions, IDataSet expectedDataSet, DatabaseConfig config) voidExpectedDataSetAndVerifyTableDefinitionVerifier.verify(VerifyTableDefinition[] verifyTableDefinitions, IDataSet expectedDataSet, DatabaseConfig config) VerifyVerifyTableDefinitions and expectedDataSet configurations agree. -
Uses of IDataSet in org.dbunit.ant
Methods in org.dbunit.ant that return IDataSetModifier and TypeMethodDescriptionprotected IDataSetAbstractStep.getDatabaseDataSet(IDatabaseConnection connection, List tables) protected IDataSetExport.getExportDataSet(IDatabaseConnection connection) Creates the dataset that is finally used for the exportprotected IDataSetAbstractStep.getSrcDataSet(File src, String format, boolean forwardonly) -
Uses of IDataSet in org.dbunit.assertion
Methods in org.dbunit.assertion with parameters of type IDataSetModifier and TypeMethodDescriptionvoidDbUnitAssert.assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) Asserts that the two specified dataset are equals.voidDbUnitAssert.assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet, FailureHandler failureHandler) Asserts that the two specified dataset are equals.voidDbUnitAssert.assertEqualsByQuery(IDataSet expectedDataset, IDatabaseConnection connection, String sqlQuery, String tableName, String[] ignoreCols) Compare a table from a dataset with a table generated from an sql query.voidDbUnitAssert.assertEqualsIgnoreCols(IDataSet expectedDataset, IDataSet actualDataset, String tableName, String[] ignoreCols) Compare one table present in two datasets ignoring specified columns.voidDbUnitAssertBase.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, Map<String, ValueComparer>> tableColumnValueComparers) Asserts the two specifiedIDataSets comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the specified failureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet) Asserts the two specifiedIDataSets comparing their columns using the defaultValueComparerand handles failures using the defaultFailureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet, ValueComparer defaultValueComparer) Asserts the two specifiedIDataSets comparing their columns using the specified defaultValueComparer and handles failures using the defaultFailureHandler.voidDbUnitValueComparerAssert.assertWithValueComparer(IDataSet expectedDataSet, IDataSet actualDataSet, ValueComparer defaultValueComparer, Map<String, Map<String, ValueComparer>> tableColumnValueComparers) Asserts the two specifiedIDataSets comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler.protected voidDbUnitAssert.compareTables(IDataSet expectedDataSet, IDataSet actualDataSet, String[] expectedNames, FailureHandler failureHandler) protected voidDbUnitAssertBase.compareTables(IDataSet expectedDataSet, IDataSet actualDataSet, String[] expectedNames, FailureHandler failureHandler, ValueComparer defaultValueComparer, Map<String, Map<String, ValueComparer>> tableColumnValueComparers) protected String[]DbUnitAssertBase.getSortedTableNames(IDataSet dataSet) -
Uses of IDataSet in org.dbunit.database
Classes in org.dbunit.database that implement IDataSetModifier and TypeClassDescriptionclassProvides access to a database instance as aIDataSet.classHolds collection of tables resulting from database query.Methods in org.dbunit.database that return IDataSetModifier and TypeMethodDescriptionAbstractDatabaseConnection.createDataSet()AbstractDatabaseConnection.createDataSet(String[] tableNames) IDatabaseConnection.createDataSet()Creates a dataset corresponding to the entire database.IDatabaseConnection.createDataSet(String[] tableNames) Creates a dataset containing only the specified tables from the database.Methods in org.dbunit.database with parameters of type IDataSetModifier and TypeMethodDescriptionConstructors in org.dbunit.database with parameters of type IDataSet -
Uses of IDataSet in org.dbunit.database.search
Methods in org.dbunit.database.search that return IDataSetModifier and TypeMethodDescriptionstatic IDataSetTablesDependencyHelper.getAllDataset(IDatabaseConnection connection, String rootTable, Set allowedPKs) static IDataSetTablesDependencyHelper.getAllDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables) static IDataSetTablesDependencyHelper.getDataset(IDatabaseConnection connection, String rootTable, Set allowedIds) static IDataSetTablesDependencyHelper.getDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables) -
Uses of IDataSet in org.dbunit.dataset
Classes in org.dbunit.dataset that implement IDataSetModifier and TypeClassDescriptionclassThis abstract class provides the basic implementation of the IDataSet interface.classHold copy of another dataset or a consumed provider content.classDeprecated.All IDataSet implementations are case insensitive since DbUnit 1.5 - may change again since tablenames on RDBMSes can be case sensitiveclassCombines multiple datasets into a single logical dataset.classSimple implementation of a dataset backed byITableobjects which can be added dynamically.classDecorates a dataset and exposes only some tables from it.classDecorator that allows forward only access to decorated dataset.classSpecialized IDataSet decorator that convert the table name and column names to lower case.classDecorator that replace configured values from the decorated dataset with replacement values.classDecorator that returns theITables of the decorated dataset asSortedTables.classDecorates a dataset to allow decorating the returnedITables (andITableMetaDatas, by extension).Methods in org.dbunit.dataset with parameters of type IDataSetModifier and TypeMethodDescriptionstatic voidDataSetUtils.assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) Deprecated.Use Assertion.assertEqualsstatic String[]DataSetUtils.getReverseTableNames(IDataSet dataSet) Returns the table names from the specified dataset in reverse order.static ITable[]Search and returns the specified tables from the specified dataSet.static ITable[]Returns the tables from the specified dataset.Constructors in org.dbunit.dataset with parameters of type IDataSetModifierConstructorDescriptionCachedDataSet(IDataSet dataSet) Creates a copy of the specified dataset.CaseInsensitiveDataSet(IDataSet dataSet) Deprecated.CompositeDataSet(IDataSet dataSet) Creates a composite dataset that combines duplicate tables of the specified dataset.CompositeDataSet(IDataSet[] dataSets) Creates a composite dataset that combines specified datasets.CompositeDataSet(IDataSet[] dataSets, boolean combine) Creates a composite dataset that combines specified datasets.CompositeDataSet(IDataSet[] dataSets, boolean combine, boolean caseSensitiveTableNames) Creates a composite dataset that combines specified datasets.CompositeDataSet(IDataSet dataSet, boolean combine) Deprecated.This constructor is useless when the combine parameter isfalse.CompositeDataSet(IDataSet dataSet1, IDataSet dataSet2) Creates a composite dataset that combines the two specified datasets.CompositeDataSet(IDataSet dataSet1, IDataSet dataSet2, boolean combine) Creates a composite dataset that combines the two specified datasets.FilteredDataSet(String[] tableNames, IDataSet dataSet) Creates a FilteredDataSet that decorates the specified dataset and exposes only the specified tables usingSequenceTableFilteras filtering strategy.FilteredDataSet(ITableFilter filter, IDataSet dataSet) Creates a FilteredDataSet that decorates the specified dataset and exposes only the tables allowed by the specified filter.ForwardOnlyDataSet(IDataSet dataSet) LowerCaseDataSet(IDataSet dataSet) ReplacementDataSet(IDataSet dataSet) Create a new ReplacementDataSet object that decorates the specified dataset.ReplacementDataSet(IDataSet dataSet, Map objectMap, Map substringMap) Create a new ReplacementDataSet object that decorates the specified dataset.SortedDataSet(IDataSet dataSet) TableDecoratorDataSet(IDataSet dataSet, TableDecoratorDataSet.TableDecoratorFunction decoratorFunction) -
Uses of IDataSet in org.dbunit.dataset.csv
Classes in org.dbunit.dataset.csv that implement IDataSetModifier and TypeClassDescriptionclassThis class constructs an IDataSet given a directory containing CSV files.classThis class constructs an IDataSet given a base URL containing CSV files.Methods in org.dbunit.dataset.csv with parameters of type IDataSet -
Uses of IDataSet in org.dbunit.dataset.excel
Classes in org.dbunit.dataset.excel that implement IDataSetModifier and TypeClassDescriptionclassThis dataset implementation can read and write MS Excel documents.Methods in org.dbunit.dataset.excel with parameters of type IDataSetModifier and TypeMethodDescriptionstatic voidXlsDataSet.write(IDataSet dataSet, OutputStream out) Write the specified dataset to the specified Excel document.voidXlsDataSetWriter.write(IDataSet dataSet, OutputStream out) Write the specified dataset to the specified Excel document. -
Uses of IDataSet in org.dbunit.dataset.filter
Methods in org.dbunit.dataset.filter with parameters of type IDataSetModifier and TypeMethodDescriptionString[]AbstractTableFilter.getTableNames(IDataSet dataSet) String[]ITableFilter.getTableNames(IDataSet dataSet) Returns the table names allowed by this filter from the specified dataset.String[]SequenceTableFilter.getTableNames(IDataSet dataSet) Returns iterator of tables allowed by this filter from the specified dataset.Constructors in org.dbunit.dataset.filter with parameters of type IDataSet -
Uses of IDataSet in org.dbunit.dataset.sqlloader
Classes in org.dbunit.dataset.sqlloader that implement IDataSetModifier and TypeClassDescriptionclassThis class constructs anIDataSetgiven a directory containing control files. -
Uses of IDataSet in org.dbunit.dataset.stream
Classes in org.dbunit.dataset.stream that implement IDataSetModifier and TypeClassDescriptionclassDataset that consumes producer asynchronously.Constructors in org.dbunit.dataset.stream with parameters of type IDataSet -
Uses of IDataSet in org.dbunit.dataset.xml
Classes in org.dbunit.dataset.xml that implement IDataSetModifier and TypeClassDescriptionclassclassReads and writes flat XML dataset document.classReads and writes original XML dataset document.Methods in org.dbunit.dataset.xml with parameters of type IDataSetModifier and TypeMethodDescriptionFlatXmlDataSetBuilder.setMetaDataSet(IDataSet metaDataSet) Set the metadata information (column info etc.) to be used.static voidFlatDtdDataSet.write(IDataSet dataSet, OutputStream out) Write the specified dataset to the specified output stream as DTD.static voidWrite the specified dataset to the specified writer as DTD.voidstatic voidFlatXmlDataSet.write(IDataSet dataSet, OutputStream out) Write the specified dataset to the specified output stream as xml.static voidWrite the specified dataset to the specified writer as xml.static voidWrite the specified dataset to the specified writer as xml.voidWrites the givenIDataSetusing this writer.static voidXmlDataSet.write(IDataSet dataSet, OutputStream out) Write the specified dataset to the specified output stream as xml.static voidXmlDataSet.write(IDataSet dataSet, OutputStream out, Charset charset) Write the specified dataset to the specified output stream as xml (using specified encoding).static voidWrite the specified dataset to the specified writer as xml.static voidWrite the specified dataset to the specified writer as xml.voidWrites the givenIDataSetusing this writer.static voidFlatXmlDataSet.writeDtd(IDataSet dataSet, OutputStream out) Constructors in org.dbunit.dataset.xml with parameters of type IDataSetModifierConstructorDescriptionFlatXmlDataSet(InputStream xmlStream, IDataSet metaDataSet) Deprecated.since 2.4.7 - useFlatXmlDataSetBuilderto create aFlatXmlDataSetFlatXmlDataSet(Reader xmlReader, IDataSet metaDataSet) Deprecated.since 2.4.7 - useFlatXmlDataSetBuilderto create aFlatXmlDataSetFlatXmlProducer(InputSource xmlSource, IDataSet metaDataSet) -
Uses of IDataSet in org.dbunit.dataset.yaml
Classes in org.dbunit.dataset.yaml that implement IDataSetModifier and TypeClassDescriptionclassReads and writes flat YAML-based dataset documents.Methods in org.dbunit.dataset.yaml with parameters of type IDataSet -
Uses of IDataSet in org.dbunit.ext.mssql
Methods in org.dbunit.ext.mssql that return IDataSetModifier and TypeMethodDescriptionMsSqlConnection.createDataSet()MsSqlConnection.createDataSet(String[] tableNames) Methods in org.dbunit.ext.mssql with parameters of type IDataSetModifier and TypeMethodDescriptionvoidInsertIdentityOperation.execute(IDatabaseConnection connection, IDataSet dataSet) -
Uses of IDataSet in org.dbunit.operation
Methods in org.dbunit.operation with parameters of type IDataSetModifier and TypeMethodDescriptionvoidAbstractBatchOperation.execute(IDatabaseConnection connection, IDataSet dataSet) voidCloseConnectionOperation.execute(IDatabaseConnection connection, IDataSet dataSet) voidCompositeOperation.execute(IDatabaseConnection connection, IDataSet dataSet) abstract voidDatabaseOperation.execute(IDatabaseConnection connection, IDataSet dataSet) Executes this operation on the specified database using the specified dataset contents.voidDeleteAllOperation.execute(IDatabaseConnection connection, IDataSet dataSet) voidRefreshOperation.execute(IDatabaseConnection connection, IDataSet dataSet) voidTransactionOperation.execute(IDatabaseConnection connection, IDataSet dataSet) voidTruncateTableOperation.execute(IDatabaseConnection connection, IDataSet dataSet) protected ITableIteratorReturns list of tables this operation is applied to.protected ITableIterator -
Uses of IDataSet in org.dbunit.util.fileloader
Methods in org.dbunit.util.fileloader that return IDataSetModifier and TypeMethodDescriptionLoad the specified String filename from the classpath into a dbUnit dataset.Load the specified String filename from the classpath into a dbUnit dataset.CsvDataFileLoader.loadDataSet(URL url) Load the specified URL file into a dbUnit dataset.DataFileLoader.loadDataSet(URL url) Load the specified URL file into a dbUnit dataset.FlatXmlDataFileLoader.loadDataSet(URL url) Load the specified URL file into a dbUnit dataset.FullXmlDataFileLoader.loadDataSet(URL url) Load the specified URL file into a dbUnit dataset.XlsDataFileLoader.loadDataSet(URL url) Load the specified URL file into a dbUnit dataset.Methods in org.dbunit.util.fileloader with parameters of type IDataSetModifier and TypeMethodDescriptionprotected ReplacementDataSetAbstractDataFileLoader.processReplacementTokens(IDataSet ds) Add the replacements in the maps (objects and substrings) to the specified dataset.