Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBatchOperation - Class in org.dbunit.operation
-
Base implementation for database operation that are executed in batch.
- AbstractBatchOperation() - Constructor for class org.dbunit.operation.AbstractBatchOperation
-
Default constructor.
- AbstractBatchStatement - Class in org.dbunit.database.statement
-
Abstract base
IBatchStatementimplementation. - AbstractDatabaseConnection - Class in org.dbunit.database
-
Base implementation of
IDatabaseConnectionthat lazily creates and caches the connection's whole-databaseIDataSetand owns itsDatabaseConfig. - AbstractDatabaseConnection() - Constructor for class org.dbunit.database.AbstractDatabaseConnection
-
Creates a connection with a new, default
DatabaseConfig. - AbstractDatabaseTester - Class in org.dbunit
-
Basic implementation of IDatabaseTester.
Implementations of IDatabaseTester may use this class as a starting point. - AbstractDatabaseTester() - Constructor for class org.dbunit.AbstractDatabaseTester
-
Creates a tester with no schema.
- AbstractDatabaseTester(String) - Constructor for class org.dbunit.AbstractDatabaseTester
-
Creates a tester for the given schema.
- AbstractDataFileLoader - Class in org.dbunit.util.fileloader
-
Base class with common implementation for dbUnit data file loaders.
- AbstractDataFileLoader() - Constructor for class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Create new instance.
- AbstractDataFileLoader(Map) - Constructor for class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Create new instance with replacement objects.
- AbstractDataFileLoader(Map, Map) - Constructor for class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Create new instance with replacement objects and replacement substrings.
- AbstractDataSet - Class in org.dbunit.dataset
-
This abstract class provides the basic implementation of the IDataSet interface.
- AbstractDataSet() - Constructor for class org.dbunit.dataset.AbstractDataSet
-
Default constructor
- AbstractDataSet(boolean) - Constructor for class org.dbunit.dataset.AbstractDataSet
-
Constructor
- AbstractDataType - Class in org.dbunit.dataset.datatype
-
Abstract data type implementation that provides generic methods that are appropriate for most data type implementations.
- AbstractDataType(String, int, Class, boolean) - Constructor for class org.dbunit.dataset.datatype.AbstractDataType
-
Constructs a data type with the given SQL type mapping.
- AbstractExcludeNodesSearchCallback - Class in org.dbunit.util.search
-
Search callback that excludes a fixed set of denied nodes from traversal.
- AbstractExcludeNodesSearchCallback(Object[]) - Constructor for class org.dbunit.util.search.AbstractExcludeNodesSearchCallback
-
Creates a callback that excludes the given denied nodes.
- AbstractExcludeNodesSearchCallback(Set) - Constructor for class org.dbunit.util.search.AbstractExcludeNodesSearchCallback
-
Creates a callback that excludes the given denied nodes.
- AbstractIncludeNodesSearchCallback - Class in org.dbunit.util.search
-
Search callback that restricts traversal to a fixed set of allowed nodes.
- AbstractIncludeNodesSearchCallback(Object[]) - Constructor for class org.dbunit.util.search.AbstractIncludeNodesSearchCallback
-
Creates a callback that restricts traversal to the given allowed nodes.
- AbstractIncludeNodesSearchCallback(Set) - Constructor for class org.dbunit.util.search.AbstractIncludeNodesSearchCallback
-
Creates a callback that restricts traversal to the given allowed nodes.
- AbstractMetaDataBasedSearchCallback - Class in org.dbunit.database.search
-
Super-class for the ISearchCallback that implements the
getEdges()method using the database meta-data. - AbstractMetaDataBasedSearchCallback(IDatabaseConnection) - Constructor for class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Default constructor.
- AbstractNodesFilterSearchCallback - Class in org.dbunit.util.search
-
Super-class for ISearchCallback implementations that needs to filter which nodes should be included or excluded from the search.
This class implements thesearchNode()based on its internal mode, which could beALLOW_MODE,DENY_MODEorNO_MODE:NO_MODEis the default mode and meanssearchNode()always return trueALLOW_MODEis set whensetAllowedNodes()is called and it meanssearchNode()will return true only if the node is contained on the Set (or array) passed tosetAllowedNodes()DENY_MODEis set whensetDeniedNodes()is called and it meanssearchNode()will return true only if the node is not contained on the Set (or array) passed tosetDeniedNodes() - AbstractNodesFilterSearchCallback() - Constructor for class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Default constructor.
- AbstractOperation - Class in org.dbunit.operation
-
Abstract base
DatabaseOperationimplementation providing shared row-iteration and column-filtering behavior. - AbstractOperation() - Constructor for class org.dbunit.operation.AbstractOperation
- AbstractPipelineComponent - Class in org.dbunit.dataset.common.handlers
-
Abstract base
PipelineComponentimplementation shared by the CSV field-parsing handlers. - AbstractPipelineComponent() - Constructor for class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- AbstractPipelineComponent.ACCEPT - Class in org.dbunit.dataset.common.handlers
-
Helper that forwards the character to its handler's
AbstractPipelineComponent.accept(char)method. - AbstractPipelineComponent.IGNORE - Class in org.dbunit.dataset.common.handlers
-
Helper that silently discards the character it is given.
- AbstractPreparedBatchStatement - Class in org.dbunit.database.statement
-
Abstract base
IPreparedBatchStatementimplementation. - AbstractResultSetTable - Class in org.dbunit.database
- AbstractResultSetTable(String, String, IDatabaseConnection) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table from a table name, SQL statement, and connection.
- AbstractResultSetTable(String, String, IDatabaseConnection, boolean) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table from a table name, SQL statement, and connection.
- AbstractResultSetTable(String, String, IDatabaseConnection, boolean, int) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table from a table name, SQL, and connection using the given ResultSet type.
- AbstractResultSetTable(ITableMetaData, ResultSet) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table wrapping the given already-executed result set.
- AbstractResultSetTable(ITableMetaData, IDatabaseConnection) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table from a metadata descriptor and a connection, using a forward-only result set.
- AbstractResultSetTable(ITableMetaData, IDatabaseConnection, int) - Constructor for class org.dbunit.database.AbstractResultSetTable
-
Creates a table from a metadata descriptor and a connection using the given ResultSet type.
- AbstractRowComparator(ITable, Column[]) - Constructor for class org.dbunit.dataset.SortedTable.AbstractRowComparator
-
Constructs a comparator sorting rows of the given table by the given columns.
- AbstractStatementFactory - Class in org.dbunit.database.statement
-
Abstract base
IStatementFactoryimplementation. - AbstractStatementFactory() - Constructor for class org.dbunit.database.statement.AbstractStatementFactory
- AbstractStep - Class in org.dbunit.ant
-
Abstract base implementation of a
DbUnitTaskStepexecuted by the DbUnit Ant task. - AbstractStep() - Constructor for class org.dbunit.ant.AbstractStep
- AbstractTable - Class in org.dbunit.dataset
-
Abstract base implementation of
ITable, providing common column-lookup and value-formatting behavior for concrete table implementations. - AbstractTable() - Constructor for class org.dbunit.dataset.AbstractTable
- AbstractTableFilter - Class in org.dbunit.dataset.filter
-
This class provides a skeletal implementation of the
ITableFilterinterface to minimize the effort required to implement a filter. - AbstractTableFilter() - Constructor for class org.dbunit.dataset.filter.AbstractTableFilter
- AbstractTableMetaData - Class in org.dbunit.dataset
-
Abstract base implementation of
ITableMetaData. - AbstractTableMetaData() - Constructor for class org.dbunit.dataset.AbstractTableMetaData
-
Default constructor
- accept(char) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
-
Method invoked when the character should be accepted
- accept(char) - Method in interface org.dbunit.dataset.common.handlers.PipelineComponent
-
Accepts the given character as part of the current field value.
- accept(String) - Method in class org.dbunit.dataset.filter.AbstractTableFilter
- accept(String) - Method in interface org.dbunit.dataset.filter.ITableFilterSimple
-
Returns
trueif specified table is allowed by this filter. - accept(String) - Method in class org.dbunit.dataset.filter.SequenceTableFilter
- accept(String, Column) - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
- accept(String, Column) - Method in class org.dbunit.dataset.filter.GeneratedColumnFilter
- accept(String, Column) - Method in interface org.dbunit.dataset.filter.IColumnFilter
-
Tests whether or not the specified column of the specified tableName should be included by this filter.
- accept(ResultSet) - Method in interface org.dbunit.database.InMemoryMetadataResultSet.RowFilter
-
Tests the row the given result set is currently positioned on.
- accept(IRowValueProvider) - Method in interface org.dbunit.dataset.filter.IRowFilter
-
Checks if the current row should be accepted or not
- ACCEPT() - Constructor for class org.dbunit.dataset.common.handlers.AbstractPipelineComponent.ACCEPT
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.AllHandler
-
Creates a handler that accepts every character it is given.
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.EscapeHandler
-
Creates a handler that accepts the escape character.
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.IsAlnumHandler
-
Creates a handler that accepts alphanumeric characters.
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.QuoteHandler
-
Creates a handler that accepts the quote character.
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.SeparatorHandler
-
Creates a handler that accepts the separator character.
- ACCEPT() - Static method in class org.dbunit.dataset.common.handlers.WhitespacesHandler
-
Creates a handler that accepts whitespace characters.
- acquire() - Method in class org.dbunit.util.concurrent.Semaphore
-
Wait until a permit is available, and take one
- acquire() - Method in interface org.dbunit.util.concurrent.Sync
-
Wait (possibly forever) until successful passage.
- add(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Add amount to value (i.e., set value += amount)
- add(String, Object) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Adds a single allowed primary key for the given table.
- add(String, Object) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Adds the given table name to the map of table names, associating it with the given object.
- add(String, String, ValueComparer) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Add a table to column to
ValueComparermapping. - add(String, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Add all mappings from the specified column map to a column map for the specified table in this builder.
- add(String, ColumnValueComparerMapBuilder) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Add all mappings from the specified
ColumnValueComparerMapBuilderbuilder to a column map for the specified table in this builder. - add(String, ValueComparer) - Method in class org.dbunit.assertion.comparer.value.builder.ColumnValueComparerMapBuilder
-
Add a columnName to
ValueComparermapping. - add(Map<String, Map<String, ValueComparer>>) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Add all mappings from the specified table map to this builder.
- add(TableColumnValueComparerMapBuilder) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Add all mappings from the specified
TableColumnValueComparerMapBuilderbuilder to this builder. - addAll(String, Set) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Adds the given allowed primary keys for the given table.
- addBatch() - Method in class org.dbunit.database.statement.AutomaticPreparedBatchStatement
- addBatch() - Method in class org.dbunit.database.statement.BatchStatementDecorator
- addBatch() - Method in interface org.dbunit.database.statement.IPreparedBatchStatement
-
Adds the currently bound parameters as a new row to the batch.
- addBatch() - Method in class org.dbunit.database.statement.PreparedBatchStatement
- addBatch() - Method in class org.dbunit.database.statement.SimplePreparedStatement
- addBatch(String) - Method in class org.dbunit.database.statement.BatchStatement
- addBatch(String) - Method in class org.dbunit.database.statement.CompoundStatement
- addBatch(String) - Method in interface org.dbunit.database.statement.IBatchStatement
-
Adds a SQL statement to the current batch.
- addBatch(String) - Method in class org.dbunit.database.statement.SimpleStatement
- addCompare(Compare) - Method in class org.dbunit.ant.DbUnitTask
-
Adds a Compare to the steps List.
- addConfiguredFileset(FileSet) - Method in class org.dbunit.ant.Operation
-
Adds the files matched by the given Ant fileset to the operation's dataset sources.
- addDbConfig(DbConfig) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the generic
DatabaseConfigconfiguration child element. - addExport(Export) - Method in class org.dbunit.ant.DbUnitTask
-
Adds an Export to the steps List.
- addFailMessage(Difference, StringBuilder) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Appends the difference's fail message, if any, to the given builder.
- addFeature(DbConfig.Feature) - Method in class org.dbunit.ant.DbConfig
-
Adds a feature flag to be copied into the
DatabaseConfigbyDbConfig.copyTo(DatabaseConfig). - addFilterSet(FilterSet) - Method in class org.dbunit.ant.QuerySet
-
Adds a filterset whose tokens are substituted into this queryset's query SQL.
- addOperation(Operation) - Method in class org.dbunit.ant.DbUnitTask
-
Adds an Operation.
- addProperty(Property) - Method in class org.dbunit.ant.DbConfig
-
Adds a property to be copied into the
DatabaseConfigbyDbConfig.copyTo(DatabaseConfig). - addPropertyChangeListener(PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Add a VetoableChangeListener to the listener list.
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Add a PropertyChangeListener for a specific property.
- addPropertyChangeListenerIfAbsent(PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Add a PropertyChangeListener to the listener list if it is not already present.
- addPropertyChangeListenerIfAbsent(String, PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Add a PropertyChangeListener for a specific property, if it is not already registered.
- addQuery(Query) - Method in class org.dbunit.ant.Compare
-
Adds a query to compare.
- addQuery(Query) - Method in class org.dbunit.ant.Export
-
Adds a query to export.
- addQuery(Query) - Method in class org.dbunit.ant.QuerySet
-
Adds a query to this queryset.
- addQuerySet(QuerySet) - Method in class org.dbunit.ant.Export
-
Adds a query set to export.
- addReplacementObject(Object, Object) - Method in class org.dbunit.dataset.ReplacementDataSet
-
Add a new Object replacement mapping.
- addReplacementObject(Object, Object) - Method in class org.dbunit.dataset.ReplacementTable
-
Add a new Object replacement mapping.
- addReplacementObjects(Map) - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Add the specified replacement objects to existing ones for use with
ReplacementDataSet. - addReplacementObjects(Map) - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Add the specified replacement objects to existing ones for use with
ReplacementDataSet. - addReplacementSubstring(String, String) - Method in class org.dbunit.dataset.ReplacementDataSet
-
Add a new substring replacement mapping.
- addReplacementSubstring(String, String) - Method in class org.dbunit.dataset.ReplacementTable
-
Add a new substring replacement mapping.
- addReplacementSubstrings(Map) - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Add the specified replacement substrings to existing ones for use with
ReplacementDataSet. - addReplacementSubstrings(Map) - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Add the specified replacement substrings to existing ones for use with
ReplacementDataSet. - addRow() - Method in class org.dbunit.dataset.DefaultTable
-
Inserts a new empty row.
- addRow(Object[]) - Method in class org.dbunit.dataset.DefaultTable
-
Inserts a new row initialized with specified array of values.
- addTable(String) - Method in class org.dbunit.database.QueryDataSet
-
Adds a table with using 'SELECT * FROM
tableName' as query. - addTable(String, String) - Method in class org.dbunit.database.QueryDataSet
-
Adds a table and it's associated query to this dataset.
- addTable(Table) - Method in class org.dbunit.ant.Compare
-
Adds a table to compare.
- addTable(Table) - Method in class org.dbunit.ant.Export
-
Adds a table to export.
- addTable(ITable) - Method in class org.dbunit.dataset.DefaultDataSet
-
Add a new table in this dataset.
- addTableRows(ITable) - Method in class org.dbunit.dataset.DefaultTable
-
Inserts all rows from the specified table.
- addToleratedDelta(ToleratedDeltaMap.ToleratedDelta) - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
-
Adds a tolerated delta to this data type factory to be used for numeric comparisons
- addToleratedDelta(ToleratedDeltaMap.ToleratedDelta) - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap
-
Adds a new object to the map of tolerated deltas
- addValue(Object, DataType) - Method in class org.dbunit.database.statement.AutomaticPreparedBatchStatement
- addValue(Object, DataType) - Method in class org.dbunit.database.statement.BatchStatementDecorator
- addValue(Object, DataType) - Method in interface org.dbunit.database.statement.IPreparedBatchStatement
-
Binds the given value, cast using the given data type, to the next parameter of the statement.
- addValue(Object, DataType) - Method in class org.dbunit.database.statement.PreparedBatchStatement
- addValue(Object, DataType) - Method in class org.dbunit.database.statement.SimplePreparedStatement
- afterTestExecution(ExtensionContext) - Method in class org.dbunit.junit.jupiter.DbUnitExtension
-
Runs database teardown after the test method executes.
- ALL_FEATURES - Static variable in class org.dbunit.database.DatabaseConfig
-
Deprecated.
- ALL_PROPERTIES - Static variable in class org.dbunit.database.DatabaseConfig
-
A list of all properties as
DatabaseConfig.ConfigPropertyobjects. - AllHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches any character, used as the basis for catch-all accept/ignore handlers. - ALLOW_MODE - Static variable in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Only nodes set via
AbstractNodesFilterSearchCallback.setAllowedNodes(Set)are allowed. - allowForNoMoreInput() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- allowForNoMoreInput() - Method in interface org.dbunit.dataset.common.handlers.Handler
-
Determines whether this handler allows input to end at this point.
- allowForNoMoreInput() - Method in class org.dbunit.dataset.common.handlers.Helper
-
Returns whether this helper allows input to end while it is active.
- allowForNoMoreInput() - Method in class org.dbunit.dataset.common.handlers.Pipeline
- allowForNoMoreInput() - Method in class org.dbunit.dataset.common.handlers.QuoteHandler.UNQUOTE
- allowTake() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Notify a waiting take if needed
- AmbiguousTableNameException - Exception Class in org.dbunit.database
-
This exception is thrown by
IDataSetwhen multiple tables having the same name are accessible. - AmbiguousTableNameException() - Constructor for exception class org.dbunit.database.AmbiguousTableNameException
-
Constructs an
AmbiguousTableNameExceptionwith no detail message and no encapsulated exception. - AmbiguousTableNameException(String) - Constructor for exception class org.dbunit.database.AmbiguousTableNameException
-
Constructs an
AmbiguousTableNameExceptionwith the specified detail message and no encapsulated exception. - AmbiguousTableNameException(String, Throwable) - Constructor for exception class org.dbunit.database.AmbiguousTableNameException
-
Constructs an
AmbiguousTableNameExceptionwith the specified detail message and encapsulated exception. - AmbiguousTableNameException(Throwable) - Constructor for exception class org.dbunit.database.AmbiguousTableNameException
-
Constructs an
AmbiguousTableNameExceptionwith the encapsulated exception and use string representation as detail message. - and(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set value to value & b.
- ANY - Static variable in class org.dbunit.dataset.xml.FlatDtdProducer
-
Constant for the value "ANY"
- apply(ITable) - Method in interface org.dbunit.dataset.TableDecoratorDataSet.TableDecoratorFunction
-
Applies this function to the given table.
- applyColumnFilters(ITable, String[], String[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Apply the specified exclude and include column filters to the specified table.
- areEqualIgnoreNull(String, String, boolean) - Static method in class org.dbunit.util.SQLHelper
-
Compares the given values and returns true if they are equal.
- areObjectsEqual(Object, Object) - Method in class org.dbunit.dataset.datatype.AbstractDataType
-
Checks whether the given objects are equal or not.
- array_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
The elements.
- arrayToString(String[]) - Method in class org.dbunit.VerifyTableDefinition
-
Returns a null-safe string representation of the given array.
- ArrayType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between PostgreSQL array columns (
Types.ARRAY, e.g. - ArrayType(String) - Constructor for class org.dbunit.ext.postgresql.ArrayType
-
Creates a data type adapter for the given PostgreSQL array sql type name.
- ASSEMBLE() - Constructor for class org.dbunit.dataset.common.handlers.UnquotedFieldAssembler.ASSEMBLE
- assertEquals(IDataSet, IDataSet) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified datasets are equal.
- assertEquals(IDataSet, IDataSet) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts that the two specified dataset are equals.
- assertEquals(IDataSet, IDataSet) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.Use Assertion.assertEquals
- assertEquals(IDataSet, IDataSet, FailureHandler) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified datasets are equal.
- assertEquals(IDataSet, IDataSet, FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts that the two specified dataset are equals.
- assertEquals(ITable, ITable) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal.
- assertEquals(ITable, ITable) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts that the two specified tables are equals.
- assertEquals(ITable, ITable) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.Use Assertion.assertEquals
- assertEquals(ITable, ITable, FailureHandler) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal.
- assertEquals(ITable, ITable, FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts that the two specified tables are equals.
- assertEquals(ITable, ITable, Column[]) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal.
- assertEquals(ITable, ITable, Column[]) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts that the two specified tables are equals.
- assertEqualsByQuery(IDataSet, IDatabaseConnection, String, String, String[]) - Static method in class org.dbunit.Assertion
-
Asserts that the specified dataset table matches the given query's result, ignoring the given columns.
- assertEqualsByQuery(IDataSet, IDatabaseConnection, String, String, String[]) - Method in class org.dbunit.assertion.DbUnitAssert
-
Compare a table from a dataset with a table generated from an sql query.
- assertEqualsByQuery(ITable, IDatabaseConnection, String, String, String[]) - Static method in class org.dbunit.Assertion
-
Asserts that the specified table matches the given query's result, ignoring the given columns.
- assertEqualsByQuery(ITable, IDatabaseConnection, String, String, String[]) - Method in class org.dbunit.assertion.DbUnitAssert
-
Compare a table with a table generated from an sql query.
- assertEqualsIgnoreCols(IDataSet, IDataSet, String, String[]) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified datasets' tables are equal, ignoring the given columns.
- assertEqualsIgnoreCols(IDataSet, IDataSet, String, String[]) - Method in class org.dbunit.assertion.DbUnitAssert
-
Compare one table present in two datasets ignoring specified columns.
- assertEqualsIgnoreCols(ITable, ITable, String[]) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal, ignoring the given columns.
- assertEqualsIgnoreCols(ITable, ITable, String[]) - Method in class org.dbunit.assertion.DbUnitAssert
-
Compare the given tables ignoring specified columns.
- Assertion - Class in org.dbunit
-
Provides static methods for the most common DbUnit assertion needs.
- assertNotNull(Object) - Method in class org.dbunit.assertion.SimpleAssert
-
Evaluate that the given object is not
null. - assertNotNull(String, Object) - Method in class org.dbunit.assertion.SimpleAssert
-
Evaluate that the given object is not
null. - assertNotNullNorEmpty(String, String) - Method in class org.dbunit.assertion.SimpleAssert
-
Asserts that propertyName is not a null String and has a length greater than zero.
- assertTrue(boolean) - Method in class org.dbunit.assertion.SimpleAssert
-
Evaluate if the given condition is
trueor not. - assertTrue(String, boolean) - Method in class org.dbunit.assertion.SimpleAssert
-
Evaluate if the given condition is
trueor not. - assertValidColumn(String) - Method in class org.dbunit.dataset.AbstractTable
-
Validates that the given column name exists in this table.
- assertValidRowIndex(int) - Method in class org.dbunit.dataset.AbstractTable
-
Validates that the given row index is within the bounds of this table.
- assertValidRowIndex(int, int) - Method in class org.dbunit.dataset.AbstractTable
-
Validates that the given row index is within the given row count.
- assertWithValueComparer(IDataSet, IDataSet) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
IDataSets comparing their columns using the defaultValueComparerand handles failures using the defaultFailureHandler. - assertWithValueComparer(IDataSet, IDataSet, ValueComparer) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
IDataSets comparing their columns using the specified defaultValueComparer and handles failures using the defaultFailureHandler. - assertWithValueComparer(IDataSet, IDataSet, ValueComparer, Map<String, Map<String, ValueComparer>>) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified datasets are equal, using the given value comparers.
- assertWithValueComparer(IDataSet, IDataSet, ValueComparer, Map<String, Map<String, ValueComparer>>) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
IDataSets comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler. - assertWithValueComparer(IDataSet, IDataSet, FailureHandler, ValueComparer, Map<String, Map<String, ValueComparer>>) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified datasets are equal, using the given value comparers.
- assertWithValueComparer(IDataSet, IDataSet, FailureHandler, ValueComparer, Map<String, Map<String, ValueComparer>>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Asserts the two specified
IDataSets comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the specified failureHandler. - assertWithValueComparer(ITable, ITable) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
ITables comparing their columns using the defaultValueComparerand handles failures using the defaultFailureHandler. - assertWithValueComparer(ITable, ITable, ValueComparer) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
ITables comparing their columns using the specified defaultValueComparer and handles failures using the defaultFailureHandler. - assertWithValueComparer(ITable, ITable, ValueComparer, Map<String, ValueComparer>) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal, using the given value comparers.
- assertWithValueComparer(ITable, ITable, ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
ITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler. - assertWithValueComparer(ITable, ITable, FailureHandler, ValueComparer, Map<String, ValueComparer>) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal, using the given value comparers.
- assertWithValueComparer(ITable, ITable, FailureHandler, ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Asserts the two specified
ITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the specified failureHandler. - assertWithValueComparer(ITable, ITable, Column[], ValueComparer, Map<String, ValueComparer>) - Static method in class org.dbunit.Assertion
-
Asserts that the two specified tables are equal, using the given value comparers.
- assertWithValueComparer(ITable, ITable, Column[], ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.DbUnitValueComparerAssert
-
Asserts the two specified
ITables comparing their columns using the specified columnValueComparers or defaultValueComparer and handles failures using the defaultFailureHandler, using additionalColumnInfo, if specified. - asString(Object) - Static method in class org.dbunit.dataset.datatype.DataType
-
Typecast the specified value to string.
- attempt(long) - Method in class org.dbunit.util.concurrent.Semaphore
-
Wait at most msecs millisconds for a permit.
- attempt(long) - Method in interface org.dbunit.util.concurrent.Sync
-
Wait at most msecs to pass; report whether passed.
- attributeDecl(String, String, String, String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- autoIncrementValue(String) - Static method in class org.dbunit.dataset.Column.AutoIncrement
-
Searches the enumeration type for the given String provided by the JDBC driver.
- AutomaticPreparedBatchStatement - Class in org.dbunit.database.statement
-
Decorator around an
IPreparedBatchStatementthat automatically executes the accumulated batch once a configured row-count threshold is reached. - AutomaticPreparedBatchStatement(IPreparedBatchStatement, int) - Constructor for class org.dbunit.database.statement.AutomaticPreparedBatchStatement
-
Creates a statement that automatically executes the batch once the given threshold is reached.
B
- BASE_FAIL_MSG - Static variable in class org.dbunit.assertion.comparer.value.ValueComparerBase
-
Format String for consistent fail message; substitution strings are: actual, fail phrase, expected.
- Base64 - Class in org.dbunit.util
-
I am placing this code in the Public Domain.
- Base64.InputStream - Class in org.dbunit.util
-
A
Base64.InputStreamwill read data from anotherInputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. - Base64.OutputStream - Class in org.dbunit.util
-
A
Base64.OutputStreamwill write data to anotherOutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. - BatchStatement - Class in org.dbunit.database.statement
-
IBatchStatementthat accumulates plain SQL statements using the JDBCaddBatch()/executeBatch()mechanism. - BatchStatementDecorator - Class in org.dbunit.database.statement
-
Decorator that adapts a plain
IBatchStatementto theIPreparedBatchStatementinterface by substituting bound values directly into the SQL text instead of using JDBC bind parameters. - beforeTestExecution(ExtensionContext) - Method in class org.dbunit.junit.jupiter.DbUnitExtension
-
Runs database setup before the test method executes.
- BIGINT - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL BIGINT type.
- BIGINT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
BIGINTtype. - BIGINT_AUX_LONG - Static variable in class org.dbunit.dataset.datatype.DataType
-
Auxiliary for the BIGINT type using a long.
- BigIntegerDataType - Class in org.dbunit.dataset.datatype
-
Inserts and reads
BigIntegervalues into/from a database. - BigIntegerDataType() - Constructor for class org.dbunit.dataset.datatype.BigIntegerDataType
-
Default constructor.
- BINARY - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL BINARY type.
- BinaryStreamDataType - Class in org.dbunit.dataset.datatype
-
BytesDataTypespecialization that reads binary SQL column values as a stream. - BinaryStreamDataType(String, int) - Constructor for class org.dbunit.dataset.datatype.BinaryStreamDataType
-
Constructs a data type with the given SQL type mapping.
- BIT - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL BIT type.
- BitDataType - Class in org.dbunit.dataset.datatype
-
BooleanDataTypespecialization mapping the SQL BIT type. - BLOB - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL BLOB type.
- BLOB - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
BLOBtype. - BLOB_AS_STREAM - Static variable in class org.dbunit.ext.oracle.Oracle10DataTypeFactory
-
Data type used for BLOB columns, handled as a binary stream.
- BlobDataType - Class in org.dbunit.dataset.datatype
-
BytesDataTypespecialization mapping the SQL BLOB type to abyte[]. - BlobDataType() - Constructor for class org.dbunit.dataset.datatype.BlobDataType
-
Default constructor.
- BlobDataType(String, int) - Constructor for class org.dbunit.dataset.datatype.BlobDataType
-
Constructs a data type with the given SQL type mapping.
- BOOLEAN - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL BOOLEAN type.
- BOOLEAN - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
BOOLEANtype. - BooleanDataType - Class in org.dbunit.dataset.datatype
- BoundedBuffer - Class in org.dbunit.util.concurrent
-
Efficient array-based bounded buffer class.
- BoundedBuffer() - Constructor for class org.dbunit.util.concurrent.BoundedBuffer
-
Create a buffer with the current default capacity
- BoundedBuffer(int) - Constructor for class org.dbunit.util.concurrent.BoundedBuffer
-
Create a BoundedBuffer with the given capacity.
- BoundedChannel - Interface in org.dbunit.util.concurrent
-
A channel that is known to have a capacity, signifying that
putoperations may block when the capacity is reached. - BoundedLinkedQueue - Class in org.dbunit.util.concurrent
-
A bounded variant of LinkedQueue class.
- BoundedLinkedQueue() - Constructor for class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Create a queue with the current default capacity
- BoundedLinkedQueue(int) - Constructor for class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Create a queue with the given capacity
- BufferedConsumer - Class in org.dbunit.dataset.stream
-
Implementation of
IDataSetConsumerwhich buffers all data until theBufferedConsumer.endDataSet()event occurs. - BufferedConsumer(IDataSetConsumer) - Constructor for class org.dbunit.dataset.stream.BufferedConsumer
-
Creates a consumer that buffers all data until
BufferedConsumer.endDataSet(), then flushes it to the given wrapped consumer. - build() - Method in class org.dbunit.assertion.comparer.value.builder.ColumnValueComparerMapBuilder
-
Builds the map of column name to
ValueComparer. - build() - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Assembles and returns the built map.
- build() - Method in class org.dbunit.dataset.DataSetBuilder
-
Builds and returns an
IDataSetcontaining all configured tables. - build() - Method in class org.dbunit.dataset.DataSetBuilder.TableBuilder
-
Builds and returns an
IDataSetcontaining all configured tables. - build(File) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Sets the flat XML input source from which the
FlatXmlDataSetis to be built - build(InputStream) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Sets the flat XML input source from which the
FlatXmlDataSetis to be built - build(Reader) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Sets the flat XML input source from which the
FlatXmlDataSetis to be built - build(URL) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Sets the flat XML input source from which the
FlatXmlDataSetis to be built - build(InputSource) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Sets the flat XML input source from which the
FlatXmlDataSetis to be built - buildException(SAXException) - Static method in class org.dbunit.dataset.xml.XmlProducer
-
Wraps a
SAXExceptioninto aDataSetException - buildMessage(String, String, String) - Static method in exception class org.dbunit.assertion.DbComparisonFailure
-
Creates a formatted message string from the given parameters
- buildMessage(Difference) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Builds the failure message for the given difference.
- BYTEINT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
BYTEINTtype. - BytesDataType - Class in org.dbunit.dataset.datatype
-
DataTypemapping a binary SQL column type to a Javabyte[]. - BytesDataType(String, int) - Constructor for class org.dbunit.dataset.datatype.BytesDataType
-
Constructs a data type with the given SQL type mapping.
C
- CachedDataSet - Class in org.dbunit.dataset
-
Hold copy of another dataset or a consumed provider content.
- CachedDataSet() - Constructor for class org.dbunit.dataset.CachedDataSet
-
Default constructor.
- CachedDataSet(IDataSet) - Constructor for class org.dbunit.dataset.CachedDataSet
-
Creates a copy of the specified dataset.
- CachedDataSet(IDataSetProducer) - Constructor for class org.dbunit.dataset.CachedDataSet
-
Creates a CachedDataSet that synchronously consume the specified producer.
- CachedDataSet(IDataSetProducer, boolean) - Constructor for class org.dbunit.dataset.CachedDataSet
-
Creates a CachedDataSet that synchronously consume the specified producer.
- CachedResultSetTable - Class in org.dbunit.database
-
IResultSetTablethat eagerly loads and caches an entireResultSetin memory. - CachedResultSetTable(IResultSetTable) - Constructor for class org.dbunit.database.CachedResultSetTable
-
Creates a table that eagerly loads and caches all rows of the given table, then closes it.
- CachedResultSetTable(ITableMetaData, ResultSet) - Constructor for class org.dbunit.database.CachedResultSetTable
-
Deprecated.since 2.3.0 prefer direct usage of
ForwardOnlyResultSetTable(ITableMetaData, ResultSet)and then invokeCachedResultSetTable(IResultSetTable) - CachedResultSetTable(ITableMetaData, IDatabaseConnection) - Constructor for class org.dbunit.database.CachedResultSetTable
-
Deprecated.since 2.4.4 prefer direct usage of
ForwardOnlyResultSetTable(ITableMetaData, IDatabaseConnection)and then invokeCachedResultSetTable(IResultSetTable) - CachedResultSetTableFactory - Class in org.dbunit.database
-
IResultSetTableFactorythat creates fully cached, disconnectedIResultSetTableinstances. - CachedResultSetTableFactory() - Constructor for class org.dbunit.database.CachedResultSetTableFactory
- CachedTable - Class in org.dbunit.dataset
-
ITableimplementation that fully loads and caches another table's rows and metadata in memory. - CachedTable(ITable) - Constructor for class org.dbunit.dataset.CachedTable
-
Creates a table that eagerly loads and caches all rows of the given table.
- CachedTable(ITableMetaData) - Constructor for class org.dbunit.dataset.CachedTable
-
Creates an empty cached table with the given metadata.
- CachingConnectionProvider - Class in org.dbunit.database
-
Caches a single
IDatabaseConnectionso that it - and the table metadata it accumulates - can be reused across many test methods instead of being rebuilt on every call. - CachingConnectionProvider() - Constructor for class org.dbunit.database.CachingConnectionProvider
-
Creates a provider that validates the cached connection with the
default validation timeout. - CachingConnectionProvider(int) - Constructor for class org.dbunit.database.CachingConnectionProvider
-
Creates a provider that validates the cached connection with the given timeout.
- calcTimeDifference(long, long) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Returns the absolute time difference between the given times.
- CANCELLED - Static variable in class org.dbunit.util.concurrent.SynchronousChannel
-
Special marker used in queue nodes to indicate that the thread waiting for a change in the node has timed out or been interrupted.
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.AllHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.EnforceHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.EscapeHandler
- canHandle(char) - Method in interface org.dbunit.dataset.common.handlers.Handler
-
Determines whether this handler can handle the given character.
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.IsAlnumHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.NoHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.Pipeline
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.QuoteHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.SeparatorHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.TransparentHandler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.UnquotedFieldAssembler
- canHandle(char) - Method in class org.dbunit.dataset.common.handlers.WhitespacesHandler
- capacity() - Method in class org.dbunit.util.concurrent.BoundedBuffer
- capacity() - Method in interface org.dbunit.util.concurrent.BoundedChannel
-
Return the maximum number of elements that can be held.
- capacity() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Return the current capacity of this queue
- capacity() - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
- capacity() - Method in class org.dbunit.util.concurrent.SynchronousChannel
- capacity_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Number of elements allowed
- capacity_ - Variable in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
The channel's fixed capacity.
- CaseInsensitiveDataSet - Class in org.dbunit.dataset
-
Deprecated.All IDataSet implementations are case insensitive since DbUnit 1.5 - may change again since tablenames on RDBMSes can be case sensitive
- CaseInsensitiveDataSet(IDataSet) - Constructor for class org.dbunit.dataset.CaseInsensitiveDataSet
-
Deprecated.Creates a case-insensitive view of the given dataset.
- CaseInsensitiveTable - Class in org.dbunit.dataset
-
Deprecated.All IDataSet implementations are case insensitive since DbUnit 1.5
- CaseInsensitiveTable(ITable) - Constructor for class org.dbunit.dataset.CaseInsensitiveTable
-
Deprecated.Creates a case-insensitive view of the given table.
- CDATA_END - Static variable in class org.dbunit.util.xml.XmlWriter
-
CDATA end tag: "]]>"
- CDATA_START - Static variable in class org.dbunit.util.xml.XmlWriter
-
CDATA start tag: "<![CDATA["
- Channel - Interface in org.dbunit.util.concurrent
-
Main interface for buffers, queues, pipes, conduits, etc.
- CHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL CHAR type.
- CHAR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
CHARtype. - characters(char[], int, int) - Method in class org.dbunit.dataset.xml.XmlProducer
- checkDataFormat(String) - Method in class org.dbunit.ant.AbstractStep
-
Checks if the given data format is a valid one according to the method
AbstractStep.isDataFormat(String). - checkObjectAllowed(String, Object) - Method in class org.dbunit.database.DatabaseConfig
-
Checks whether the given value has the correct java type for the given property.
- children - Variable in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
HashMap for managing listeners for specific properties.
- CHOICE - Static variable in class org.dbunit.dataset.xml.FlatDtdWriter
-
Content model rendering child elements as a choice, e.g.
- CitextType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between Postgresql native CITEXT type and Strings.
- CitextType() - Constructor for class org.dbunit.ext.postgresql.CitextType
-
Default constructor.
- CLEAN_INSERT - Static variable in class org.dbunit.ext.mssql.InsertIdentityOperation
- CLEAN_INSERT - Static variable in class org.dbunit.operation.DatabaseOperation
-
Deletes all rows of the dataset's tables, then inserts the dataset's rows.
- cleanupData() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Cleanup tables specified in prep and expected datasets, using the provided databaseTester.
- cleanupData() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Cleanup tables specified in prep and expected datasets, using the provided databaseTester.
- cleanupTableName(String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
-
Strips DTD content-model syntax (parentheses, occurrence indicators) from the given table name, as parsed from an ELEMENT declaration.
- clearBatch() - Method in class org.dbunit.database.statement.AutomaticPreparedBatchStatement
- clearBatch() - Method in class org.dbunit.database.statement.BatchStatement
- clearBatch() - Method in class org.dbunit.database.statement.BatchStatementDecorator
- clearBatch() - Method in class org.dbunit.database.statement.CompoundStatement
- clearBatch() - Method in interface org.dbunit.database.statement.IBatchStatement
-
Discards the accumulated batch of SQL statements without executing them.
- clearBatch() - Method in interface org.dbunit.database.statement.IPreparedBatchStatement
-
Clears all batched rows.
- clearBatch() - Method in class org.dbunit.database.statement.PreparedBatchStatement
- clearBatch() - Method in class org.dbunit.database.statement.SimplePreparedStatement
- clearBatch() - Method in class org.dbunit.database.statement.SimpleStatement
- CLOB - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL CLOB type.
- CLOB_AS_STRING - Static variable in class org.dbunit.ext.oracle.Oracle10DataTypeFactory
-
Data type used for CLOB columns, handled as a character stream.
- ClobDataType - Class in org.dbunit.dataset.datatype
-
StringDataTypethat maps the SQL CLOB type, reading its character content as aString. - ClobDataType() - Constructor for class org.dbunit.dataset.datatype.ClobDataType
-
Default constructor.
- close() - Method in class org.dbunit.database.AbstractResultSetTable
- close() - Method in class org.dbunit.database.CachedResultSetTable
- close() - Method in class org.dbunit.database.CachingConnectionProvider
-
Closes and discards the cached connection, if any.
- close() - Method in class org.dbunit.database.DatabaseConnection
- close() - Method in class org.dbunit.database.DatabaseDataSourceConnection
- close() - Method in interface org.dbunit.database.IDatabaseConnection
-
Close this connection.
- close() - Method in interface org.dbunit.database.IResultSetTable
-
Closes the underlying result set and releases its resources.
- close() - Method in class org.dbunit.database.statement.AbstractBatchStatement
- close() - Method in class org.dbunit.database.statement.AbstractPreparedBatchStatement
- close() - Method in class org.dbunit.database.statement.AutomaticPreparedBatchStatement
- close() - Method in class org.dbunit.database.statement.BatchStatementDecorator
- close() - Method in interface org.dbunit.database.statement.IBatchStatement
-
Closes the underlying JDBC statement.
- close() - Method in interface org.dbunit.database.statement.IPreparedBatchStatement
-
Closes this statement.
- close() - Method in class org.dbunit.util.Base64.OutputStream
-
Flushes and closes stream.
- close() - Method in class org.dbunit.util.xml.XmlWriter
-
Close this writer.
- close(ResultSet) - Static method in class org.dbunit.util.SQLHelper
-
Closes the given result set in a null-safe way
- close(ResultSet, Statement) - Static method in class org.dbunit.util.SQLHelper
-
Close a result set and a prepared statement, checking for null references.
- close(Statement) - Static method in class org.dbunit.util.SQLHelper
-
Close a SQL statement, checking for null references.
- CLOSE_CONNECTION(DatabaseOperation) - Static method in class org.dbunit.operation.DatabaseOperation
-
Wraps the given operation so it closes the connection after executing.
- closeConnection(IDatabaseConnection) - Method in class org.dbunit.AbstractDatabaseTester
- closeConnection(IDatabaseConnection) - Method in class org.dbunit.DatabaseTestCase
-
Deprecated.since 2.4.4 define a user defined
DatabaseTestCase.getOperationListener()in advance - closeConnection(IDatabaseConnection) - Method in interface org.dbunit.IDatabaseTester
-
Deprecated.since 2.4.4 define a user defined
IDatabaseTester.setOperationListener(IOperationListener)in advance - CloseConnectionOperation - Class in org.dbunit.operation
-
Decorates an operation and close the database connection after executing it.
- CloseConnectionOperation(DatabaseOperation) - Constructor for class org.dbunit.operation.CloseConnectionOperation
-
Creates a CloseConnectionOperation object that decorates the specified operation.
- CollectionsHelper - Class in org.dbunit.util
-
Helper for collections-related methods.
- Column - Class in org.dbunit.dataset
-
Represents a table column.
- Column(String, DataType) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column(String, DataType, String, Column.Nullable) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column(String, DataType, String, Column.Nullable, String) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column(String, DataType, String, Column.Nullable, String, String, Column.AutoIncrement) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column(String, DataType, String, Column.Nullable, String, String, Column.AutoIncrement, Boolean) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column(String, DataType, Column.Nullable) - Constructor for class org.dbunit.dataset.Column
-
Creates a Column object.
- Column.AutoIncrement - Class in org.dbunit.dataset
-
Enumeration for valid auto-increment values provided by JDBC driver implementations.
- Column.Nullable - Class in org.dbunit.dataset
-
Specifies nullable usage.
- ColumnDiff(ITableMetaData, ITableMetaData) - Constructor for class org.dbunit.dataset.Columns.ColumnDiff
-
Creates the difference between the two metadata's columns
- ColumnFilterTable - Class in org.dbunit.dataset
-
A table that filters some columns out from the original table.
- ColumnFilterTable(ITable, IColumnFilter) - Constructor for class org.dbunit.dataset.ColumnFilterTable
-
Creates a table that filters some columns out from the given table.
- columns(String...) - Method in class org.dbunit.dataset.DataSetBuilder.TableBuilder
-
Sets the column names for this table.
- Columns - Class in org.dbunit.dataset
-
This class exclusively provides static methods that operate on
Columnobjects. - Columns.ColumnDiff - Class in org.dbunit.dataset
-
Describes the
Columns that are different in two tables. - ColumnValueComparerMapBuilder - Class in org.dbunit.assertion.comparer.value.builder
-
Convenience methods to help build the map of column name ->
ValueComparer. - ColumnValueComparerMapBuilder() - Constructor for class org.dbunit.assertion.comparer.value.builder.ColumnValueComparerMapBuilder
- comment(char[], int, int) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- commit(int, int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set value to newValue only if it is currently assumedValue.
- compare(byte[], byte[]) - Method in class org.dbunit.dataset.datatype.BytesDataType
-
Lexicographically compares two byte arrays.
- compare(Object, Object) - Method in class org.dbunit.dataset.datatype.AbstractDataType
- compare(Object, Object) - Method in class org.dbunit.dataset.datatype.DataType
-
Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
- compare(Object, Object) - Method in class org.dbunit.dataset.datatype.UnknownDataType
- compare(Object, Object) - Method in class org.dbunit.dataset.SortedTable.AbstractRowComparator
- compare(Object, Object) - Method in class org.dbunit.ext.oracle.OracleSdoGeometryDataType
-
This method is copied from AbstractDataType and customized to call equals after the typeCast because OracleSdoGeometry objects are not Comparables but can test for equality (via equals method.)
- compare(Column, Object, Object) - Method in class org.dbunit.dataset.SortedTable.AbstractRowComparator
-
Compares the two given values of the given column.
- compare(Column, Object, Object) - Method in class org.dbunit.dataset.SortedTable.RowComparator
- compare(Column, Object, Object) - Method in class org.dbunit.dataset.SortedTable.RowComparatorByString
- compare(ITable, ITable, int, String, DataType, Object, Object) - Method in interface org.dbunit.assertion.comparer.value.ValueComparer
-
Compare expected and actual values.
- compare(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ValueComparerBase
-
Compare expected and actual values.
- Compare - Class in org.dbunit.ant
-
The
Compareclass is the step that compare the content of the database against the specified dataset. - Compare() - Constructor for class org.dbunit.ant.Compare
- compareColumns(Column[], Column[], ITableMetaData, ITableMetaData, FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the columns of the two given tables, failing via the given failure handler on mismatch.
- compareData(ITable, ITable, DbUnitAssert.ComparisonColumn[], FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the data of the two given tables using the default value comparers.
- compareData(ITable, ITable, DbUnitAssert.ComparisonColumn[], FailureHandler, ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the data of the two given tables using the given value comparers.
- compareData(ITable, ITable, DbUnitAssert.ComparisonColumn[], FailureHandler, ValueComparer, Map<String, ValueComparer>, int, int) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares a single expected and actual cell value at the given row and column, failing via the given failure handler on mismatch.
- compareData(ITable, ITable, Column[], ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Compare the tables, enables easy overriding.
- compareNonNulls(Object, Object) - Method in class org.dbunit.dataset.datatype.AbstractDataType
-
Compares non-null values to each other.
- compareNonNulls(Object, Object) - Method in class org.dbunit.dataset.datatype.BooleanDataType
- compareNonNulls(Object, Object) - Method in class org.dbunit.dataset.datatype.BytesDataType
- compareNonNulls(Object, Object) - Method in class org.dbunit.dataset.datatype.NumberTolerantDataType
-
The only method overwritten from the base implementation to compare numbers allowing a tolerance
- compareNonNulls(Object, Object) - Method in class org.dbunit.dataset.datatype.StringIgnoreCaseDataType
- compareRowCounts(ITable, ITable, FailureHandler, String) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the row counts of the two given tables, failing via the given failure handler on mismatch.
- compareTableCounts(String[], String[], FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the number of expected and actual table names, failing via the given failure handler on mismatch.
- compareTableNames(String[], String[], FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Compares the expected and actual table names, failing via the given failure handler on mismatch.
- compareTables(IDataSet, IDataSet, String[], FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssert
-
Asserts each expected table against its corresponding actual table, using the default equality-based value comparer.
- compareTables(IDataSet, IDataSet, String[], FailureHandler, ValueComparer, Map<String, Map<String, ValueComparer>>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Asserts each expected table against its corresponding actual table.
- compareTimestamps(DataType, long, long) - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedWithIgnoreMillisValueComparer
- compareTimestamps(DataType, long, long) - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedWithIgnoreMillisValueComparer
- compareTo(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Compares the current value to the given int.
- compareTo(Object) - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
- compareTo(Object) - Method in class org.dbunit.util.concurrent.SynchronizedInt
- compareTo(Object) - Method in class org.dbunit.util.search.Edge
-
Compares this edge to the given one using the
nodes first.Edge.getFrom() - compareTo(SynchronizedInt) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Compares the current value to another
SynchronizedInt's value. - ComparisonColumn(String, Column, Column, FailureHandler) - Constructor for class org.dbunit.assertion.DbUnitAssert.ComparisonColumn
-
Creates a comparison column, resolving the
DataTypeto use for comparison. - complement() - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set the value to its complement
- CompositeDataSet - Class in org.dbunit.dataset
-
Combines multiple datasets into a single logical dataset.
- CompositeDataSet(IDataSet) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines duplicate tables of the specified dataset.
- CompositeDataSet(IDataSet[]) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines specified datasets.
- CompositeDataSet(IDataSet[], boolean) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines specified datasets.
- CompositeDataSet(IDataSet[], boolean, boolean) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines specified datasets.
- CompositeDataSet(IDataSet, boolean) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Deprecated.This constructor is useless when the combine parameter is
false. Use overload that doesn't have the combine argument. - CompositeDataSet(IDataSet, IDataSet) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines the two specified datasets.
- CompositeDataSet(IDataSet, IDataSet, boolean) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines the two specified datasets.
- CompositeDataSet(ITable[]) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines tables having identical name.
- CompositeDataSet(ITable[], boolean) - Constructor for class org.dbunit.dataset.CompositeDataSet
-
Creates a composite dataset that combines tables having identical name.
- CompositeOperation - Class in org.dbunit.operation
-
This class is a composite that combines multiple database operation in a single one.
- CompositeOperation(DatabaseOperation[]) - Constructor for class org.dbunit.operation.CompositeOperation
-
Creates a new composite operation combining the specified operations.
- CompositeOperation(DatabaseOperation, DatabaseOperation) - Constructor for class org.dbunit.operation.CompositeOperation
-
Creates a new composite operation combining the two specified operations.
- CompositeTable - Class in org.dbunit.dataset
-
ITablethat pairs explicitITableMetaDatawith row data drawn from one or more other tables. - CompositeTable(String, ITable) - Constructor for class org.dbunit.dataset.CompositeTable
-
Creates a composite dataset that encapsulate the specified table with a new name.
- CompositeTable(ITableMetaData, ITable) - Constructor for class org.dbunit.dataset.CompositeTable
-
Creates a composite table that combines the specified metadata with the specified table.
- CompositeTable(ITableMetaData, ITable[]) - Constructor for class org.dbunit.dataset.CompositeTable
-
Creates a composite table that combines the specified metadata with the specified tables.
- CompositeTable(ITable, ITable) - Constructor for class org.dbunit.dataset.CompositeTable
-
Creates a composite table that combines the specified specified tables.
- CompoundStatement - Class in org.dbunit.database.statement
-
IBatchStatementthat accumulates multiple plain SQL statements and executes them together. - ConditionalSelectorMultiValueComparer - Class in org.dbunit.assertion.comparer.value
- ConditionalSelectorMultiValueComparer(Map<Object, ValueComparer>, ValueComparerSelector) - Constructor for class org.dbunit.assertion.comparer.value.ConditionalSelectorMultiValueComparer
-
Creates a comparer that selects a
ValueComparerfrom the given map using the given selector. - ConditionalSetBiValueComparer<T> - Class in org.dbunit.assertion.comparer.value
-
Use one of two
ValueComparers based on a value present or not in a set of values. - ConditionalSetBiValueComparer(ValueFactory<T>, Set<T>, ValueComparer, ValueComparer) - Constructor for class org.dbunit.assertion.comparer.value.ConditionalSetBiValueComparer
-
Creates a comparer that selects between two
ValueComparers based on whether a value derived from the actual row is present in a set of values. - ConfigProperty(String, Class, boolean) - Constructor for class org.dbunit.database.DatabaseConfig.ConfigProperty
-
Creates a descriptor for a configuration property.
- Configurator(DatabaseConfig) - Constructor for class org.dbunit.database.DatabaseConfig.Configurator
-
Creates a configurator backed by the given database config.
- configureTest(VerifyTableDefinition[], String[], String[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Configure the test.
- configureTest(VerifyTableDefinition[], String[], String[]) - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Configure the test.
- connectionRetrieved(IDatabaseConnection) - Method in class org.dbunit.DefaultOperationListener
- connectionRetrieved(IDatabaseConnection) - Method in interface org.dbunit.IOperationListener
-
Is invoked immediately after a connection was newly created or an existing connection is retrieved to do some work on it.
- contains(String, Object) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Returns whether the given primary key is allowed for the given table.
- containsTable(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Checks if this map contains the given table name
- convertCharacterToEntity(char, boolean) - Method in class org.dbunit.util.xml.XmlWriter
-
Returns the XML entity for the given character, if any.
- convertMetaDataBoolean(String) - Static method in class org.dbunit.dataset.Column
-
Converts a DatabaseMetaData boolean string to a Boolean object.
- convertValueToTimeInMillis(Object) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Returns the given
Timestampvalue's time in milliseconds. - convertValueToTimeInMillis(Object) - Method in class org.dbunit.assertion.comparer.value.TimestampIgnoreMillisValueComparerBase
-
Converts the given value to milliseconds since the epoch.
- copyFile(File, File) - Static method in class org.dbunit.util.FileHelper
-
Copy file.
- copyPropertiesInto(DatabaseConfig) - Method in class org.dbunit.database.DatabaseConfig
-
Copies every known property and feature value from this config into the given target config.
- copyQueriesFrom(QuerySet) - Method in class org.dbunit.ant.QuerySet
-
Copies the queries from the given queryset into this one.
- copyTo(DatabaseConfig) - Method in class org.dbunit.ant.DbConfig
-
Copies the parameters set in this configuration via ant into the given
DatabaseConfigthat is used by the dbunit connection. - correctCase(String, Connection) - Static method in class org.dbunit.util.SQLHelper
-
Corrects the case of the given String according to the way in which the database stores metadata.
- correctCase(String, DatabaseMetaData) - Static method in class org.dbunit.util.SQLHelper
-
Corrects the case of the given String according to the way in which the database stores metadata.
- create(Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
- create(Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
- create(Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
- create(Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
- create(OracleSdoGeometry, Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Populates (or creates) an
OracleSdoGeometryfrom the given datum. - create(OracleSdoPointType, Datum, int) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Populates (or creates) an
OracleSdoPointTypefrom the given datum. - createBatchStatement(IDatabaseConnection) - Method in interface org.dbunit.database.statement.IStatementFactory
-
Creates a batch statement for the given connection.
- createBatchStatement(IDatabaseConnection) - Method in class org.dbunit.database.statement.PreparedStatementFactory
- createBatchStatement(IDatabaseConnection) - Method in class org.dbunit.database.statement.StatementFactory
- createClasspath() - Method in class org.dbunit.ant.DbUnitTask
-
Create the classpath for loading the driver.
- createColumn(ResultSet, IDataTypeFactory, boolean) - Static method in class org.dbunit.util.SQLHelper
- createConnection() - Method in class org.dbunit.ant.DbUnitTask
-
Loads the JDBC driver and opens the configured database connection.
- createDatabaseConnection(Connection, String) - Method in class org.dbunit.ant.DbUnitTask
-
Creates the dbunit connection using the two given arguments.
- createDataSet() - Method in class org.dbunit.database.AbstractDatabaseConnection
- createDataSet() - Method in interface org.dbunit.database.IDatabaseConnection
-
Creates a dataset corresponding to the entire database.
- createDataSet() - Method in class org.dbunit.ext.mssql.MsSqlConnection
- createDataSet(String[]) - Method in class org.dbunit.database.AbstractDatabaseConnection
- createDataSet(String[]) - Method in interface org.dbunit.database.IDatabaseConnection
-
Creates a dataset containing only the specified tables from the database.
- createDataSet(String[]) - Method in class org.dbunit.ext.mssql.MsSqlConnection
- createDataType(int, String) - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
- createDataType(int, String) - Method in interface org.dbunit.dataset.datatype.IDataTypeFactory
-
Returns the DataType object that corresponds to the specified
Types. - createDataType(int, String) - Method in class org.dbunit.ext.db2.Db2DataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.h2.H2DataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.mckoi.MckoiDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.mysql.MySqlDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.oracle.Oracle10DataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.oracle.OracleDataTypeFactory
- createDataType(int, String) - Method in class org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
- createDataType(int, String, String, String) - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
- createDataType(int, String, String, String) - Method in interface org.dbunit.dataset.datatype.IDataTypeFactory
-
Returns the DataType object that corresponds to the specified
Typesand regards the given tableName and columnName. - createDateCellStyle(Workbook) - Static method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Returns the cell style used to render
Datevalues stored as numbers. - createFailure(String) - Method in class org.dbunit.assertion.DefaultFailureHandler
- createFailure(String) - Method in class org.dbunit.assertion.DefaultFailureHandler.DefaultFailureFactory
- createFailure(String) - Method in interface org.dbunit.assertion.FailureFactory
-
Creates a new assertion failure object with only a message and no expected/actual values.
- createFailure(String) - Method in class org.dbunit.assertion.JUnitFailureFactory
- createFailure(String, String, String) - Method in class org.dbunit.assertion.DefaultFailureHandler
- createFailure(String, String, String) - Method in class org.dbunit.assertion.DefaultFailureHandler.DefaultFailureFactory
- createFailure(String, String, String) - Method in interface org.dbunit.assertion.FailureFactory
-
Creates a new failure object which can have different types, depending on the testing framework you are currently using (e.g.
- createFailure(String, String, String) - Method in class org.dbunit.assertion.JUnitFailureFactory
- createFKEdge(ResultSet, int, String, String, String, String) - Static method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Creates an edge representing a foreign key relationship between 2 tables.
- createInputSource(File) - Static method in class org.dbunit.util.FileHelper
-
Creates an
InputSourcefor the given file. - createIterator(boolean) - Method in class org.dbunit.database.DatabaseDataSet
- createIterator(boolean) - Method in class org.dbunit.database.QueryDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.AbstractDataSet
-
Creates an iterator which provides access to all tables of this dataset
- createIterator(boolean) - Method in class org.dbunit.dataset.CachedDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.CaseInsensitiveDataSet
-
Deprecated.
- createIterator(boolean) - Method in class org.dbunit.dataset.CompositeDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.DefaultDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.excel.XlsDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.FilteredDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.ForwardOnlyDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.LowerCaseDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.ReplacementDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.SortedDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.stream.StreamingDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.TableDecoratorDataSet
- createIterator(boolean) - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- createMetaData(String, ResultSet, IDatabaseConnection) - Static method in class org.dbunit.database.DatabaseTableMetaData
-
Deprecated.
- createMetaData(String, ResultSet, IDataTypeFactory) - Static method in class org.dbunit.database.DatabaseTableMetaData
-
Deprecated.since 2.3.0. use
ResultSetTableMetaData(String, ResultSet, IDataTypeFactory, boolean) - createPipelineComponent(AbstractPipelineComponent, Helper) - Static method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
-
Links the given helper and handler to each other and returns the handler.
- createPreparedBatchStatement(String, IDatabaseConnection) - Method in interface org.dbunit.database.statement.IStatementFactory
-
Creates a prepared batch statement for the given SQL and connection.
- createPreparedBatchStatement(String, IDatabaseConnection) - Method in class org.dbunit.database.statement.PreparedStatementFactory
- createPreparedBatchStatement(String, IDatabaseConnection) - Method in class org.dbunit.database.statement.StatementFactory
- createProducer(InputSource) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Creates the producer used to build the
FlatXmlDataSet, using this builder's configured metadata source or properties. - createQueryTable(String, String) - Method in class org.dbunit.database.AbstractDatabaseConnection
- createQueryTable(String, String) - Method in interface org.dbunit.database.IDatabaseConnection
-
Creates a table with the result of the specified SQL statement.
- createStatement(IDatabaseConnection, int) - Method in class org.dbunit.database.AbstractResultSetTable
-
Creates a
Statementwith the specified ResultSet type. - createTable(String) - Method in class org.dbunit.database.AbstractDatabaseConnection
- createTable(String) - Method in interface org.dbunit.database.IDatabaseConnection
-
Creates a table with the result of a
select * from tableNameSQL statement. - createTable(String, String, IDatabaseConnection) - Method in class org.dbunit.database.CachedResultSetTableFactory
- createTable(String, String, IDatabaseConnection) - Method in class org.dbunit.database.ForwardOnlyResultSetTableFactory
- createTable(String, String, IDatabaseConnection) - Method in interface org.dbunit.database.IResultSetTableFactory
-
Creates a table from a table name and a SQL select statement.
- createTable(String, PreparedStatement) - Method in class org.dbunit.database.AbstractDatabaseConnection
- createTable(String, PreparedStatement) - Method in interface org.dbunit.database.IDatabaseConnection
-
Creates a table using the given PreparedStatement to retrieve a ResultSet.
- createTable(String, PreparedStatement, IDatabaseConnection) - Method in class org.dbunit.database.CachedResultSetTableFactory
- createTable(String, PreparedStatement, IDatabaseConnection) - Method in class org.dbunit.database.ForwardOnlyResultSetTableFactory
- createTable(String, PreparedStatement, IDatabaseConnection) - Method in interface org.dbunit.database.IResultSetTableFactory
-
Creates a table from a preparedStatement
- createTable(ITableMetaData, IDatabaseConnection) - Method in class org.dbunit.database.CachedResultSetTableFactory
- createTable(ITableMetaData, IDatabaseConnection) - Method in class org.dbunit.database.ForwardOnlyResultSetTableFactory
- createTable(ITableMetaData, IDatabaseConnection) - Method in interface org.dbunit.database.IResultSetTableFactory
-
Creates a table from a metadata descriptor and a connection.
- createTableNameMap() - Method in class org.dbunit.dataset.AbstractDataSet
-
Creates and returns a new instance of the table names container.
- createWorkbook() - Method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Creates the workbook written to by
XlsDataSetWriter.write(IDataSet, OutputStream). - CsvDataFileLoader - Class in org.dbunit.util.fileloader
-
DataFileLoaderthat loads CSV dataset files. - CsvDataFileLoader() - Constructor for class org.dbunit.util.fileloader.CsvDataFileLoader
-
Create new instance.
- CsvDataFileLoader(Map) - Constructor for class org.dbunit.util.fileloader.CsvDataFileLoader
-
Create new instance with replacement objects.
- CsvDataFileLoader(Map, Map) - Constructor for class org.dbunit.util.fileloader.CsvDataFileLoader
-
Create new instance with replacement objects and replacement substrings.
- CsvDataSet - Class in org.dbunit.dataset.csv
-
This class constructs an IDataSet given a directory containing CSV files.
- CsvDataSet(File) - Constructor for class org.dbunit.dataset.csv.CsvDataSet
-
Creates a dataset from the CSV files in the given directory.
- CsvDataSetWriter - Class in org.dbunit.dataset.csv
-
IDataSetConsumerthat writes a dataset's tables and rows to CSV files. - CsvDataSetWriter(File) - Constructor for class org.dbunit.dataset.csv.CsvDataSetWriter
-
Creates a writer that writes CSV files to the given directory.
- CsvDataSetWriter(String) - Constructor for class org.dbunit.dataset.csv.CsvDataSetWriter
-
Creates a writer that writes CSV files to the given directory.
- CsvParser - Interface in org.dbunit.dataset.csv
-
Parses a line of CSV text into its individual field values.
- CsvParserException - Exception Class in org.dbunit.dataset.csv
-
Signals an error while parsing CSV input.
- CsvParserException(String) - Constructor for exception class org.dbunit.dataset.csv.CsvParserException
-
Constructs a
CsvParserExceptionwith the specified detail message. - CsvParserImpl - Class in org.dbunit.dataset.csv
- CsvParserImpl() - Constructor for class org.dbunit.dataset.csv.CsvParserImpl
-
Default constructor.
- CsvProducer - Class in org.dbunit.dataset.csv
-
IDataSetProducerthat streams table and row events by parsing CSV files. - CsvProducer(File) - Constructor for class org.dbunit.dataset.csv.CsvProducer
-
Creates a producer that reads CSV files from the given directory.
- CsvProducer(String) - Constructor for class org.dbunit.dataset.csv.CsvProducer
-
Creates a producer that reads CSV files from the given directory.
- CsvURLDataSet - Class in org.dbunit.dataset.csv
-
This class constructs an IDataSet given a base URL containing CSV files.
- CsvURLDataSet(URL) - Constructor for class org.dbunit.dataset.csv.CsvURLDataSet
-
Create a Data Set from CSV files, using the base URL provided to find data.
- CsvURLProducer - Class in org.dbunit.dataset.csv
-
A
Data Set Producerthat produces datasets from CVS files found at a base URL. - CsvURLProducer(URL, String) - Constructor for class org.dbunit.dataset.csv.CsvURLProducer
-
Create a CSV Data Set Producer which uses the base URL to retrieve a list of tables and the data.
- CyclicTablesDependencyException - Exception Class in org.dbunit.database
-
Signals that a set of tables has a foreign-key dependency cycle that cannot be resolved into a linear ordering.
- CyclicTablesDependencyException(String) - Constructor for exception class org.dbunit.database.CyclicTablesDependencyException
-
Constructs a
CyclicTablesDependencyExceptionwith the specified detail message. - CyclicTablesDependencyException(String, Set) - Constructor for exception class org.dbunit.database.CyclicTablesDependencyException
-
Constructs a
CyclicTablesDependencyExceptionfor the given table and its cyclic dependencies.
D
- DatabaseConfig - Class in org.dbunit.database
-
Configuration used by the
DatabaseConnection. - DatabaseConfig() - Constructor for class org.dbunit.database.DatabaseConfig
-
Constructs a database config with the framework's default properties and features.
- DatabaseConfig.ConfigProperty - Class in org.dbunit.database
-
Descriptor for a single named, typed, nullable
DatabaseConfigproperty. - DatabaseConfig.Configurator - Class in org.dbunit.database
-
Sets parameters stored in the
DatabaseConfigon specific java objects likeStatement. - DatabaseConnection - Class in org.dbunit.database
-
This class adapts a JDBC
Connectionto aIDatabaseConnection. - DatabaseConnection(Connection) - Constructor for class org.dbunit.database.DatabaseConnection
-
Creates a new
DatabaseConnection. - DatabaseConnection(Connection, String) - Constructor for class org.dbunit.database.DatabaseConnection
-
Creates a new
DatabaseConnectionusing a specific schema. - DatabaseConnection(Connection, String, boolean) - Constructor for class org.dbunit.database.DatabaseConnection
-
Creates a new
DatabaseConnectionusing a specific schema. - DatabaseDataSet - Class in org.dbunit.database
-
Provides access to a database instance as a
IDataSet. - DatabaseDataSet(IDatabaseConnection, boolean) - Constructor for class org.dbunit.database.DatabaseDataSet
-
Creates a new database data set
- DatabaseDataSet(IDatabaseConnection, boolean, ITableFilterSimple) - Constructor for class org.dbunit.database.DatabaseDataSet
-
Creates a new database data set
- DatabaseDataSourceConnection - Class in org.dbunit.database
-
This class adapts a JDBC
DataSourceto aIDatabaseConnection. - DatabaseDataSourceConnection(InitialContext, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the data source bound at the given JNDI name.
- DatabaseDataSourceConnection(InitialContext, String, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the data source bound at the given JNDI name, in the given schema.
- DatabaseDataSourceConnection(InitialContext, String, String, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the data source bound at the given JNDI name, authenticating with the given credentials.
- DatabaseDataSourceConnection(InitialContext, String, String, String, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the data source bound at the given JNDI name, in the given schema, authenticating with the given credentials.
- DatabaseDataSourceConnection(DataSource) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the given data source.
- DatabaseDataSourceConnection(DataSource, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the given data source, in the given schema.
- DatabaseDataSourceConnection(DataSource, String, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the given data source, authenticating with the given credentials.
- DatabaseDataSourceConnection(DataSource, String, String, String) - Constructor for class org.dbunit.database.DatabaseDataSourceConnection
-
Creates a connection using the given data source, in the given schema, authenticating with the given credentials.
- DatabaseOperation - Class in org.dbunit.operation
-
Defines the interface contract for operations performed on the database.
- DatabaseOperation() - Constructor for class org.dbunit.operation.DatabaseOperation
- DatabaseSequenceFilter - Class in org.dbunit.database
-
This filter orders tables using dependency information provided by
DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String). - DatabaseSequenceFilter(IDatabaseConnection) - Constructor for class org.dbunit.database.DatabaseSequenceFilter
-
Create a DatabaseSequenceFilter that exposes all the database tables.
- DatabaseSequenceFilter(IDatabaseConnection, String[]) - Constructor for class org.dbunit.database.DatabaseSequenceFilter
-
Create a DatabaseSequenceFilter that only exposes specified table names.
- DatabaseTableIterator - Class in org.dbunit.database
-
ITableIteratorover the tables of a live database connection. - DatabaseTableIterator(String[], IDataSet) - Constructor for class org.dbunit.database.DatabaseTableIterator
-
Creates an iterator over the given table names, resolved from the given dataset.
- DatabaseTableMetaData - Class in org.dbunit.database
-
Container for the metadata for one database table.
- DatabaseTestCase - Class in org.dbunit
-
Convenience class for writing JUnit tests with dbunit easily.
- DatabaseTestCase() - Constructor for class org.dbunit.DatabaseTestCase
-
Default constructor.
- DatabaseTestCase(String) - Constructor for class org.dbunit.DatabaseTestCase
-
Constructs a test case with the given name.
- DatabaseUnitException - Exception Class in org.dbunit
-
Base checked exception for errors raised by the DbUnit framework.
- DatabaseUnitException() - Constructor for exception class org.dbunit.DatabaseUnitException
-
Constructs an
DatabaseUnitExceptionwith no detail message and no encapsulated exception. - DatabaseUnitException(String) - Constructor for exception class org.dbunit.DatabaseUnitException
-
Constructs an
DatabaseUnitExceptionwith the specified detail message and no encapsulated exception. - DatabaseUnitException(String, Throwable) - Constructor for exception class org.dbunit.DatabaseUnitException
-
Constructs an
DatabaseUnitExceptionwith the specified detail message and encapsulated exception. - DatabaseUnitException(Throwable) - Constructor for exception class org.dbunit.DatabaseUnitException
-
Constructs an
DatabaseUnitExceptionwith the encapsulated exception and use string representation as detail message. - DatabaseUnitRuntimeException - Exception Class in org.dbunit
-
Base unchecked exception for errors raised by the DbUnit framework.
- DatabaseUnitRuntimeException() - Constructor for exception class org.dbunit.DatabaseUnitRuntimeException
-
Constructs an
DatabaseUnitRuntimeExceptionwith no specified detail message and no encapsulated exception. - DatabaseUnitRuntimeException(String) - Constructor for exception class org.dbunit.DatabaseUnitRuntimeException
-
Constructs an
DatabaseUnitRuntimeExceptionwith the specified detail message and no encapsulated exception. - DatabaseUnitRuntimeException(String, Throwable) - Constructor for exception class org.dbunit.DatabaseUnitRuntimeException
-
Constructs an
DatabaseUnitRuntimeExceptionwith the specified detail message and encapsulated exception. - DatabaseUnitRuntimeException(Throwable) - Constructor for exception class org.dbunit.DatabaseUnitRuntimeException
-
Constructs an
DatabaseUnitRuntimeExceptionwith the encapsulated exception and use its message as detail message. - DataFileLoader - Interface in org.dbunit.util.fileloader
-
Defines a dbUnit data file loader supporting replacement objects and substrings with
ReplacementDataSet. - DataSetBuilder - Class in org.dbunit.dataset
-
Fluent builder for creating
IDataSetinstances programmatically, reducing XML file dependencies in unit tests. - DataSetBuilder() - Constructor for class org.dbunit.dataset.DataSetBuilder
- DataSetBuilder.TableBuilder - Class in org.dbunit.dataset
-
Fluent builder for a single table within a
DataSetBuilder. - DataSetException - Exception Class in org.dbunit.dataset
-
Thrown to indicate that a problem occurred with a dataset.
- DataSetException() - Constructor for exception class org.dbunit.dataset.DataSetException
-
Constructs a
DataSetExceptionwith no detail message and no encapsulated exception. - DataSetException(String) - Constructor for exception class org.dbunit.dataset.DataSetException
-
Constructs a
DataSetExceptionwith the specified detail message and no encapsulated exception. - DataSetException(String, Throwable) - Constructor for exception class org.dbunit.dataset.DataSetException
-
Constructs a
DataSetExceptionwith the specified detail message and encapsulated exception. - DataSetException(Throwable) - Constructor for exception class org.dbunit.dataset.DataSetException
-
Constructs a
DataSetExceptionwith the encapsulated exception and use string representation as detail message. - DataSetProducerAdapter - Class in org.dbunit.dataset.stream
- DataSetProducerAdapter(IDataSet) - Constructor for class org.dbunit.dataset.stream.DataSetProducerAdapter
-
Creates a producer that reports the tables of the given dataset.
- DataSetProducerAdapter(ITableIterator) - Constructor for class org.dbunit.dataset.stream.DataSetProducerAdapter
-
Creates a producer that reports the tables of the given iterator.
- DataSetUtils - Class in org.dbunit.dataset
-
This class contains various methods for manipulating datasets.
- DataSourceBasedDBTestCase - Class in org.dbunit
-
TestCase that uses a DataSourceDatabaseTester.
- DataSourceBasedDBTestCase() - Constructor for class org.dbunit.DataSourceBasedDBTestCase
-
Creates a testCase with no name.
- DataSourceBasedDBTestCase(String) - Constructor for class org.dbunit.DataSourceBasedDBTestCase
-
Creates a testCase with the given name.
- DataSourceDatabaseTester - Class in org.dbunit
-
DatabaseTester that uses a
DataSourceto create connections. - DataSourceDatabaseTester(DataSource) - Constructor for class org.dbunit.DataSourceDatabaseTester
-
Creates a new DataSourceDatabaseTester with the specified DataSource.
- DataSourceDatabaseTester(DataSource, String) - Constructor for class org.dbunit.DataSourceDatabaseTester
-
Creates a new DataSourceDatabaseTester with the specified DataSource and schema name.
- DataSourceDatabaseTester(DataSource, String, CachingConnectionProvider) - Constructor for class org.dbunit.DataSourceDatabaseTester
-
Creates a new DataSourceDatabaseTester with the specified DataSource and schema name, reusing one
IDatabaseConnectionacross calls via the givenCachingConnectionProviderinstead of creating a new one on every call.
Share the sameconnectionProviderinstance across the testers created for each test to get reuse across test methods; pair it withIOperationListener.NO_OP_OPERATION_LISTENER(or an equivalent non-closing listener) so the cached connection is not closed after everyAbstractDatabaseTester.onSetup()/AbstractDatabaseTester.onTearDown()call. - DataSourceDatabaseTester(DataSource, String, CachingConnectionProvider, DatabaseConfig) - Constructor for class org.dbunit.DataSourceDatabaseTester
-
Creates a new DataSourceDatabaseTester with the specified DataSource, schema name, optional
CachingConnectionProvider, and optionalDatabaseConfigwhose property and feature values are applied to every connection this tester creates - for example to setDatabaseConfig.PROPERTY_DATATYPE_FACTORYfor a specific database without needing anIOperationListener. - DataType - Class in org.dbunit.dataset.datatype
-
Data type that maps
Typesobjects to their java counterparts. - DataType() - Constructor for class org.dbunit.dataset.datatype.DataType
- DataTypeException - Exception Class in org.dbunit.dataset.datatype
-
Base checked exception for errors related to
DataTypevalue conversion. - DataTypeException() - Constructor for exception class org.dbunit.dataset.datatype.DataTypeException
-
Constructs a
DataTypeExceptionwith no detail message and no encapsulated exception. - DataTypeException(String) - Constructor for exception class org.dbunit.dataset.datatype.DataTypeException
-
Constructs a
DataTypeExceptionwith the specified detail message. - DataTypeException(String, Throwable) - Constructor for exception class org.dbunit.dataset.datatype.DataTypeException
-
Constructs a
DataTypeExceptionwith the specified detail message and encapsulated exception. - DataTypeException(Throwable) - Constructor for exception class org.dbunit.dataset.datatype.DataTypeException
-
Constructs a
DataTypeExceptionwith the encapsulated exception. - DATE - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL DATE type.
- DATE - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
DATEtype. - DATE_FORMAT_AS_NUMBER_DBUNIT - Static variable in class org.dbunit.dataset.excel.XlsDataSetWriter
-
A special format pattern used to create a custom
DataFormatwhich marksDatevalues that are stored via POI to an XLS file. - DateDataType - Class in org.dbunit.dataset.datatype
- DateTimeOffsetType - Class in org.dbunit.ext.mssql
-
AbstractDataTypemapping Microsoft SQL Server's DATETIMEOFFSET type. - DateTimeOffsetType() - Constructor for class org.dbunit.ext.mssql.DateTimeOffsetType
-
Default constructor.
- DB_PRODUCT_SYBASE - Static variable in class org.dbunit.util.SQLHelper
-
The database product name reported by Sybase JDBC drivers.
- Db2Connection - Class in org.dbunit.ext.db2
-
Database connection for DB2 that pre-configures all properties required to successfully use dbunit with DB2.
- Db2Connection(Connection, String) - Constructor for class org.dbunit.ext.db2.Db2Connection
-
Creates a DB2 connection, pre-configuring the DB2-specific data type factory and metadata handler.
- Db2DataTypeFactory - Class in org.dbunit.ext.db2
-
Specialized factory that recognizes DB2 data types.
- Db2DataTypeFactory() - Constructor for class org.dbunit.ext.db2.Db2DataTypeFactory
- Db2MetadataHandler - Class in org.dbunit.ext.db2
-
Customized MetadataHandler for DB2 as match Columns of
DefaultMetadataHandlerfails with a RuntimeException. - Db2MetadataHandler() - Constructor for class org.dbunit.ext.db2.Db2MetadataHandler
-
Default constructor.
- DbAssertionFailedError - Exception Class in org.dbunit.assertion
-
Exception signaling a DbUnit assertion failure.
- DbAssertionFailedError() - Constructor for exception class org.dbunit.assertion.DbAssertionFailedError
-
Constructs a
DbAssertionFailedErrorwith no detail message. - DbAssertionFailedError(String) - Constructor for exception class org.dbunit.assertion.DbAssertionFailedError
-
Constructs a
DbAssertionFailedErrorwith the specified detail message. - DbComparisonFailure - Exception Class in org.dbunit.assertion
-
Exception signaling a DbUnit assertion failure while comparing values.
- DbComparisonFailure(String, String, String) - Constructor for exception class org.dbunit.assertion.DbComparisonFailure
-
Constructs a
DbComparisonFailurewith the given reason, expected, and actual values. - DbConfig - Class in org.dbunit.ant
-
The database configuration for the ant task.
- DbConfig() - Constructor for class org.dbunit.ant.DbConfig
-
Default constructor.
- DbConfig.Feature - Class in org.dbunit.ant
-
A named boolean feature flag, as configured in the Ant <dbconfig> task's <feature> element.
- DBTestCase - Class in org.dbunit
-
Base testCase for database testing.
Subclasses may overrideDBTestCase.newDatabaseTester()to plug-in a different implementation of IDatabaseTester.
Default implementation uses aPropertiesBasedJdbcDatabaseTester. - DBTestCase() - Constructor for class org.dbunit.DBTestCase
-
Creates a testCase with no name.
- DBTestCase(String) - Constructor for class org.dbunit.DBTestCase
-
Creates a testCase with the given name.
- DBUNIT_CONNECTION_URL - Static variable in class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
A key for property that defines the connection url
- DBUNIT_DRIVER_CLASS - Static variable in class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
A key for property that defines the driver classname
- DBUNIT_PASSWORD - Static variable in class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
A key for property that defines the user's password
- DBUNIT_SCHEMA - Static variable in class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
A key for property that defines the database schema
- DBUNIT_USERNAME - Static variable in class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
A key for property that defines the username
- DbUnitAssert - Class in org.dbunit.assertion
-
Default implementation of DbUnit assertions, based on the original methods present at
Assertion. - DbUnitAssert() - Constructor for class org.dbunit.assertion.DbUnitAssert
- DbUnitAssert.ComparisonColumn - Class in org.dbunit.assertion
-
Represents a single column to be used for the comparison of table data.
- DbUnitAssertBase - Class in org.dbunit.assertion
-
Base class for DbUnit assert classes containing common methods.
- DbUnitAssertBase() - Constructor for class org.dbunit.assertion.DbUnitAssertBase
- DbUnitExtension - Class in org.dbunit.junit.jupiter
-
JUnit 5/6 extension for DbUnit that manages the
IDatabaseTesterlifecycle around each test method. - DbUnitExtension() - Constructor for class org.dbunit.junit.jupiter.DbUnitExtension
- DbUnitTask - Class in org.dbunit.ant
-
DbUnitTaskis the task definition for an Ant interface toDbUnit. - DbUnitTask() - Constructor for class org.dbunit.ant.DbUnitTask
- DbUnitTaskStep - Interface in org.dbunit.ant
-
The
DbUnitTaskStepinterface allows the execute method to be called on all elements nested underDbUnitTask. - DbUnitValueComparerAssert - Class in org.dbunit.assertion
-
DbUnit assertions using
ValueComparers for the column comparisons. - DbUnitValueComparerAssert() - Constructor for class org.dbunit.assertion.DbUnitValueComparerAssert
- DECIMAL - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL DECIMAL type.
- DECIMAL - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
DECIMALtype. - decode(byte[], int, int) - Static method in class org.dbunit.util.Base64
-
Decodes Base64 content in byte array format and returns the decoded byte array.
- decode(String) - Static method in class org.dbunit.util.Base64
-
Decodes data from Base64 notation.
- DECODE - Static variable in class org.dbunit.util.Base64
-
Specify decoding (value is
false). - decodeToObject(String) - Static method in class org.dbunit.util.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- decodeToString(String) - Static method in class org.dbunit.util.Base64
-
Decodes data from Base64 notation and returns it as a string.
- decrement() - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Decrement the value.
- DEFAULT_CHARSET - Static variable in class org.dbunit.util.xml.XmlWriter
-
Default charset, "UTF-8".
- DEFAULT_ENCODING - Static variable in class org.dbunit.util.xml.XmlWriter
-
Default encoding value which is "UTF-8"
- DEFAULT_ESCAPE_CHAR - Static variable in class org.dbunit.dataset.common.handlers.EscapeHandler
-
Default character used to escape the quote and escape characters themselves.
- DEFAULT_SEPARATOR_CHAR - Static variable in class org.dbunit.dataset.common.handlers.SeparatorHandler
-
The default CSV field separator character.
- DEFAULT_VALIDATION_TIMEOUT_SECONDS - Static variable in class org.dbunit.database.CachingConnectionProvider
-
Default number of seconds
CachingConnectionProvider.getConnection(Callable)allowsConnection.isValid(int)to take when checking whether the cached connection is still alive. - DefaultChannelCapacity - Class in org.dbunit.util.concurrent
-
A utility class to set the default capacity of BoundedChannel implementations that otherwise require a capacity argument
- DefaultChannelCapacity() - Constructor for class org.dbunit.util.concurrent.DefaultChannelCapacity
- DefaultColumnFilter - Class in org.dbunit.dataset.filter
-
Implementation of the IColumnFilter interface that exposes columns matching include patterns and not matching exclude patterns.
- DefaultColumnFilter() - Constructor for class org.dbunit.dataset.filter.DefaultColumnFilter
- DefaultConsumer - Class in org.dbunit.dataset.stream
-
This class provides no op implementations for all of the callbacks in the
IDataSetConsumerinterface. - DefaultConsumer() - Constructor for class org.dbunit.dataset.stream.DefaultConsumer
- DefaultDatabaseTester - Class in org.dbunit
-
Default implementation of AbstractDatabaseTester, which does not know how to get a connection by itself.
- DefaultDatabaseTester(CachingConnectionProvider, Callable<IDatabaseConnection>) - Constructor for class org.dbunit.DefaultDatabaseTester
-
Creates a new DefaultDatabaseTester that reuses one connection - created with the given factory - across calls via the given
CachingConnectionProvider, transparently replacing it if it is no longer alive.
Share the sameconnectionProviderinstance across the testers created for each test to get reuse across test methods; pair it withIOperationListener.NO_OP_OPERATION_LISTENER(or an equivalent non-closing listener) so the cached connection is not closed after everyAbstractDatabaseTester.onSetup()/AbstractDatabaseTester.onTearDown()call. - DefaultDatabaseTester(IDatabaseConnection) - Constructor for class org.dbunit.DefaultDatabaseTester
-
Creates a new DefaultDatabaseTester with the supplied connection.
The same connection instance is returned by everyDefaultDatabaseTester.getConnection()call, with no liveness check. - DefaultDataSet - Class in org.dbunit.dataset
-
Simple implementation of a dataset backed by
ITableobjects which can be added dynamically. - DefaultDataSet() - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Default constructor.
- DefaultDataSet(boolean) - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Creates a default dataset which is empty initially
- DefaultDataSet(ITable) - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Creates a default dataset consisting of the given table.
- DefaultDataSet(ITable[]) - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Creates a default dataset consisting of the given tables.
- DefaultDataSet(ITable[], boolean) - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Creates a default dataset which consists of the given tables
- DefaultDataSet(ITable, ITable) - Constructor for class org.dbunit.dataset.DefaultDataSet
-
Creates a default dataset consisting of the given tables.
- DefaultDataTypeFactory - Class in org.dbunit.dataset.datatype
-
Generic factory that handle standard JDBC types.
- DefaultDataTypeFactory() - Constructor for class org.dbunit.dataset.datatype.DefaultDataTypeFactory
- DefaultExpectedDataSetAndVerifyTableDefinitionVerifier - Class in org.dbunit
-
Default implementation for
ExpectedDataSetAndVerifyTableDefinitionVerifierwhich logs the mismatches and fails the test when an expected table does not have a VerifyTableDefinition. - DefaultExpectedDataSetAndVerifyTableDefinitionVerifier() - Constructor for class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
- DefaultFailureFactory() - Constructor for class org.dbunit.assertion.DefaultFailureHandler.DefaultFailureFactory
- DefaultFailureHandler - Class in org.dbunit.assertion
-
Default implementation of the
FailureHandler. - DefaultFailureHandler() - Constructor for class org.dbunit.assertion.DefaultFailureHandler
-
Default constructor which does not provide any additional column information.
- DefaultFailureHandler(String[]) - Constructor for class org.dbunit.assertion.DefaultFailureHandler
-
Create a default failure handler
- DefaultFailureHandler(Column[]) - Constructor for class org.dbunit.assertion.DefaultFailureHandler
-
Create a default failure handler
- DefaultFailureHandler.DefaultFailureFactory - Class in org.dbunit.assertion
-
Default failure factory which returns DBUnits own assertion error instances.
- DefaultMetadataHandler - Class in org.dbunit.database
-
Default implementation of
IMetadataHandlerwhich works for the most databases. - DefaultMetadataHandler() - Constructor for class org.dbunit.database.DefaultMetadataHandler
- DefaultOperationListener - Class in org.dbunit
-
Default implementation of the
IOperationListener. - DefaultOperationListener() - Constructor for class org.dbunit.DefaultOperationListener
- DefaultPrepAndExpectedTestCase - Class in org.dbunit
-
Test case base class supporting prep data and expected data.
- DefaultPrepAndExpectedTestCase() - Constructor for class org.dbunit.DefaultPrepAndExpectedTestCase
-
Create new instance.
- DefaultPrepAndExpectedTestCase(String) - Constructor for class org.dbunit.DefaultPrepAndExpectedTestCase
-
Create new instance with specified test case name.
- DefaultPrepAndExpectedTestCase(DataFileLoader, IDatabaseTester) - Constructor for class org.dbunit.DefaultPrepAndExpectedTestCase
-
Create new instance with specified dataFileLoader and databaseTester.
- DefaultPrepAndExpectedTestCase(DataFileLoader, IDatabaseTester, boolean) - Constructor for class org.dbunit.DefaultPrepAndExpectedTestCase
-
Create new instance with specified dataFileLoader and databaseTester.
- DefaultTable - Class in org.dbunit.dataset
-
Default table implementation backed by a simple java in-memory list.
- DefaultTable(String) - Constructor for class org.dbunit.dataset.DefaultTable
-
Creates a new empty table having the specified name.
- DefaultTable(String, Column[]) - Constructor for class org.dbunit.dataset.DefaultTable
-
Creates a new empty table with specified metadata.
- DefaultTable(String, Column[], List) - Constructor for class org.dbunit.dataset.DefaultTable
-
Deprecated.Use public mutators to initialize table values instead
- DefaultTable(ITableMetaData) - Constructor for class org.dbunit.dataset.DefaultTable
-
Creates a new empty table with the specified metadata.
- DefaultTable(ITableMetaData, List) - Constructor for class org.dbunit.dataset.DefaultTable
-
Deprecated.Use public mutators to initialize table values instead
- DefaultTableFilter - Class in org.dbunit.dataset.filter
-
This filter exposes only tables matching include patterns and not matching exclude patterns.
- DefaultTableFilter() - Constructor for class org.dbunit.dataset.filter.DefaultTableFilter
- DefaultTableIterator - Class in org.dbunit.dataset
-
ITableIteratorover a fixed, in-memory array ofITables. - DefaultTableIterator(ITable[]) - Constructor for class org.dbunit.dataset.DefaultTableIterator
-
Creates an iterator over the given tables, in their given order.
- DefaultTableIterator(ITable[], boolean) - Constructor for class org.dbunit.dataset.DefaultTableIterator
-
Creates an iterator over the given tables, optionally in reverse order.
- DefaultTableMetaData - Class in org.dbunit.dataset
-
Straightforward
ITableMetaDataimplementation holding an explicit table name, column list, and primary keys. - DefaultTableMetaData(String, Column[]) - Constructor for class org.dbunit.dataset.DefaultTableMetaData
-
Creates metadata for a table with no primary keys.
- DefaultTableMetaData(String, Column[], String[]) - Constructor for class org.dbunit.dataset.DefaultTableMetaData
-
Creates metadata for a table with the given primary key column names.
- DefaultTableMetaData(String, Column[], Column[]) - Constructor for class org.dbunit.dataset.DefaultTableMetaData
-
Creates metadata for a table with the given primary key columns.
- DefaultValueComparerDefaults - Class in org.dbunit.assertion.comparer.value
-
Default implementation for the
ValueComparerDefaults. - DefaultValueComparerDefaults() - Constructor for class org.dbunit.assertion.comparer.value.DefaultValueComparerDefaults
- DefaultVerifyTableDefinitionVerifier - Class in org.dbunit.assertion.comparer.value.verifier
-
Default implementation for
VerifyTableDefinitionVerifierwhich throwsIllegalStateExceptionon configuration conflicts. - DefaultVerifyTableDefinitionVerifier() - Constructor for class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
- DELETE - Static variable in class org.dbunit.operation.DatabaseOperation
-
Deletes rows matching the dataset's primary keys.
- DELETE_ALL - Static variable in class org.dbunit.operation.DatabaseOperation
-
Deletes all rows of the dataset's tables.
- DeleteAllOperation - Class in org.dbunit.operation
-
Deletes all rows of tables present in the specified dataset.
- deleteDirectory(File) - Static method in class org.dbunit.util.FileHelper
-
Recursively deletes the given directory
- deleteDirectory(File, boolean) - Static method in class org.dbunit.util.FileHelper
-
Recursively deletes the given directory
- DeleteOperation - Class in org.dbunit.operation
-
Deletes only the dataset contents from the database.
- DENY_MODE - Static variable in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Only nodes set via
AbstractNodesFilterSearchCallback.setDeniedNodes(Set)are denied. - DepthFirstSearch - Class in org.dbunit.util.search
-
Search using depth-first algorithm.
An instance of this class must be used only once, as it maintains the internal state of the search.
- DepthFirstSearch() - Constructor for class org.dbunit.util.search.DepthFirstSearch
-
Creates a new depth-first algorithm using the maximum search depth for recursing over the nodes.
- DepthFirstSearch(int) - Constructor for class org.dbunit.util.search.DepthFirstSearch
-
Creates a new depth-first algorithm
- deq() - Method in class org.dbunit.util.concurrent.SynchronousChannel.Queue
-
Removes and returns the node at the front of the queue.
- determineAndSetRowValue(Attributes, ITableMetaData, Object[], int) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
-
Resolves the given attribute's column index in the active metadata and stores its value at that index in rowValues.
- determineFailureHandler(FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the given failure handler, or the default one if the given handler is
null. - determineValidColumnValueComparers(Map<String, ValueComparer>, String) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the given per-column value comparer map, or
ValueComparerDefaults.getDefaultColumnValueComparerMapForTable(String)for the given table if the given map isnull. - determineValidDefaultValueComparer(ValueComparer) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the given default value comparer, or
ValueComparerDefaults.getDefaultValueComparer()if the given comparer isnull. - determineValidTableColumnValueComparers(Map<String, Map<String, ValueComparer>>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the given per-table, per-column value comparer map, or
ValueComparerDefaults.getDefaultTableColumnValueComparerMap()if the given map isnull. - determineValueComparer(String, ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the value comparer configured for the given column, or the default value comparer if the column has none configured.
- DiffCollectingFailureHandler - Class in org.dbunit.assertion
-
A
FailureHandlerthat collects theDifferences that were found without throwing an exception. - DiffCollectingFailureHandler() - Constructor for class org.dbunit.assertion.DiffCollectingFailureHandler
- Difference - Class in org.dbunit.assertion
-
Value object to hold the difference of a single data cell found while comparing data.
- Difference(ITable, ITable, int, String, Object, Object) - Constructor for class org.dbunit.assertion.Difference
-
Creates a difference with no fail message.
- Difference(ITable, ITable, int, String, Object, Object, String) - Constructor for class org.dbunit.assertion.Difference
-
Creates a difference with the given fail message.
- DifferenceListener - Interface in org.dbunit.assertion
-
Callback for
DbUnitAssertto notify about the differences found during an assertion. - divide(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Divide value by factor (i.e., set value /= factor)
- doCompare(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ConditionalSelectorMultiValueComparer
- doCompare(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ConditionalSetBiValueComparer
- doCompare(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ValueComparerBase
-
Do the comparison and return a fail message or null if comparison passes.
- doCompare(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ValueComparerTemplateBase
-
Do the comparison and return a fail message or null if comparison passes.
- DOUBLE - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL DOUBLE type.
- DOUBLE - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
DOUBLEtype. - DoubleDataType - Class in org.dbunit.dataset.datatype
- doVerify(String, String[], Map<String, ValueComparer>) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
-
Verify the columnExclusionFilters and columnValueComparers agree.
- duration - Variable in exception class org.dbunit.util.concurrent.TimeoutException
-
The approximate time that the operation lasted before this timeout exception was thrown.
E
- Edge - Class in org.dbunit.util.search
-
Basic implementation of the
IEdgeinterface. - Edge(Comparable<String>, Comparable<String>) - Constructor for class org.dbunit.util.search.Edge
-
Creates an edge between the given nodes.
- edgeAdded(ForeignKeyRelationshipEdge) - Method in class org.dbunit.database.PrimaryKeyFilter
-
Records the given foreign key relationship in the direct and reverse edge caches.
- elementDecl(String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- emptySlots_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
Number of free slots (capacity - length).
- enablePrettyPrint(boolean) - Method in class org.dbunit.util.xml.XmlWriter
-
Turn pretty printing on or off.
- ENCODE - Static variable in class org.dbunit.util.Base64
-
Specify encoding (value is
true). - encodeBytes(byte[]) - Static method in class org.dbunit.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class org.dbunit.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeObject(Serializable) - Static method in class org.dbunit.util.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeString(String) - Static method in class org.dbunit.util.Base64
-
Encodes a string in Base64 notation with line breaks after every 75 Base64 characters.
- endCDATA() - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- endDataSet() - Method in class org.dbunit.dataset.CachedDataSet
- endDataSet() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Receive notification of the end of a dataset.
- endDataSet() - Method in class org.dbunit.dataset.stream.BufferedConsumer
- endDataSet() - Method in class org.dbunit.dataset.stream.DefaultConsumer
- endDataSet() - Method in interface org.dbunit.dataset.stream.IDataSetConsumer
-
Receive notification of the end of a dataset.
- endDataSet() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- endDataSet() - Method in class org.dbunit.dataset.xml.FlatXmlWriter
- endDataSet() - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
- endDTD() - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- endElement() - Method in class org.dbunit.util.xml.XmlWriter
-
End the current element.
- endElement(String, String, String) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- endElement(String, String, String) - Method in class org.dbunit.dataset.xml.XmlProducer
- endEntity(String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- ENDPIECE() - Constructor for class org.dbunit.dataset.common.handlers.SeparatorHandler.ENDPIECE
- ENDPIECE() - Static method in class org.dbunit.dataset.common.handlers.SeparatorHandler
-
Creates a handler that ends the current field on the separator character.
- endTable() - Method in class org.dbunit.dataset.CachedDataSet
- endTable() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
- endTable() - Method in class org.dbunit.dataset.stream.BufferedConsumer
- endTable() - Method in class org.dbunit.dataset.stream.DefaultConsumer
- endTable() - Method in interface org.dbunit.dataset.stream.IDataSetConsumer
-
Receive notification of the end of a table.
- endTable() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- endTable() - Method in class org.dbunit.dataset.xml.FlatXmlWriter
- endTable() - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
- ENFORCE(PipelineComponent) - Static method in class org.dbunit.dataset.common.handlers.EnforceHandler
-
Creates a handler that enforces the given component to handle the character.
- ENFORCE(PipelineComponent[]) - Static method in class org.dbunit.dataset.common.handlers.EnforceHandler
-
Creates a handler that enforces the first of the given components able to handle the character.
- EnforceHandler - Class in org.dbunit.dataset.common.handlers
-
Pipeline component that delegates to the first wrapped
PipelineComponentable to handle a character, throwingIllegalInputCharacterExceptionif none of them can. - enq(LinkedNode) - Method in class org.dbunit.util.concurrent.SynchronousChannel.Queue
-
Appends the given node to the end of the queue.
- equals(Object) - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
- equals(Object) - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
- equals(Object) - Method in class org.dbunit.dataset.Column
- equals(Object) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
- equals(Object) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
- equals(Object) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
- equals(Object) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
- equals(Object) - Method in class org.dbunit.util.concurrent.SynchronizedInt
- equals(Object) - Method in class org.dbunit.util.search.Edge
- equalsIgnoreMapping(BitSet, ITable, int) - Method in class org.dbunit.operation.InsertOperation
- error(SAXParseException) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- error(SAXParseException) - Method in class org.dbunit.dataset.xml.XmlProducer
- escape(String) - Static method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Escapes quote and backslash characters in the given string by prefixing them with a backslash.
- ESCAPE() - Static method in class org.dbunit.dataset.common.handlers.EscapeHandler
-
Creates a handler that processes the escape character by enforcing the next character to be accepted literally.
- EscapeHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches the CSV escape character. - excludeColumn(String) - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Add a new refused column name pattern for all tables.
- excludeColumns(Column[]) - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Add specified columns to excluded column name list.
- excludedColumnsTable(ITable, String[]) - Static method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Returns a table backed by the specified table but with specified columns excluded.
- excludedColumnsTable(ITable, Column[]) - Static method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Returns a table backed by the specified table but with specified columns excluded.
- excludeTable(String) - Method in class org.dbunit.dataset.filter.DefaultTableFilter
-
Add a new refused table pattern name.
- excludeTable(String) - Method in class org.dbunit.dataset.filter.ExcludeTableFilter
-
Add a new refused table pattern name.
- ExcludeTableFilter - Class in org.dbunit.dataset.filter
-
This filter hides specified tables from the filtered dataset.
- ExcludeTableFilter() - Constructor for class org.dbunit.dataset.filter.ExcludeTableFilter
-
Create a new empty ExcludeTableFilter.
- ExcludeTableFilter(String[]) - Constructor for class org.dbunit.dataset.filter.ExcludeTableFilter
-
Create a new ExcludeTableFilter which prevent access to specified tables.
- ExclusiveTransactionException - Exception Class in org.dbunit.operation
-
Signals that a transaction could not be started because another transaction is already active.
- ExclusiveTransactionException() - Constructor for exception class org.dbunit.operation.ExclusiveTransactionException
-
Constructs an
ExclusiveTransactionExceptionwith no detail message and no encapsulated exception. - ExclusiveTransactionException(String) - Constructor for exception class org.dbunit.operation.ExclusiveTransactionException
-
Constructs an
ExclusiveTransactionExceptionwith the specified detail message and no encapsulated exception. - ExclusiveTransactionException(String, Throwable) - Constructor for exception class org.dbunit.operation.ExclusiveTransactionException
-
Constructs an
ExclusiveTransactionExceptionwith the specified detail message and encapsulated exception. - ExclusiveTransactionException(Throwable) - Constructor for exception class org.dbunit.operation.ExclusiveTransactionException
-
Constructs an
ExclusiveTransactionExceptionwith the encapsulated exception and use its message as detail message. - execute() - Method in class org.dbunit.ant.DbUnitTask
-
Load the step and then execute it.
- execute(Runnable) - Method in interface org.dbunit.util.concurrent.Executor
-
Execute the given command.
- execute(Runnable) - Method in class org.dbunit.util.concurrent.SynchronizedVariable
-
If current thread is not interrupted, execute the given command within this object's lock
- execute(IDatabaseConnection) - Method in class org.dbunit.ant.Compare
- execute(IDatabaseConnection) - Method in interface org.dbunit.ant.DbUnitTaskStep
-
Executes this step using the given database connection.
- execute(IDatabaseConnection) - Method in class org.dbunit.ant.Export
- execute(IDatabaseConnection) - Method in class org.dbunit.ant.Operation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.ext.mssql.InsertIdentityOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.AbstractBatchOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.CloseConnectionOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.CompositeOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.DatabaseOperation
-
Executes this operation on the specified database using the specified dataset contents.
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.DeleteAllOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.RefreshOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.TransactionOperation
- execute(IDatabaseConnection, IDataSet) - Method in class org.dbunit.operation.TruncateTableOperation
- executeBatch() - Method in class org.dbunit.database.statement.AutomaticPreparedBatchStatement
- executeBatch() - Method in class org.dbunit.database.statement.BatchStatement
- executeBatch() - Method in class org.dbunit.database.statement.BatchStatementDecorator
- executeBatch() - Method in class org.dbunit.database.statement.CompoundStatement
- executeBatch() - Method in interface org.dbunit.database.statement.IBatchStatement
-
Executes the accumulated batch of SQL statements.
- executeBatch() - Method in interface org.dbunit.database.statement.IPreparedBatchStatement
-
Executes all batched rows.
- executeBatch() - Method in class org.dbunit.database.statement.PreparedBatchStatement
- executeBatch() - Method in class org.dbunit.database.statement.SimplePreparedStatement
- executeBatch() - Method in class org.dbunit.database.statement.SimpleStatement
- Executor - Interface in org.dbunit.util.concurrent
-
Interface for objects that execute Runnables, as well as various objects that can be wrapped as Runnables.
- ExpectedDataSetAndVerifyTableDefinitionVerifier - Interface in org.dbunit
-
Strategy pattern for verifying
VerifyTableDefinitions and expectedDataSet configurations agree, e.g. have the same number of tables defined. - Export - Class in org.dbunit.ant
-
The
Exportclass is the step that facilitates exporting the contents of the database and/or it's corresponding DTD to a file. - Export() - Constructor for class org.dbunit.ant.Export
-
Default constructor.
- EXPORT - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Identifies a lookup of exported (outgoing) foreign keys.
- ExportedKeysSearchCallback - Class in org.dbunit.database.search
-
ISearchCallback implementation that get the nodes using direct foreign key dependency, i.e, if table A has a FK for a table B, then getNodes(B) will return A.
- ExportedKeysSearchCallback(IDatabaseConnection) - Constructor for class org.dbunit.database.search.ExportedKeysSearchCallback
-
Creates a callback that gets the nodes reachable via exported (reverse) foreign keys.
- externalEntityDecl(String, String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- extract() - Method in class org.dbunit.util.concurrent.BoundedBuffer
-
Removes and returns the element at takePtr_.
- extract() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Main mechanics for take/poll
- extract() - Method in class org.dbunit.util.concurrent.LinkedQueue
-
Main mechanics for take/poll.
- extract() - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Internal mechanics of take.
- extract() - Method in class org.dbunit.util.concurrent.Slot
-
Take item known to exist
F
- fail(String) - Method in class org.dbunit.assertion.SimpleAssert
-
Reports a failure through this instance's
FailureHandler. - failIfColumnValueComparersHaveExcludedColumn(String, String, Map<String, ValueComparer>) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
-
Fails with an
IllegalStateExceptionif the given columnName has both a column exclusion and a specificValueComparerconfigured. - failIfNecessary(ITable, ITable, FailureHandler, int, String, Object, Object, String) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Reports a failure to the given failure handler if the given fail message is not
null. - failOnMismatch(DatabaseConfig, Set<String>) - Method in class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
-
Fails with a
DataSetExceptionlisting the mismatched tables, unlessDatabaseConfig.PROPERTY_ALLOW_VERIFYTABLEDEFINITION_EXPECTEDTABLE_COUNT_MISMATCHis set. - FailureFactory - Interface in org.dbunit.assertion
-
Factory to create exceptions for the testing framework to be used, for example JUnit, TestNG or dbunit exceptions.
- FailureHandler - Interface in org.dbunit.assertion
-
Handles the failure of an assertion.
- Feature() - Constructor for class org.dbunit.ant.DbConfig.Feature
- FEATURE_ALLOW_EMPTY_FIELDS - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether empty fields are allowed in flat XML datasets.
- FEATURE_BATCHED_STATEMENTS - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether batched statements are used.
- FEATURE_CASE_SENSITIVE_TABLE_NAMES - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether table names are treated as case sensitive.
- FEATURE_DATATYPE_WARNING - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether unsupported data type warnings are logged.
- FEATURE_QUALIFIED_TABLE_NAMES - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether table names are qualified with the schema name.
- FEATURE_SKIP_CYCLE_CHECK - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether
DatabaseSequenceFilterskips its foreign-key dependency cycle check instead of throwingCyclicTablesDependencyException. - FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether Oracle recycle bin tables are skipped.
- FEATURE_SORT_ALL_COLUMNS_WHEN_NO_PRIMARY_KEY - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the feature controlling whether all columns are used for sorting when a table has no primary key.
- FileHelper - Class in org.dbunit.util
-
Utility that provides some general methods for working with
Fileobjects. - fillInStackTrace() - Method in exception class org.dbunit.dataset.RowOutOfBoundsException
-
Suppresses stack trace capture.
- filter(ResultSet, InMemoryMetadataResultSet.RowFilter) - Static method in class org.dbunit.database.InMemoryMetadataResultSet
-
Copies the rows of the given result set that match the given filter, closing it as it is consumed, and returns a filtered
ResultSetpositioned before the first row. - FilteredDataSet - Class in org.dbunit.dataset
-
Decorates a dataset and exposes only some tables from it.
- FilteredDataSet(String[], IDataSet) - Constructor for class org.dbunit.dataset.FilteredDataSet
-
Creates a FilteredDataSet that decorates the specified dataset and exposes only the specified tables using
SequenceTableFilteras filtering strategy. - FilteredDataSet(ITableFilter, IDataSet) - Constructor for class org.dbunit.dataset.FilteredDataSet
-
Creates a FilteredDataSet that decorates the specified dataset and exposes only the tables allowed by the specified filter.
- FilteredTableMetaData - Class in org.dbunit.dataset
-
ITableMetaDatathat exposes only the columns accepted by anIColumnFilter. - FilteredTableMetaData(ITableMetaData, IColumnFilter) - Constructor for class org.dbunit.dataset.FilteredTableMetaData
-
Creates metadata exposing only the columns of the given metadata accepted by the given filter.
- finalize() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
- findByName(String) - Static method in class org.dbunit.database.DatabaseConfig
-
Searches the
DatabaseConfig.ConfigPropertyobject for the property with the given name - findByShortName(String) - Static method in class org.dbunit.database.DatabaseConfig
-
Searches the
DatabaseConfig.ConfigPropertyobject for the property with the given name - findCellStyle(Workbook, Short, Map<Short, CellStyle>) - Static method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Returns the cell style for the given format code from the given cache, creating and caching one if absent.
- findColumnsByName(String[], ITableMetaData) - Static method in class org.dbunit.dataset.Columns
- findColumnsByName(Column[], ITableMetaData) - Static method in class org.dbunit.dataset.Columns
- findOrMakeColumnMap(String) - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Returns the column map for the given table, creating and registering one if absent.
- findToleratedDelta(String, String) - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap
-
Lookup a tolerated delta object by tableName and ColumnName.
- findWorkbookCellStyleMap(Workbook) - Static method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Returns the cell style cache for the given workbook, creating one if absent.
- firePropertyChange(PropertyChangeEvent) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Fire an existing PropertyChangeEvent to any registered listeners.
- firePropertyChange(String, boolean, boolean) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Report a boolean bound property update to any registered listeners.
- firePropertyChange(String, int, int) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Report an int bound property update to any registered listeners.
- firePropertyChange(String, Object, Object) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Report a bound property update to any registered listeners.
- FIVE_MINUTES_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Five minutes, in milliseconds.
- FIVE_SECONDS_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Five seconds, in milliseconds.
- FK_INDEXES - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Result set column indexes, by
AbstractMetaDataBasedSearchCallback.IMPORT/AbstractMetaDataBasedSearchCallback.EXPORT, holding the foreign key column name. - FKRelationshipEdge - Class in org.dbunit.database.search
-
Deprecated.this class duplicates
ForeignKeyRelationshipEdgeand should be removed - FKRelationshipEdge(String, String, String, String) - Constructor for class org.dbunit.database.search.FKRelationshipEdge
-
Deprecated.Creates an edge representing a FK.
- FlatDtdDataSet - Class in org.dbunit.dataset.xml
-
IDataSetbuilt by consuming table metadata declared in a flat DTD document. - FlatDtdDataSet() - Constructor for class org.dbunit.dataset.xml.FlatDtdDataSet
-
Default constructor.
- FlatDtdDataSet(InputStream) - Constructor for class org.dbunit.dataset.xml.FlatDtdDataSet
-
Creates a dataset from the DTD content of the given input stream.
- FlatDtdDataSet(Reader) - Constructor for class org.dbunit.dataset.xml.FlatDtdDataSet
-
Creates a dataset from the DTD content of the given reader.
- FlatDtdDataSet(IDataSetProducer) - Constructor for class org.dbunit.dataset.xml.FlatDtdDataSet
-
Creates a dataset that synchronously consumes the specified producer.
- FlatDtdProducer - Class in org.dbunit.dataset.xml
-
Produces a DataSet from a flat DTD.
- FlatDtdProducer() - Constructor for class org.dbunit.dataset.xml.FlatDtdProducer
-
Default constructor.
- FlatDtdProducer(InputSource) - Constructor for class org.dbunit.dataset.xml.FlatDtdProducer
-
Creates a producer that reads the DTD from the given input source.
- FlatDtdWriter - Class in org.dbunit.dataset.xml
-
Writes a flat DTD document describing a dataset's tables and columns.
- FlatDtdWriter(Writer) - Constructor for class org.dbunit.dataset.xml.FlatDtdWriter
-
Creates a writer that writes DTD content to the given writer, using the sequence content model.
- FlatDtdWriter.ChoiceModel - Class in org.dbunit.dataset.xml
-
FlatDtdWriter.ContentModelthat renders table names as a pipe-separated choice group. - FlatDtdWriter.ContentModel - Class in org.dbunit.dataset.xml
-
Abstract strategy for rendering a DTD element's content model (the part between the parentheses in an <!
- FlatDtdWriter.SequenceModel - Class in org.dbunit.dataset.xml
-
FlatDtdWriter.ContentModelthat renders table names as a comma-separated, ordered sequence. - FlatXmlDataFileLoader - Class in org.dbunit.util.fileloader
-
DataFileLoaderthat loads flat XML dataset files. - FlatXmlDataFileLoader() - Constructor for class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Create new instance.
- FlatXmlDataFileLoader(Map) - Constructor for class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Create new instance with replacement objects.
- FlatXmlDataFileLoader(Map, Map) - Constructor for class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Create new instance with replacement objects and replacement substrings.
- FlatXmlDataFileLoader(Map, Map, FlatXmlDataSetBuilder) - Constructor for class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Create new instance with replacement objects, replacement substrings, and
FlatXmlDataSetBuilder. - FlatXmlDataFileLoader(FlatXmlDataSetBuilder) - Constructor for class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Create new instance with a
FlatXmlDataSetBuilder. - FlatXmlDataSet - Class in org.dbunit.dataset.xml
-
Reads and writes flat XML dataset document.
- FlatXmlDataSet(File) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(File, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(File, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(File, boolean, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(InputStream) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(InputStream, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(InputStream, InputStream) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(InputStream, IDataSet) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(Reader) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(Reader, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(Reader, boolean, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(Reader, Reader) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(Reader, IDataSet) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(URL) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(URL, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(URL, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(URL, boolean, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSet(FlatXmlProducer) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Creates a new
FlatXmlDataSetwith the data of the given producer. - FlatXmlDataSet(InputSource) - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSet
-
Deprecated.since 2.4.7 - use
FlatXmlDataSetBuilderto create aFlatXmlDataSet - FlatXmlDataSetBuilder - Class in org.dbunit.dataset.xml
-
Builder for the creation of
FlatXmlDataSetinstances. - FlatXmlDataSetBuilder() - Constructor for class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Default constructor
- FlatXmlProducer - Class in org.dbunit.dataset.xml
-
IDataSetProducerthat parses a flat XML dataset document via SAX and streams table/row events. - FlatXmlProducer(InputSource) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source, with DTD metadata enabled.
- FlatXmlProducer(InputSource, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source.
- FlatXmlProducer(InputSource, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source.
- FlatXmlProducer(InputSource, boolean, boolean, boolean) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source.
- FlatXmlProducer(InputSource, IDataSet) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source, using the given dataset as the source of metadata instead of parsing a DTD.
- FlatXmlProducer(InputSource, EntityResolver) - Constructor for class org.dbunit.dataset.xml.FlatXmlProducer
-
Creates a producer that reads the given XML source, with DTD metadata enabled and resolved using the given entity resolver.
- FlatXmlWriter - Class in org.dbunit.dataset.xml
-
IDataSetConsumerthat writes a dataset to the DbUnit flat XML dataset format. - FlatXmlWriter(OutputStream) - Constructor for class org.dbunit.dataset.xml.FlatXmlWriter
-
Creates a writer that writes XML to the given output stream, using the platform default charset.
- FlatXmlWriter(OutputStream, Charset) - Constructor for class org.dbunit.dataset.xml.FlatXmlWriter
-
Creates a writer that writes XML to the given output stream.
- FlatXmlWriter(Writer) - Constructor for class org.dbunit.dataset.xml.FlatXmlWriter
-
Creates a writer that writes XML to the given writer.
- FlatXmlWriter(Writer, Charset) - Constructor for class org.dbunit.dataset.xml.FlatXmlWriter
-
Creates a writer that writes XML to the given writer.
- FLOAT - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL FLOAT type.
- FLOAT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
FLOATtype. - FloatDataType - Class in org.dbunit.dataset.datatype
- flush() - Method in class org.dbunit.util.Base64.OutputStream
-
Appropriately pads Base64 notation when encoding or throws an exception if Base64 input is not properly padded when decoding.
- flush() - Method in class org.dbunit.util.xml.XmlWriter
-
Flushes the underlying writer, without
XmlWriter.close()'s unclosed-tags check. - ForeignKeyRelationshipEdge - Class in org.dbunit.database.search
-
Implementation of an edge representing a foreign key (FK) relationship between two tables.
Thefromnode is the table which have the FK, while thetonode is the table with the PK. - ForeignKeyRelationshipEdge(String, String, String, String) - Constructor for class org.dbunit.database.search.ForeignKeyRelationshipEdge
-
Creates an edge representing a FK.
- format(ITable) - Method in class org.dbunit.util.TableFormatter
-
Formats a table with all data in a beautiful way.
- FORMAT_CSV - Static variable in class org.dbunit.ant.AbstractStep
-
CSV data format identifier.
- FORMAT_DTD - Static variable in class org.dbunit.ant.AbstractStep
-
DTD (metadata-only) format identifier.
- FORMAT_FLAT - Static variable in class org.dbunit.ant.AbstractStep
-
Flat XML data format identifier.
- FORMAT_JSON - Static variable in class org.dbunit.ant.AbstractStep
-
JSON data format identifier.
- FORMAT_XLS - Static variable in class org.dbunit.ant.AbstractStep
-
Excel data format identifier.
- FORMAT_XML - Static variable in class org.dbunit.ant.AbstractStep
-
XML data format identifier.
- FORMAT_YML - Static variable in class org.dbunit.ant.AbstractStep
-
YAML data format identifier.
- forObject(Object) - Static method in class org.dbunit.dataset.datatype.DataType
-
Returns the
DataTypecorresponding to the specified value runtime class. - forSqlType(int) - Static method in class org.dbunit.dataset.datatype.DataType
-
Returns the
DataTypecorresponding to the specified Sql type. - forSqlTypeName(String) - Static method in class org.dbunit.dataset.datatype.DataType
-
Deprecated.Should not be used anymore
- ForwardOnlyDataSet - Class in org.dbunit.dataset
-
Decorator that allows forward only access to decorated dataset.
- ForwardOnlyDataSet(IDataSet) - Constructor for class org.dbunit.dataset.ForwardOnlyDataSet
-
Creates a forward-only decorator over the given dataset.
- ForwardOnlyResultSetTable - Class in org.dbunit.database
-
IResultSetTableimplementation backed by a forward-only, non-cachedResultSet. - ForwardOnlyResultSetTable(String, String, IDatabaseConnection) - Constructor for class org.dbunit.database.ForwardOnlyResultSetTable
-
Creates a table from a table name, SQL statement, and connection.
- ForwardOnlyResultSetTable(ITableMetaData, ResultSet) - Constructor for class org.dbunit.database.ForwardOnlyResultSetTable
-
Creates a table wrapping the given already-executed result set.
- ForwardOnlyResultSetTable(ITableMetaData, IDatabaseConnection) - Constructor for class org.dbunit.database.ForwardOnlyResultSetTable
-
Creates a table from a metadata descriptor and a connection, using a forward-only result set.
- ForwardOnlyResultSetTableFactory - Class in org.dbunit.database
-
IResultSetTableFactorythat creates forward-only, non-cachedIResultSetTableinstances. - ForwardOnlyResultSetTableFactory() - Constructor for class org.dbunit.database.ForwardOnlyResultSetTableFactory
- ForwardOnlyTable - Class in org.dbunit.dataset
-
ITabledecorator that wraps another table and enforces forward-only, non-counted row access. - ForwardOnlyTable(ITable) - Constructor for class org.dbunit.dataset.ForwardOnlyTable
-
Creates a forward-only decorator over the given table.
- FOUR_MINUTES_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Four minutes, in milliseconds.
- FOUR_SECONDS_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Four seconds, in milliseconds.
- FullXmlDataFileLoader - Class in org.dbunit.util.fileloader
-
DataFileLoaderthat loads full-format XML dataset files. - FullXmlDataFileLoader() - Constructor for class org.dbunit.util.fileloader.FullXmlDataFileLoader
-
Create new instance.
- FullXmlDataFileLoader(Map) - Constructor for class org.dbunit.util.fileloader.FullXmlDataFileLoader
-
Create new instance with replacement objects.
- FullXmlDataFileLoader(Map, Map) - Constructor for class org.dbunit.util.fileloader.FullXmlDataFileLoader
-
Create new instance with replacement objects and replacement substrings.
G
- GeneratedColumnFilter - Class in org.dbunit.dataset.filter
-
Column filter that filters out generated columns.
- GeneratedColumnFilter() - Constructor for class org.dbunit.dataset.filter.GeneratedColumnFilter
- GenericEnumType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between Postgresql native Enum type and Strings.
- GenericEnumType(String) - Constructor for class org.dbunit.ext.postgresql.GenericEnumType
-
Creates a data type adapter for the given Postgres enum type.
- GeometryType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between PostGIS native geometry type and Strings.
- GeometryType() - Constructor for class org.dbunit.ext.postgresql.GeometryType
-
Default constructor.
- get() - Static method in class org.dbunit.util.concurrent.DefaultChannelCapacity
-
Get the default capacity used in default (no-argument) constructor for BoundedChannels that otherwise require a capacity argument.
- get() - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Return the current value
- get(String) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Returns the primary keys allowed for the given table.
- get(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Returns the object associated with the given table name
- getActual() - Method in exception class org.dbunit.assertion.DbComparisonFailure
-
Returns the actual value.
- getActual() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Returns the columns that exist in the actual result but not in the expected.
- getActualAsString() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Returns
Columns.ColumnDiff.getActual()as a formatted string. - getActualTable() - Method in class org.dbunit.assertion.Difference
-
Returns the table containing the actual results.
- getActualValue() - Method in class org.dbunit.assertion.Difference
-
Returns the actual cell value.
- getAdditionalInfo(ITable, ITable, int, String) - Method in class org.dbunit.assertion.DefaultFailureHandler
- getAdditionalInfo(ITable, ITable, int, String) - Method in interface org.dbunit.assertion.FailureHandler
-
Returns a string to be appended to the assertion failure message.
- getAllDataset(IDatabaseConnection, String, Set) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a dataset with the given root table plus every table that directly or transitively depends on or is depended on by it, filtered to the given allowed primary keys.
- getAllDataset(IDatabaseConnection, PrimaryKeyFilter.PkTableMap) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a dataset with the given root tables plus every table that directly or transitively depends on or is depended on by them, filtered to the given allowed primary keys.
- getAllDependentTables(IDatabaseConnection, String) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Get the name of all tables that depend on a root table ( i.e, all tables whose PK is a FK for the root table) and also the tables the root table depends on (i.e., all tables which have a FK for the root table's PK).
- getAllDependentTables(IDatabaseConnection, String[]) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Get the name of all tables that depend on the root tables ( i.e, all tables whose PK is a FK for any of the root tables) and also the tables the root tables depends on (i.e., all tables which have a FK for any of the root table's PK).
- getArray() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the array's elements.
- getArray() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the array's elements.
- getArray(long, int) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns a range of the array's elements.
- getArray(long, int) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns a range of the array's elements.
- getAutoIncrement() - Method in class org.dbunit.dataset.Column
-
Returns the auto-increment property for this column.
- getBaseType() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the JDBC type code of the array's base element type.
- getBaseType() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the JDBC type code of the array's base element type.
- getBaseTypeName() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the SQL type name of the array's base element type.
- getBaseTypeName() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the SQL type name of the array's base element type.
- getBatchSize() - Method in class org.dbunit.ant.DbUnitTask
-
Returns the size of batch inserts.
- getBuilder() - Method in class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Get the builder.
- getCastedValue(Object, DataType) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Casts the given value using the given data type, or returns it unchanged if the type is
nullorDataType.UNKNOWN. - getCellStyle(Workbook, short) - Static method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Returns the cell style for the given format code, creating and caching one if absent.
- getChild(String) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Return the child associated with property, or null if no such
- getClob(Object, Connection) - Method in class org.dbunit.ext.oracle.OracleClobDataType
-
Writes the given value into a temporary CLOB on the given connection.
- getClock() - Method in class org.dbunit.util.RelativeDateTimeParser
-
Returns the clock used to resolve
[now]. - getColumn(String, Column[]) - Static method in class org.dbunit.dataset.Columns
-
Search and return the specified column from the specified column array.
- getColumn(String, Column[]) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.since 2.3.0 - prefer usage of
Columns.getColumn(String, Column[]) - getColumnDiff(ITableMetaData, ITableMetaData) - Static method in class org.dbunit.dataset.Columns
-
Returns the column difference of the two given
ITableMetaDataobjects - getColumnExclusionFilters() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the column names excluded from verification.
- getColumnInclusionFilters() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the column names included in verification.
- getColumnIndex(String) - Method in class org.dbunit.dataset.AbstractTable
-
Returns the index of the column with the given name.
- getColumnIndex(String) - Method in class org.dbunit.dataset.AbstractTableMetaData
-
Provides the index of the column with the given name within this table.
- getColumnIndex(String) - Method in interface org.dbunit.dataset.ITableMetaData
-
Returns the column's array index of the column with the given name within this table metadata.
- getColumnName() - Method in class org.dbunit.assertion.DbUnitAssert.ComparisonColumn
-
Returns the column actually being compared.
- getColumnName() - Method in class org.dbunit.assertion.Difference
-
Returns the name of the differing column.
- getColumnName() - Method in class org.dbunit.dataset.Column
-
Returns this column name.
- getColumnName() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Returns the name of the column.
- getColumnNames(Column[]) - Static method in class org.dbunit.dataset.Columns
-
Returns the names of the given column objects as string array
- getColumnNamesAsString(Column[]) - Static method in class org.dbunit.dataset.Columns
-
Creates a pretty string representation of the given column names
- getColumns() - Method in class org.dbunit.database.DatabaseTableMetaData
- getColumns() - Method in class org.dbunit.database.ResultSetTableMetaData
- getColumns() - Method in class org.dbunit.dataset.DefaultTableMetaData
- getColumns() - Method in class org.dbunit.dataset.FilteredTableMetaData
- getColumns() - Method in interface org.dbunit.dataset.ITableMetaData
-
Returns this table columns as recognized by dbunit.
- getColumns() - Method in class org.dbunit.dataset.LowerCaseTableMetaData
- getColumns() - Method in class org.dbunit.operation.OperationData
-
Returns the columns whose values are bound as the statement's parameters.
- getColumns(String[], Column[]) - Static method in class org.dbunit.dataset.Columns
-
Search and return the
Columns from the specified column array that match one of the givencolumnNames. - getColumns(String, Column[], IColumnFilter) - Static method in class org.dbunit.dataset.Columns
-
Search and return the columns from the specified column array which are accepted by the given
IColumnFilter. - getColumns(DatabaseMetaData, String, String) - Method in class org.dbunit.database.DefaultMetadataHandler
- getColumns(DatabaseMetaData, String, String) - Method in interface org.dbunit.database.IMetadataHandler
-
Returns the result set for an invocation of
DatabaseMetaData.getColumns(String, String, String, String). - getColumns(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MultiSchemaMySqlMetadataHandler
- getColumns(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- getColumns(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- getColumnValidated(String, Column[], String) - Static method in class org.dbunit.dataset.Columns
-
Search and return the specified column from the specified column array.
- getColumnValue(String) - Method in interface org.dbunit.dataset.IRowValueProvider
-
Returns the column value for the column with the given name of the currently processed row
- getColumnValue(String) - Method in class org.dbunit.dataset.RowFilterTable
-
Returns the column value for the column with the given name of the currently processed row
- getColumnValue(ITable, int, String) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Returns the value of the given column, resolving through a
ColumnFilterTablewrapper if needed. - getColumnValueComparers() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the per-column value comparers.
- getComparisonColumns(String, Column[], Column[], FailureHandler) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Builds the comparison columns to use for the assertion, pairing each expected column with its actual counterpart and resolving the correct datatype.
- getConfig() - Method in class org.dbunit.database.AbstractDatabaseConnection
- getConfig() - Method in interface org.dbunit.database.IDatabaseConnection
-
Returns this connection database configuration
- getConfigurator() - Method in class org.dbunit.database.DatabaseConfig
-
Returns the configurator of this database config.
- getConnection() - Method in class org.dbunit.database.DatabaseConnection
- getConnection() - Method in class org.dbunit.database.DatabaseDataSourceConnection
- getConnection() - Method in interface org.dbunit.database.IDatabaseConnection
-
Returns a JDBC database connection.
- getConnection() - Method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Get the connection where the edges will be calculated from.
- getConnection() - Method in class org.dbunit.DatabaseTestCase
-
Returns the test database connection.
- getConnection() - Method in class org.dbunit.DataSourceDatabaseTester
- getConnection() - Method in class org.dbunit.DBTestCase
- getConnection() - Method in class org.dbunit.DefaultDatabaseTester
- getConnection() - Method in interface org.dbunit.IDatabaseTester
-
Returns the test database connection.
- getConnection() - Method in class org.dbunit.JdbcDatabaseTester
- getConnection() - Method in class org.dbunit.JndiDatabaseTester
- getConnection(Callable<IDatabaseConnection>) - Method in class org.dbunit.database.CachingConnectionProvider
-
Returns the cached connection, creating it with the given factory on the first call and again whenever the previously cached connection is no longer alive.
- getConnectionUrl() - Method in class org.dbunit.JdbcBasedDBTestCase
-
Returns the test connection url.
- getCurrentProduct() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Returns the piece currently being accumulated.
- getDatabaseDataSet(IDatabaseConnection, List) - Method in class org.dbunit.ant.AbstractStep
-
Builds a dataset from the given connection, restricted to the given tables and queries.
- getDatabaseInfo(DatabaseMetaData) - Static method in class org.dbunit.util.SQLHelper
-
Returns the database and JDBC driver information as pretty formatted string
- getDatabaseProducts() - Static method in class org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
-
Returns the database product names supported by this factory.
- getDatabaseTester() - Method in class org.dbunit.DatabaseTestCase
-
Gets the IDatabaseTester for this testCase.
If the IDatabaseTester is not set yet, this method calls newDatabaseTester() to obtain a new instance. - getDatabaseTester() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the databaseTester.
- getDataFileLoader() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the dataFileLoader.
- getDataset(IDatabaseConnection, String, Set) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a dataset containing the given root table and all tables that depend on it, filtered to the given allowed primary key values of the root table.
- getDataset(IDatabaseConnection, PrimaryKeyFilter.PkTableMap) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a dataset containing the given root tables and all tables that depend on them, filtered to the given allowed primary key values.
- getDataSet() - Method in class org.dbunit.AbstractDatabaseTester
- getDataSet() - Method in class org.dbunit.DatabaseTestCase
-
Returns the test dataset.
- getDataSet() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Returns the test dataset.
- getDataSet() - Method in interface org.dbunit.IDatabaseTester
-
Returns the test dataset.
- getDataSource() - Method in class org.dbunit.DataSourceBasedDBTestCase
-
Returns the test DataSource.
- getDataType() - Method in class org.dbunit.assertion.DbUnitAssert.ComparisonColumn
-
Returns the
DataTypeto use for the actual comparison. - getDataType() - Method in class org.dbunit.dataset.Column
-
Returns this column data type.
- getDataTypeFactory(IDatabaseConnection) - Method in class org.dbunit.dataset.AbstractTableMetaData
-
Validates and returns the datatype factory of the given connection
- getDbConfig() - Method in class org.dbunit.ant.DbUnitTask
-
Returns the generic
DatabaseConfigconfiguration child element. - getDbOperation() - Method in class org.dbunit.ant.Operation
-
Returns the database operation resolved from
Operation.setType(String). - getDefaultColumnValueComparerMapForTable(String) - Method in class org.dbunit.assertion.comparer.value.DefaultValueComparerDefaults
- getDefaultColumnValueComparerMapForTable(String) - Method in interface org.dbunit.assertion.comparer.value.ValueComparerDefaults
-
Returns the default per-column value comparer map for the given table.
- getDefaultFailureHandler() - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the default failure handler, without additional column info.
- getDefaultFailureHandler(Column[]) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the default failure handler, reporting the given additional columns on failure.
- getDefaultTableColumnValueComparerMap() - Method in class org.dbunit.assertion.comparer.value.DefaultValueComparerDefaults
- getDefaultTableColumnValueComparerMap() - Method in interface org.dbunit.assertion.comparer.value.ValueComparerDefaults
-
Returns the default per-table, per-column value comparer map.
- getDefaultValue() - Method in class org.dbunit.dataset.Column
-
Returns the default value the database uses for this column.
- getDefaultValueComparer() - Method in class org.dbunit.assertion.comparer.value.DefaultValueComparerDefaults
- getDefaultValueComparer() - Method in interface org.dbunit.assertion.comparer.value.ValueComparerDefaults
-
Returns the default value comparer, used when a table/column has none configured.
- getDefaultValueComparer() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the default value comparer used for columns without a specific one.
- getDeleteAllCommand() - Method in class org.dbunit.operation.DeleteAllOperation
-
Returns the SQL command prefix used to delete all rows of a table.
- getDeleteAllCommand() - Method in class org.dbunit.operation.TruncateTableOperation
- getDeleteAllCommandSuffix(IDatabaseConnection) - Method in class org.dbunit.operation.DeleteAllOperation
-
Returns a suffix appended to the delete-all SQL statement for the given connection.
- getDeleteAllCommandSuffix(IDatabaseConnection) - Method in class org.dbunit.operation.TruncateTableOperation
- getDelta() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.Precision
-
Returns the allowed/tolerated difference.
- getDependentTables(IDatabaseConnection, String) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Get the name of all tables that depend on the root tables (i.e, all tables that have FKs pointing to the PK of the root table).
- getDependentTables(IDatabaseConnection, String[]) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Get the name of all tables that depend on the root tables (i.e, all tables that have FKs pointing to the PK of one of the root tables).
- getDependsOnTables(IDatabaseConnection, String) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Get the name of all tables that the given rootTable depends on (i.e, all tables whose PK is a FK for the root table).
- getDescriptor() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the descriptor of the underlying Oracle array.
- getDescriptor() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the descriptor of the underlying Oracle array.
- getDest() - Method in class org.dbunit.ant.Export
-
Returns the destination file to export to.
- getDiffList() - Method in class org.dbunit.assertion.DiffCollectingFailureHandler
-
Returns the list of collected
Differences. - getDirectDependentTables(IDatabaseConnection, String) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a set of tables which directly depend on the given table.
- getDirectDependsOnTables(IDatabaseConnection, String) - Static method in class org.dbunit.database.search.TablesDependencyHelper
-
Returns a set of tables on which the given table directly depends on.
- getDoctype() - Method in class org.dbunit.ant.Export
-
Returns the DOCTYPE to use for flat XML export.
- getDriverClass() - Method in class org.dbunit.JdbcBasedDBTestCase
-
Returns the JDBC driver classname.
- getEdges(Object) - Method in class org.dbunit.database.search.ExportedKeysSearchCallback
- getEdges(Object) - Method in class org.dbunit.database.search.ImportedAndExportedKeysSearchCallback
- getEdges(Object) - Method in class org.dbunit.database.search.ImportedKeysSearchCallback
- getEdges(Object) - Method in interface org.dbunit.util.search.ISearchCallback
-
Get the edges originating from a node.
- getElement(long) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns a single element of the array.
- getElement(long) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns a single element of the array.
- getEncoding() - Method in class org.dbunit.ant.Export
-
Encoding for XML-Output
- getEnforcedComponents() - Method in class org.dbunit.dataset.common.handlers.EnforceHandler
-
Returns the components tried, in order, to handle a character.
- getEqualsInstance() - Static method in class org.dbunit.Assertion
-
Returns the shared
DbUnitAssertinstance used for equals-based comparisons. - getEscapeChar() - Method in class org.dbunit.dataset.common.handlers.PipelineConfig
-
Returns the character that escapes the next character.
- getEscapedName(String, String) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.since 2.3.0. Prefer usage of
QualifiedTableName.getQualifiedName()creating a newQualifiedTableNameobject - getException() - Method in exception class org.dbunit.DatabaseUnitException
-
Deprecated.Use
Throwable.getCause()to retrieve the nested exception - getException() - Method in exception class org.dbunit.DatabaseUnitRuntimeException
-
Deprecated.Use
Throwable.getCause()instead - getExpected() - Method in exception class org.dbunit.assertion.DbComparisonFailure
-
Returns the expected value.
- getExpected() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Returns the columns that exist in the expected result but not in the actual.
- getExpectedAsString() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Returns
Columns.ColumnDiff.getExpected()as a formatted string. - getExpectedDataset() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the expected dataset, created from the expectedDataFiles.
- getExpectedDataset() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Get the expected dataset, created from the expectedDataFiles.
- getExpectedDataSetAndVerifyTableDefinitionVerifier() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Returns the verifier used to check that verify table definitions and the expected dataset agree.
- getExpectedTable() - Method in class org.dbunit.assertion.Difference
-
Returns the table containing the expected results.
- getExpectedValue() - Method in class org.dbunit.assertion.Difference
-
Returns the expected cell value.
- getExportDataSet(IDatabaseConnection) - Method in class org.dbunit.ant.Export
-
Creates the dataset that is finally used for the export
- getFailMessage() - Method in class org.dbunit.assertion.Difference
-
Returns the comparison failure message.
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualContainingExpectedStringValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedJsonValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedWithEmptyFailMessageValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedWithIgnoreMillisValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedWithIgnoreMillisValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualLessThanExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualLessThanOrEqualToExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualNotEqualToExpectedValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualNotNullValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualNullValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.NeverFailsValueComparer
- getFailPhrase() - Method in class org.dbunit.assertion.comparer.value.ValueComparerTemplateBase
-
Returns the text snippet for substitution in
ValueComparerBase.BASE_FAIL_MSG. - getFailureHandler() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the failureHandler.
- getFeature(String) - Method in class org.dbunit.database.DatabaseConfig
-
Deprecated.since 2.4.7 Use the
DatabaseConfig.getProperty(String)where features are listed now as well - getFetchSize() - Method in class org.dbunit.ant.DbUnitTask
-
Returns the JDBC fetch size used for result sets.
- getFilter() - Method in class org.dbunit.database.search.ImportedAndExportedKeysSearchCallbackFilteredByPKs
-
Get the primary key filter associated with the call back
- getFilter() - Method in class org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs
-
Get the primary key filter associated with the call back
- getFilteredColumns(String, Column[], IColumnFilter) - Static method in class org.dbunit.dataset.FilteredTableMetaData
-
Returns the columns from the given array accepted by the given filter.
- getFilteredNodes() - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Get which modes are allowed/denied, depending on the operation mode.
- getFilteringMode() - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Get the operation mode
- getFKColumn() - Method in class org.dbunit.database.search.FKRelationshipEdge
-
Deprecated.Gets the name of the foreign key column in the relationship.
- getFKColumn() - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
-
Gets the name of the foreign key column in the relationship.
- getFormat() - Method in class org.dbunit.ant.Compare
-
Returns the format of the source file.
- getFormat() - Method in class org.dbunit.ant.Export
-
Returns the export format.
- getFormat() - Method in class org.dbunit.ant.Operation
-
Returns the dataset format, defaulting to "flat" when not set.
- getFrom() - Method in class org.dbunit.util.search.Edge
- getFrom() - Method in interface org.dbunit.util.search.IEdge
-
Get the node this edge originates from.
- getGeneratedColumn() - Method in class org.dbunit.dataset.Column
-
Returns whether the column is a generated column.
- getHelper() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
-
Returns the helper currently handling characters for this component.
- getId() - Method in class org.dbunit.ant.QuerySet
-
Returns the id under which this queryset can be referenced.
- getIgnoreMapping(ITable, int) - Method in class org.dbunit.operation.InsertOperation
- getInputSource(File) - Static method in class org.dbunit.ant.AbstractStep
-
Creates and returns an
InputSource - getJNDIProperties() - Method in class org.dbunit.JndiBasedDBTestCase
-
Returns the JNDI properties to use.
Subclasses must override this method to provide customized JNDI properties. - getKey() - Method in class org.dbunit.dataset.Column.AutoIncrement
-
Returns the key identifying this auto-increment value.
- getLastTableName() - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Returns the name of the last table added to this map.
- getLock() - Method in class org.dbunit.util.concurrent.SynchronizedVariable
-
Return the lock used for all synchronization for this object
- getLogMessage() - Method in class org.dbunit.ant.Compare
- getLogMessage() - Method in interface org.dbunit.ant.DbUnitTaskStep
-
Returns a message describing this step, for logging purposes.
- getLogMessage() - Method in class org.dbunit.ant.Export
- getLogMessage() - Method in class org.dbunit.ant.Operation
- getLookupName() - Method in class org.dbunit.JndiBasedDBTestCase
-
Returns the JNDI lookup name for the test DataSource.
- getMessage() - Method in exception class org.dbunit.assertion.DbComparisonFailure
- getMessage() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Builds a pretty formatted message describing the column difference.
- getName() - Method in class org.dbunit.ant.DbConfig.Feature
-
Returns the feature name.
- getName() - Method in class org.dbunit.ant.Query
-
Returns the table name.
- getName() - Method in class org.dbunit.ant.Table
-
Returns the table name.
- getName() - Method in class org.dbunit.DatabaseTestCase
-
Returns this test case's name.
- getNodesFromExportedKeys(Object) - Method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Get the nodes using the reverse foreign key dependency, i.e, if table C has a FK for a table A, then getNodesFromExportedKeys(A) will return C.
NOTE: this method should be used only as an auxiliary method for sub-classes that also usegetNodesFromImportedKeys()or something similar, otherwise the generated sequence of tables might not work when inserted in the database (as some tables might be missing). - getNodesFromImportAndExportKeys(Object) - Method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Get the nodes using the both direct and reverse foreign key dependency, i.e, if table C has a FK for a table A and table A has a FK for a table B, then getNodesFromImportAndExportedKeys(A) will return B and C.
- getNodesFromImportedKeys(Object) - Method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Get the nodes using the direct foreign key dependency, i.e, if table A has a FK for a table B, then getNodesFromImportedKeys(A) will return B.
- getNullable() - Method in class org.dbunit.dataset.Column
-
Returns
trueif this column is nullable. - getNullToken() - Method in class org.dbunit.ant.Operation
-
Returns the token replaced with a null value in the dataset.
- getOperationData(ITableMetaData, BitSet, IDatabaseConnection) - Method in class org.dbunit.operation.DeleteOperation
- getOperationData(ITableMetaData, BitSet, IDatabaseConnection) - Method in class org.dbunit.operation.InsertOperation
- getOperationData(ITableMetaData, BitSet, IDatabaseConnection) - Method in class org.dbunit.operation.UpdateOperation
- getOperationListener() - Method in class org.dbunit.DatabaseTestCase
-
Returns the operation listener used by the database tester, creating a default one on first access.
- getORADataFactory() - Static method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the shared
ORADataFactoryfor this class. - getORADataFactory() - Static method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the shared
ORADataFactoryfor this class. - getORADataFactory() - Static method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the shared
ORADataFactoryfor this class. - getORADataFactory() - Static method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Returns the shared
ORADataFactoryfor this class. - getOriginalMetaData() - Method in class org.dbunit.dataset.ColumnFilterTable
-
Returns the metadata of the original, unfiltered table.
- getOriginalTableName(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Returns the original table name as it was added to this map, performing a case-insensitive lookup when
caseSensitiveTableNamesis false. - getPassword() - Method in class org.dbunit.JdbcBasedDBTestCase
-
Returns the password for the connection.
Subclasses may override this method to provide a custom password.
Default implementations returns null. - getPipeline() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- getPipeline() - Method in interface org.dbunit.dataset.common.handlers.PipelineComponent
-
Returns the pipeline this component belongs to.
- getPipelineConfig() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
-
Returns the configuration of the pipeline this component belongs to.
- getPipelineConfig() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Returns the configuration used by this pipeline's components.
- getPKColumn() - Method in class org.dbunit.database.search.FKRelationshipEdge
-
Deprecated.Gets the name of the primary key column in the relationship.
- getPKColumn() - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
-
Gets the name of the primary key column in the relationship.
- getPrepDataset() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the prep dataset, created from the prepDataFiles.
- getPrepDataset() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Get the prep dataset, created from the prepDataFiles.
- getPrimaryKeyColumn(Connection, String) - Static method in class org.dbunit.util.SQLHelper
-
Gets the primary column for a table.
- getPrimaryKeys() - Method in class org.dbunit.database.DatabaseTableMetaData
- getPrimaryKeys() - Method in class org.dbunit.database.ResultSetTableMetaData
- getPrimaryKeys() - Method in class org.dbunit.dataset.DefaultTableMetaData
- getPrimaryKeys() - Method in class org.dbunit.dataset.FilteredTableMetaData
- getPrimaryKeys() - Method in interface org.dbunit.dataset.ITableMetaData
-
Returns this table primary key columns.
- getPrimaryKeys() - Method in class org.dbunit.dataset.LowerCaseTableMetaData
- getPrimaryKeys(String, Column[], IColumnFilter) - Static method in class org.dbunit.dataset.AbstractTableMetaData
-
Deprecated.since 2.3.0 - use
Columns.getColumns(String[], Column[]) - getPrimaryKeys(DatabaseMetaData, String, String) - Method in class org.dbunit.database.DefaultMetadataHandler
- getPrimaryKeys(DatabaseMetaData, String, String) - Method in interface org.dbunit.database.IMetadataHandler
-
Returns the primary keys of the given table.
- getPrimaryKeys(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MultiSchemaMySqlMetadataHandler
- getPrimaryKeys(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- getPrimaryKeys(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- getPrimaryKeys(Column[], String[]) - Static method in class org.dbunit.dataset.AbstractTableMetaData
-
Deprecated.since 2.3.0 - use
Columns.getColumns(String[], Column[]) - getProducts() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Returns the completed pieces produced so far.
- getProperty() - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
-
Returns the property name.
- getProperty(String) - Method in class org.dbunit.database.DatabaseConfig
-
Look up the value of a property.
- getPropertyType() - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
-
Returns the allowed java type of the property's value.
- getQualifiedName() - Method in class org.dbunit.util.QualifiedTableName
-
Returns the table name qualified with its schema, if any.
- getQualifiedName(String, String) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.since 2.3.0. Prefer usage of
QualifiedTableName.getQualifiedName()creating a newQualifiedTableNameobject - getQualifiedName(String, String, String) - Static method in class org.dbunit.dataset.DataSetUtils
-
Deprecated.since 2.3.0. Prefer usage of
QualifiedTableName.getQualifiedName()creating a newQualifiedTableNameobject - getQualifiedName(String, String, IDatabaseConnection) - Method in class org.dbunit.operation.AbstractOperation
-
Qualifies the given table or column name with the given schema/catalog prefix, applying the connection's configured escape pattern.
- getQualifiedNameIfEnabled(DatabaseConfig) - Method in class org.dbunit.util.QualifiedTableName
-
Returns the qualified name using the values given in the constructor.
- getQueries() - Method in class org.dbunit.ant.QuerySet
-
Returns this queryset's queries, with filterset tokens substituted.
- getQueryDataSet(IDatabaseConnection) - Method in class org.dbunit.ant.QuerySet
-
Builds a
QueryDataSetfrom this queryset's queries, resolving a referenced queryset first ifQuerySet.getRefid()is set. - getReason() - Method in exception class org.dbunit.assertion.DbComparisonFailure
-
Returns the reason for the comparison failure.
- getRefid() - Method in class org.dbunit.ant.QuerySet
-
Returns the id of the queryset this queryset references.
- getRemarks() - Method in class org.dbunit.dataset.Column
-
Returns the remarks set on the database for this column.
- getReverseTableNames(IDataSet) - Static method in class org.dbunit.dataset.DataSetUtils
-
Returns the table names from the specified dataset in reverse order.
- getRowCount() - Method in class org.dbunit.database.ForwardOnlyResultSetTable
- getRowCount() - Method in class org.dbunit.database.PrimaryKeyFilteredTableWrapper
- getRowCount() - Method in class org.dbunit.database.ScrollableResultSetTable
- getRowCount() - Method in class org.dbunit.dataset.CaseInsensitiveTable
-
Deprecated.
- getRowCount() - Method in class org.dbunit.dataset.ColumnFilterTable
- getRowCount() - Method in class org.dbunit.dataset.CompositeTable
- getRowCount() - Method in class org.dbunit.dataset.DefaultTable
- getRowCount() - Method in class org.dbunit.dataset.ForwardOnlyTable
- getRowCount() - Method in interface org.dbunit.dataset.ITable
-
Returns this table row count.
- getRowCount() - Method in class org.dbunit.dataset.ReplacementTable
- getRowCount() - Method in class org.dbunit.dataset.RowFilterTable
- getRowCount() - Method in class org.dbunit.dataset.SortedTable
- getRowCount(String) - Method in class org.dbunit.database.AbstractDatabaseConnection
- getRowCount(String) - Method in interface org.dbunit.database.IDatabaseConnection
-
Returns the specified table row count.
- getRowCount(String, String) - Method in class org.dbunit.database.AbstractDatabaseConnection
- getRowCount(String, String) - Method in interface org.dbunit.database.IDatabaseConnection
-
Returns the specified table row count according specified where clause.
- getRowIndex() - Method in class org.dbunit.assertion.Difference
-
Returns the row index of the differing cell.
- getSchema() - Method in class org.dbunit.AbstractDatabaseTester
-
Returns the schema value.
- getSchema() - Method in class org.dbunit.database.DatabaseConnection
- getSchema() - Method in class org.dbunit.database.DatabaseDataSourceConnection
- getSchema() - Method in interface org.dbunit.database.IDatabaseConnection
-
Returns the database schema name.
- getSchema() - Method in class org.dbunit.util.QualifiedTableName
-
Returns the schema name given in the constructor, if any.
- getSchema(ResultSet) - Method in class org.dbunit.database.DefaultMetadataHandler
- getSchema(ResultSet) - Method in interface org.dbunit.database.IMetadataHandler
-
Returns the schema name to which the table of the current result set index belongs.
- getSchema(ResultSet) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- getSchema(ResultSet) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- getSdoElemInfo() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the SDO_ELEM_INFO attribute.
- getSdoGtype() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the SDO_GTYPE attribute.
- getSdoOrdinates() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the SDO_ORDINATES attribute.
- getSdoPoint() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the SDO_POINT attribute.
- getSdoSrid() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Returns the SDO_SRID attribute.
- getSeparatorChar() - Method in class org.dbunit.dataset.common.handlers.PipelineConfig
-
Returns the character that separates fields.
- getSetUpOperation() - Method in class org.dbunit.AbstractDatabaseTester
-
Returns the DatabaseOperation to call when starting the test.
- getSetUpOperation() - Method in class org.dbunit.DatabaseTestCase
-
Returns the database operation executed in test setup.
- getSetUpOperation() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
- getSetUpOperation() - Method in interface org.dbunit.IDatabaseTester
-
Gets the DatabaseOperation to call when starting the test.
- getSortColumns() - Method in class org.dbunit.dataset.SortedTable
-
Returns the columns that are used for sorting the table.
- getSortedColumns(ITableMetaData) - Static method in class org.dbunit.dataset.Columns
-
Returns a sorted array of column objects
- getSortedTableNames(IDataSet) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Returns the table names of the given dataset, sorted and upper-cased unless the dataset is case-sensitive.
- getSql() - Method in class org.dbunit.ant.Query
-
Returns the query's SQL.
- getSql() - Method in class org.dbunit.operation.OperationData
-
Returns the SQL statement.
- getSqlType() - Method in class org.dbunit.dataset.datatype.AbstractDataType
- getSqlType() - Method in class org.dbunit.dataset.datatype.DataType
-
Returns the corresponding
Types. - getSqlTypeName() - Method in class org.dbunit.dataset.Column
-
Returns this column sql data type name.
- getSqlTypeName() - Method in class org.dbunit.dataset.datatype.DataType
-
Returns the SQL type name for user types (null for basic SQL types)
- getSqlTypeName() - Method in class org.dbunit.ext.oracle.OracleXMLTypeDataType
- getSqlTypeName() - Method in class org.dbunit.ext.postgresql.ArrayType
-
Returns the sql type name this instance handles.
- getSqlTypeName() - Method in class org.dbunit.ext.postgresql.GenericEnumType
- getSqlTypeName() - Method in class org.dbunit.ext.postgresql.JsonType
-
Returns the sql type name this instance handles.
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.AbstractDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.BigIntegerDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.BinaryStreamDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.BlobDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.BooleanDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.BytesDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.ClobDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.DataType
-
Returns the specified column value from the specified resultset object.
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.DateDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.DoubleDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.FloatDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.IntegerDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.LongDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.NumberDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.StringDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.TimeDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.dataset.datatype.TimestampDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.mssql.DateTimeOffsetType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.mssql.UniqueIdentifierType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.oracle.OracleBlobDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.oracle.OracleClobDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.oracle.OracleSdoGeometryDataType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.oracle.OracleXMLTypeDataType
-
Returns the specified column value from the specified resultset object.
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.ArrayType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.CitextType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.GenericEnumType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.GeometryType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.InetType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.IntervalType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.JsonType
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.PostgreSQLOidDataType
-
Reads the large object referenced by the column's oid.
- getSqlValue(int, ResultSet) - Method in class org.dbunit.ext.postgresql.UuidType
- getSqlValueString(Object, DataType) - Static method in class org.dbunit.dataset.DataSetUtils
-
Returns the specified value as a string to be use in an SQL Statement.
- getSrc() - Method in class org.dbunit.ant.Compare
-
Returns the source file containing the expected dataset.
- getSrc() - Method in class org.dbunit.ant.Operation
-
Returns the source files holding the operation's dataset.
- getSrcDataSet(File, String, boolean) - Method in class org.dbunit.ant.AbstractStep
-
Loads a dataset from the given source file in the given format.
- getStatementFactory() - Method in class org.dbunit.database.AbstractDatabaseConnection
-
Deprecated.
- getStatementFactory() - Method in interface org.dbunit.database.IDatabaseConnection
-
Deprecated.
- getSteps() - Method in class org.dbunit.ant.DbUnitTask
-
Gets the Steps.
- getSuccessor() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
-
Returns the next component in the pipeline to which unhandled characters are delegated.
- getTable() - Method in class org.dbunit.database.DatabaseTableIterator
- getTable() - Method in class org.dbunit.database.QueryTableIterator
-
Returns the current table.
- getTable() - Method in class org.dbunit.dataset.DefaultTableIterator
- getTable() - Method in class org.dbunit.dataset.filter.SequenceTableIterator
- getTable() - Method in interface org.dbunit.dataset.ITableIterator
-
Returns the current table.
- getTable() - Method in class org.dbunit.dataset.stream.StreamingIterator
- getTable() - Method in class org.dbunit.util.QualifiedTableName
-
Returns the plain, unqualified table name.
- getTable(String) - Method in class org.dbunit.database.DatabaseDataSet
- getTable(String) - Method in class org.dbunit.dataset.AbstractDataSet
- getTable(String) - Method in class org.dbunit.dataset.CaseInsensitiveDataSet
-
Deprecated.
- getTable(String) - Method in class org.dbunit.dataset.FilteredDataSet
- getTable(String) - Method in class org.dbunit.dataset.ForwardOnlyDataSet
- getTable(String) - Method in interface org.dbunit.dataset.IDataSet
-
Returns the specified table.
- getTable(String) - Method in class org.dbunit.dataset.LowerCaseDataSet
- getTable(String) - Method in class org.dbunit.dataset.ReplacementDataSet
- getTable(String) - Method in class org.dbunit.dataset.SortedDataSet
- getTable(String) - Method in class org.dbunit.dataset.stream.StreamingDataSet
-
Not supported.
- getTable(String) - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- getTableMetaData() - Method in class org.dbunit.database.AbstractResultSetTable
- getTableMetaData() - Method in class org.dbunit.database.DatabaseTableIterator
- getTableMetaData() - Method in class org.dbunit.database.PrimaryKeyFilteredTableWrapper
- getTableMetaData() - Method in class org.dbunit.database.QueryTableIterator
-
Returns the metadata of the current table.
- getTableMetaData() - Method in class org.dbunit.dataset.CaseInsensitiveTable
-
Deprecated.
- getTableMetaData() - Method in class org.dbunit.dataset.ColumnFilterTable
- getTableMetaData() - Method in class org.dbunit.dataset.CompositeTable
- getTableMetaData() - Method in class org.dbunit.dataset.DefaultTable
- getTableMetaData() - Method in class org.dbunit.dataset.DefaultTableIterator
- getTableMetaData() - Method in class org.dbunit.dataset.filter.SequenceTableIterator
- getTableMetaData() - Method in class org.dbunit.dataset.ForwardOnlyTable
- getTableMetaData() - Method in interface org.dbunit.dataset.ITable
-
Returns this table metadata.
- getTableMetaData() - Method in interface org.dbunit.dataset.ITableIterator
-
Returns the metadata of the current table.
- getTableMetaData() - Method in class org.dbunit.dataset.ReplacementTable
- getTableMetaData() - Method in class org.dbunit.dataset.RowFilterTable
- getTableMetaData() - Method in class org.dbunit.dataset.SortedTable
- getTableMetaData() - Method in class org.dbunit.dataset.stream.StreamingIterator
- getTableMetaData(String) - Method in class org.dbunit.database.DatabaseDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.AbstractDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.CaseInsensitiveDataSet
-
Deprecated.
- getTableMetaData(String) - Method in class org.dbunit.dataset.FilteredDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.ForwardOnlyDataSet
- getTableMetaData(String) - Method in interface org.dbunit.dataset.IDataSet
-
Returns the specified table metadata.
- getTableMetaData(String) - Method in class org.dbunit.dataset.LowerCaseDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.ReplacementDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.SortedDataSet
- getTableMetaData(String) - Method in class org.dbunit.dataset.stream.StreamingDataSet
-
Not supported.
- getTableMetaData(String) - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- getTableName() - Method in class org.dbunit.database.DatabaseTableMetaData
- getTableName() - Method in class org.dbunit.database.ResultSetTableMetaData
- getTableName() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Returns the name of the table.
- getTableName() - Method in class org.dbunit.dataset.DefaultTableMetaData
- getTableName() - Method in class org.dbunit.dataset.FilteredTableMetaData
- getTableName() - Method in interface org.dbunit.dataset.ITableMetaData
-
Returns this table name.
- getTableName() - Method in class org.dbunit.dataset.LowerCaseTableMetaData
- getTableName() - Method in interface org.dbunit.dataset.sqlloader.SqlLoaderControlParser
-
Returns the name of the table parsed from the control file.
- getTableName() - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
- getTableName() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the table name.
- getTableName(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Returns the table name in the correct case (for example as upper case string)
- getTableNames() - Method in class org.dbunit.database.DatabaseDataSet
- getTableNames() - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Returns the table names in this map.
- getTableNames() - Method in class org.dbunit.database.QueryDataSet
- getTableNames() - Method in class org.dbunit.dataset.AbstractDataSet
- getTableNames() - Method in class org.dbunit.dataset.CaseInsensitiveDataSet
-
Deprecated.
- getTableNames() - Method in class org.dbunit.dataset.FilteredDataSet
- getTableNames() - Method in class org.dbunit.dataset.ForwardOnlyDataSet
- getTableNames() - Method in interface org.dbunit.dataset.IDataSet
-
Returns names of tables in this dataset in proper sequence.
- getTableNames() - Method in class org.dbunit.dataset.LowerCaseDataSet
- getTableNames() - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Provides the ordered table names having the same order in which the table names have been added via
OrderedTableNameMap.add(String, Object). - getTableNames() - Method in class org.dbunit.dataset.ReplacementDataSet
- getTableNames() - Method in class org.dbunit.dataset.SortedDataSet
- getTableNames() - Method in class org.dbunit.dataset.stream.StreamingDataSet
-
Not supported.
- getTableNames() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- getTableNames(IDataSet) - Method in class org.dbunit.dataset.filter.AbstractTableFilter
- getTableNames(IDataSet) - Method in interface org.dbunit.dataset.filter.ITableFilter
-
Returns the table names allowed by this filter from the specified dataset.
- getTableNames(IDataSet) - Method in class org.dbunit.dataset.filter.SequenceTableFilter
- getTables() - Method in class org.dbunit.ant.Compare
-
Returns the tables and queries to compare.
- getTables() - Method in class org.dbunit.ant.Export
-
Returns the tables and queries to export.
- getTables() - Method in class org.dbunit.dataset.AbstractDataSet
- getTables() - Method in interface org.dbunit.dataset.IDataSet
-
Deprecated.Use
IDataSet.iterator()orIDataSet.reverseIterator()instead. - getTables(File, File) - Static method in class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
-
Get a list of tables that this producer will create.
- getTables(String[], IDataSet) - Static method in class org.dbunit.dataset.DataSetUtils
-
Search and returns the specified tables from the specified dataSet.
- getTables(URL, String) - Static method in class org.dbunit.dataset.csv.CsvProducer
-
Get a list of tables that this producer will create
- getTables(DatabaseMetaData, String, String[]) - Method in class org.dbunit.database.DefaultMetadataHandler
- getTables(DatabaseMetaData, String, String[]) - Method in interface org.dbunit.database.IMetadataHandler
-
Returns the tables in the given schema that matches one of the given tableTypes.
- getTables(DatabaseMetaData, String, String[]) - Method in class org.dbunit.ext.h2.H2MetadataHandler
-
Returns the tables in the given schema that matches one of the given tableTypes.
- getTables(DatabaseMetaData, String, String[]) - Method in class org.dbunit.ext.mysql.MultiSchemaMySqlMetadataHandler
- getTables(DatabaseMetaData, String, String[]) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- getTables(DatabaseMetaData, String, String[]) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- getTables(IDataSet) - Static method in class org.dbunit.dataset.DataSetUtils
-
Returns the tables from the specified dataset.
- getTables(ITableIterator) - Static method in class org.dbunit.dataset.DataSetUtils
-
Returns the tables from the specified iterator.
- getTearDownOperation() - Method in class org.dbunit.AbstractDatabaseTester
-
Returns the DatabaseOperation to call when ending the test.
- getTearDownOperation() - Method in class org.dbunit.DatabaseTestCase
-
Returns the database operation executed in test cleanup.
- getTearDownOperation() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
- getTearDownOperation() - Method in interface org.dbunit.IDatabaseTester
-
Gets the DatabaseOperation to call when ending the test.
- getTheDirectory() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Returns the directory CSV files are written to.
- getTo() - Method in class org.dbunit.util.search.Edge
- getTo() - Method in interface org.dbunit.util.search.IEdge
-
Get the node this edge points to.
- getToleratedDelta() - Method in class org.dbunit.dataset.datatype.NumberTolerantDataType
-
Returns the tolerated delta used for the comparison.
- getToleratedDelta() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Returns the tolerated delta.
- getToleratedDeltaMap() - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
-
Returns the tolerated delta objects configured on this factory.
- getToleratedDeltas() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap
-
Returns the map of tolerated deltas.
- getType() - Method in class org.dbunit.ant.Operation
-
Returns the operation type name.
- getTypeClass() - Method in class org.dbunit.dataset.datatype.AbstractDataType
- getTypeClass() - Method in class org.dbunit.dataset.datatype.DataType
-
Returns the runtime class of the typecast result.
- getUsername() - Method in class org.dbunit.JdbcBasedDBTestCase
-
Returns the username for the connection.
Subclasses may override this method to provide a custom username.
Default implementations returns null. - getValidDbProducts() - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
- getValidDbProducts() - Method in interface org.dbunit.dataset.datatype.IDbProductRelatable
-
Returns a set of Strings representing database product names that this object relates to.
- getValidDbProducts() - Method in class org.dbunit.ext.db2.Db2DataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.h2.H2DataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.mckoi.MckoiDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.mysql.MySqlDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.oracle.OracleDataTypeFactory
- getValidDbProducts() - Method in class org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
- getValue(int, String) - Method in class org.dbunit.database.ForwardOnlyResultSetTable
- getValue(int, String) - Method in class org.dbunit.database.PrimaryKeyFilteredTableWrapper
- getValue(int, String) - Method in class org.dbunit.database.ScrollableResultSetTable
- getValue(int, String) - Method in class org.dbunit.dataset.CaseInsensitiveTable
-
Deprecated.
- getValue(int, String) - Method in class org.dbunit.dataset.ColumnFilterTable
- getValue(int, String) - Method in class org.dbunit.dataset.CompositeTable
- getValue(int, String) - Method in class org.dbunit.dataset.DefaultTable
- getValue(int, String) - Method in class org.dbunit.dataset.ForwardOnlyTable
- getValue(int, String) - Method in interface org.dbunit.dataset.ITable
-
Returns this table value for the specified row and column.
- getValue(int, String) - Method in class org.dbunit.dataset.ReplacementTable
- getValue(int, String) - Method in class org.dbunit.dataset.RowFilterTable
- getValue(int, String) - Method in class org.dbunit.dataset.SortedTable
- getValueCompareInstance() - Static method in class org.dbunit.Assertion
-
Returns the shared
DbUnitValueComparerAssertinstance used for value-comparer-based comparisons. - getVerifyTableDefinitionVerifier() - Method in class org.dbunit.VerifyTableDefinition
-
Returns the verifier used to validate this instance.
- getVerifyTableDefs() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get the tableDefs.
- getWriter() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Returns the writer for the currently active table.
- getX() - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Returns the X attribute.
- getXmlWriter() - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Returns the
XmlWriterthat is used for writing out XML. - getY() - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Returns the Y attribute.
- getZ() - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Returns the Z attribute.
H
- H2Connection - Class in org.dbunit.ext.h2
-
DatabaseConnectionspecialization that configures H2-specific connection behavior. - H2Connection(Connection, String) - Constructor for class org.dbunit.ext.h2.H2Connection
-
Creates an H2 connection, pre-configuring the H2-specific data type factory and metadata handler.
- H2DataTypeFactory - Class in org.dbunit.ext.h2
-
Specialized factory that recognizes H2 data types.
- H2DataTypeFactory() - Constructor for class org.dbunit.ext.h2.H2DataTypeFactory
- H2MetadataHandler - Class in org.dbunit.ext.h2
-
Special metadata handler for H2.
- H2MetadataHandler() - Constructor for class org.dbunit.ext.h2.H2MetadataHandler
- handle(char) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- handle(char) - Method in interface org.dbunit.dataset.common.handlers.Handler
-
Handles the given character.
- handle(char) - Method in class org.dbunit.dataset.common.handlers.Pipeline
- handle(Difference) - Method in class org.dbunit.assertion.DefaultFailureHandler
- handle(Difference) - Method in class org.dbunit.assertion.DiffCollectingFailureHandler
- handle(Difference) - Method in interface org.dbunit.assertion.DifferenceListener
-
Is invoked by the
DbUnitAssertwhen a data cell difference has been found. - handleColumnHasNoValue(String, String) - Method in class org.dbunit.operation.AbstractBatchOperation
-
Reports that a column required to have a value was empty, respecting the
DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDSsetting. - handleCountMismatch(VerifyTableDefinition[], String[], DatabaseConfig) - Method in class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
-
Logs the mismatch and delegates to
DefaultExpectedDataSetAndVerifyTableDefinitionVerifier.failOnMismatch(DatabaseConfig, Set). - handleMissingColumns(Attributes) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
-
parses the attributes in the current row, and checks whether a new column is found.
- Handler - Interface in org.dbunit.dataset.common.handlers
-
Base contract for an object that decides whether and how to handle a single character during CSV parsing.
- hasColumnExclusionFilters(String[]) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
-
Returns whether any column exclusion filters are configured.
- hasColumnValueComparers(Map<String, ValueComparer>) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
-
Returns whether any column value comparers are configured.
- hasDefaultValue() - Method in class org.dbunit.dataset.Column
-
Returns whether the database has a default value configured for this column.
- hasDifference() - Method in class org.dbunit.dataset.Columns.ColumnDiff
-
Returns whether there is a difference in the columns given in the constructor.
- hashCode() - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
- hashCode() - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
- hashCode() - Method in class org.dbunit.dataset.Column
- hashCode() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
- hashCode() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
- hashCode() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
- hashCode() - Method in class org.dbunit.ext.oracle.OracleSdoPointType
- hashCode() - Method in class org.dbunit.util.concurrent.SynchronizedInt
- hashCode() - Method in class org.dbunit.util.search.Edge
- hasListeners(String) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Check if there are any listeners for a specific property.
- head - Variable in class org.dbunit.util.concurrent.SynchronousChannel.Queue
-
The first node in the queue, or
nullif empty. - head_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Dummy header node of list.
- head_ - Variable in class org.dbunit.util.concurrent.LinkedQueue
-
Dummy header node of list.
- Helper - Class in org.dbunit.dataset.common.handlers
-
Abstract helper that assists a
PipelineComponentin processing a character. - Helper() - Constructor for class org.dbunit.dataset.common.handlers.Helper
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent.ACCEPT
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent.IGNORE
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.IsAlnumHandler.QUOTE
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.IsAlnumHandler.UNQUOTE
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.QuoteHandler.QUOTE
- helpWith(char) - Method in class org.dbunit.dataset.common.handlers.QuoteHandler.UNQUOTE
- HsqldbConnection - Class in org.dbunit.ext.hsqldb
-
DatabaseConnectionspecialization that configures HSQLDB-specific connection behavior. - HsqldbConnection(Connection, String) - Constructor for class org.dbunit.ext.hsqldb.HsqldbConnection
-
Creates an HSQLDB connection, pre-configuring the HSQLDB-specific data type factory.
- HsqldbDataTypeFactory - Class in org.dbunit.ext.hsqldb
-
Specialized factory that recognizes HSQLDB data types.
- HsqldbDataTypeFactory() - Constructor for class org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
I
- IBatchStatement - Interface in org.dbunit.database.statement
-
A JDBC statement wrapper that batches SQL statements for execution.
- IColumnFilter - Interface in org.dbunit.dataset.filter
-
A filter for database columns.
- IDatabaseConnection - Interface in org.dbunit.database
-
This interface represents a connection to a specific database.
- IDatabaseTester - Interface in org.dbunit
-
This interface defines the behavior of a DatabaseTester, which is responsible for adding DBUnit features as composition on existing test cases (instead of extending DBTestCase directly).
- IDataSet - Interface in org.dbunit.dataset
-
Represents a collection of tables.
- IDataSetConsumer - Interface in org.dbunit.dataset.stream
-
Receive notification of the content of a dataset.
- IDataSetProducer - Interface in org.dbunit.dataset.stream
-
Interface for reading a dataset using callback.
- IDataTypeFactory - Interface in org.dbunit.dataset.datatype
-
A factory for creating
DataType. - IDbProductRelatable - Interface in org.dbunit.dataset.datatype
-
Reports what database products this object relates to.
- IDENTITY_FILTER_EXTENDED - Static variable in class org.dbunit.ext.mssql.InsertIdentityOperation
-
Accepts columns that have one of the remarks GENERATED BY DEFAULT AS IDENTITY GENERATED ALWAYS AS IDENTITY set which is the SQL standard syntax to describe auto-generated key columns.
- IEdge - Interface in org.dbunit.util.search
-
A bidirectional edge on the graph to be searched.
It must implementComparableso theISearchCallbackcan properly order the dependencies of a node (so, typically, the implementations will compare thegetTo()node). - IGNORE() - Constructor for class org.dbunit.dataset.common.handlers.AbstractPipelineComponent.IGNORE
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.AllHandler
-
Creates a handler that ignores every character it is given.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.EscapeHandler
-
Creates a handler that ignores the escape character.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.IsAlnumHandler
-
Creates a handler that ignores alphanumeric characters.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.NoHandler
-
Creates a handler that rejects every character.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.QuoteHandler
-
Creates a handler that ignores the quote character.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.SeparatorHandler
-
Creates a handler that ignores the separator character.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.TransparentHandler
-
Creates a handler that accepts any character without altering the field being assembled.
- IGNORE() - Static method in class org.dbunit.dataset.common.handlers.WhitespacesHandler
-
Creates a handler that ignores whitespace characters.
- IllegalCharacterSeen - Exception Class in org.dbunit.dataset.csv
-
Signals that an unexpected character was encountered while producing CSV output.
- IllegalCharacterSeen(String) - Constructor for exception class org.dbunit.dataset.csv.IllegalCharacterSeen
-
Constructs an
IllegalCharacterSeenwith the specified detail message. - IllegalInputCharacterException - Exception Class in org.dbunit.dataset.common.handlers
-
Signals that a character could not be handled by any component in the CSV parsing pipeline.
- IllegalInputCharacterException(String) - Constructor for exception class org.dbunit.dataset.common.handlers.IllegalInputCharacterException
-
Constructs an
IllegalInputCharacterExceptionwith the specified detail message. - IMetadataHandler - Interface in org.dbunit.database
-
Handler to specify the behavior for a lookup of column metadata using database metadata.
- IMPLIED - Static variable in class org.dbunit.dataset.xml.FlatDtdProducer
-
Constant for the value "#IMPLIED"
- IMPORT - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Identifies a lookup of imported (incoming) foreign keys.
- ImportedAndExportedKeysSearchCallback - Class in org.dbunit.database.search
-
ISearchCallback implementation that get the nodes using both direct and reverse foreign key dependency, i.e, if table C has a FK for a table A and table A has a FK for a table B, then getNodes(A) will return B and C.
- ImportedAndExportedKeysSearchCallback(IDatabaseConnection) - Constructor for class org.dbunit.database.search.ImportedAndExportedKeysSearchCallback
-
Creates a callback that gets the nodes reachable via both imported and exported foreign keys.
- ImportedAndExportedKeysSearchCallbackFilteredByPKs - Class in org.dbunit.database.search
-
Extension of the ImportedAndExportedKeysSearchCallback, where each new edge is added to a PrimaryKeyFilter.
- ImportedAndExportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection, PrimaryKeyFilter.PkTableMap) - Constructor for class org.dbunit.database.search.ImportedAndExportedKeysSearchCallbackFilteredByPKs
-
Default constructor.
- ImportedKeysSearchCallback - Class in org.dbunit.database.search
-
ISearchCallback implementation that get the nodes using direct foreign key dependency, i.e, if table A has a FK for a table B, then getNodes(A) will return B.
- ImportedKeysSearchCallback(IDatabaseConnection) - Constructor for class org.dbunit.database.search.ImportedKeysSearchCallback
-
Creates a callback that gets the nodes reachable via imported (direct) foreign keys.
- ImportedKeysSearchCallbackFilteredByPKs - Class in org.dbunit.database.search
-
Extension of the ImportedKeysSearchCallback, where each new edge is added to a PrimaryKeyFilter.
- ImportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection, PrimaryKeyFilter.PkTableMap) - Constructor for class org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs
-
Default constructor.
- incEmptySlots() - Method in class org.dbunit.util.concurrent.BoundedBuffer
-
Increments the empty-slot count and wakes a thread waiting to put.
- includeColumn(String) - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Add a new accepted column name pattern for all tables.
- includeColumns(Column[]) - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Add specified columns to accepted column name list.
- includedColumnsTable(ITable, String[]) - Static method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Returns a table backed by the specified table that only exposes specified columns.
- includedColumnsTable(ITable, Column[]) - Static method in class org.dbunit.dataset.filter.DefaultColumnFilter
-
Returns a table backed by the specified table that only exposes specified columns.
- includeTable(String) - Method in class org.dbunit.dataset.filter.DefaultTableFilter
-
Add a new accepted table name pattern.
- includeTable(String) - Method in class org.dbunit.dataset.filter.IncludeTableFilter
-
Add a new accepted table name pattern.
- IncludeTableFilter - Class in org.dbunit.dataset.filter
-
This filter exposes only allowed tables from the filtered dataset.
- IncludeTableFilter() - Constructor for class org.dbunit.dataset.filter.IncludeTableFilter
-
Create a new empty IncludeTableFilter.
- IncludeTableFilter(String[]) - Constructor for class org.dbunit.dataset.filter.IncludeTableFilter
-
Create a new IncludeTableFilter which allow access to specified tables.
- increment() - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Increment the value.
- incUsedSlots() - Method in class org.dbunit.util.concurrent.BoundedBuffer
-
Increments the used-slot count and wakes a thread waiting to take.
- InetType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between Postgresql native inet type and Strings.
- InetType() - Constructor for class org.dbunit.ext.postgresql.InetType
-
Default constructor.
- INITIAL_DEFAULT_CAPACITY - Static variable in class org.dbunit.util.concurrent.DefaultChannelCapacity
-
The initial value of the default capacity is 1024
- initialize() - Method in class org.dbunit.dataset.AbstractDataSet
-
Initializes the tables of this dataset
- initialize() - Method in class org.dbunit.dataset.DefaultDataSet
-
Initializes the
AbstractDataSet._orderedTableNameMapof the parent class if it is not initialized yet. - initialize() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- InMemoryMetadataResultSet - Class in org.dbunit.database
-
An in-memory
ResultSet, backed by rows copied out of one or more source result sets ahead of time. - InMemoryMetadataResultSet.RowFilter - Interface in org.dbunit.database
-
Tests whether a source result set's current row, as positioned by a preceding
ResultSet.next(), should be kept. - InputStream(InputStream) - Constructor for class org.dbunit.util.Base64.InputStream
-
Constructs a
Base64.InputStreamin DECODE mode. - InputStream(InputStream, boolean) - Constructor for class org.dbunit.util.Base64.InputStream
-
Constructs a
Base64.InputStreamin either ENCODE or DECODE mode. - insert(Object) - Method in class org.dbunit.util.concurrent.BoundedBuffer
-
Inserts the given element into the buffer at putPtr_.
- insert(Object) - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Create and insert a node.
- insert(Object) - Method in class org.dbunit.util.concurrent.LinkedQueue
-
Main mechanics for put/offer.
- insert(Object) - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Internal mechanics of put.
- insert(Object) - Method in class org.dbunit.util.concurrent.Slot
-
Set the item in preparation for a take
- INSERT - Static variable in class org.dbunit.ext.mssql.InsertIdentityOperation
-
DatabaseOperation.INSERT, decorated to enable MS SQL identity insert. - INSERT - Static variable in class org.dbunit.operation.DatabaseOperation
-
Inserts the dataset's rows.
- InsertIdentityOperation - Class in org.dbunit.ext.mssql
-
This class disable the MS SQL Server automatic identifier generation for the execution of inserts.
- InsertIdentityOperation(DatabaseOperation) - Constructor for class org.dbunit.ext.mssql.InsertIdentityOperation
-
Creates a new InsertIdentityOperation object that decorates the specified operation.
- InsertOperation - Class in org.dbunit.operation
-
Inserts the dataset contents into the database.
- INT8 - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
INT8type. - INTEGER - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL INTEGER type.
- INTEGER - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
INTEGERtype. - IntegerDataType - Class in org.dbunit.dataset.datatype
- internalEntityDecl(String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- INTERVAL - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
INTERVALtype. - IntervalType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between Postgresql native Interval type and Strings.
- IntervalType() - Constructor for class org.dbunit.ext.postgresql.IntervalType
-
Default constructor.
- invoke(Object, Method, Object[]) - Method in class org.dbunit.database.InMemoryMetadataResultSet
-
Answers exactly the methods documented on this class; any other method throws
UnsupportedOperationException. - IOperationListener - Interface in org.dbunit
-
Listener for
IDatabaseConnectionevents. - IPreparedBatchStatement - Interface in org.dbunit.database.statement
-
A batched, parameterized JDBC statement to which typed column values are bound before execution.
- IResultSetTable - Interface in org.dbunit.database
-
An
ITablebacked by a JDBC result set that must be closed after use. - IResultSetTableFactory - Interface in org.dbunit.database
-
Factory that creates
IResultSetTableinstances for a given query. - IRowFilter - Interface in org.dbunit.dataset.filter
-
Interface to filter out rows by checking specific column values provided by the
IRowValueProvider. - IRowValueProvider - Interface in org.dbunit.dataset
-
Provides arbitrary values for one single database/ITable row.
- isActualContainingExpectedStringValueComparer - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value contains the expected string.
- IsActualContainingExpectedStringValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value contains expected value by converting toStrings and usingString.contains(CharSequence). - IsActualContainingExpectedStringValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualContainingExpectedStringValueComparer
- isActualEqualToExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Compares actual and expected values for equality.
- IsActualEqualToExpectedJsonValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies the actual value is semantically equal to the expected value by parsing both as JSON and comparing the resulting document trees, instead of comparing their raw text. - IsActualEqualToExpectedJsonValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedJsonValueComparer
- isActualEqualToExpectedTimestampWithIgnoreMillis - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Ignores milliseconds as not all databases store it in Timestamp.
- IsActualEqualToExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is equal to expected value. - IsActualEqualToExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedValueComparer
- isActualEqualToExpectedWithEmptyFailMessage - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Same as
ValueComparers.isActualEqualToExpectedbut itsValueComparerfail message is an empty String (theDifferencefail message still exists). - IsActualEqualToExpectedWithEmptyFailMessageValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is equal to expected value and sets fail message to empty String. - IsActualEqualToExpectedWithEmptyFailMessageValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedWithEmptyFailMessageValueComparer
- isActualGreaterThanExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is greater than the expected value.
- IsActualGreaterThanExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is greater than expected value. - IsActualGreaterThanExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedValueComparer
- IsActualGreaterThanExpectedWithIgnoreMillisValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual Timestamp value is greater than expected value, ignoring the milliseconds. - IsActualGreaterThanExpectedWithIgnoreMillisValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedWithIgnoreMillisValueComparer
- isActualGreaterThanOrEqualToExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is greater than or equal to the expected value.
- IsActualGreaterThanOrEqualToExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is greater than or equal to expected value. - IsActualGreaterThanOrEqualToExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedValueComparer
- IsActualGreaterThanOrEqualToExpectedWithIgnoreMillisValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual Timestamp value is greater than or equal to expected value, ignoring the milliseconds. - IsActualGreaterThanOrEqualToExpectedWithIgnoreMillisValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedWithIgnoreMillisValueComparer
- isActualLessOrEqualToThanExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is less than or equal to the expected value.
- isActualLessThanExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is less than the expected value.
- IsActualLessThanExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is less than expected value. - IsActualLessThanExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualLessThanExpectedValueComparer
- IsActualLessThanOrEqualToExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is less than or equal to expected value. - IsActualLessThanOrEqualToExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualLessThanOrEqualToExpectedValueComparer
- isActualNotEqualToExpected - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Compares actual and expected values for inequality.
- IsActualNotEqualToExpectedValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is not equal to expected value. - IsActualNotEqualToExpectedValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualNotEqualToExpectedValueComparer
- isActualNotNullValueComparer - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is not null.
- IsActualNotNullValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is not null. - IsActualNotNullValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualNotNullValueComparer
- isActualNullValueComparer - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual value is null.
- IsActualNullValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies actual value is null. - IsActualNullValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.IsActualNullValueComparer
- isActualValueInValues(ITable, int) - Method in class org.dbunit.assertion.comparer.value.ConditionalSetBiValueComparer
-
Returns whether the value derived from the given row of the actual table is present in
ConditionalSetBiValueComparer.values. - isActualWithinOneMinuteNewerOfExpectedTimestamp - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual timestamp is up to one minute newer than the expected timestamp.
- isActualWithinOneMinuteOlderOfExpectedTimestamp - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual timestamp is up to one minute older than the expected timestamp.
- isActualWithinOneSecondNewerOfExpectedTimestamp - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual timestamp is up to one second newer than the expected timestamp.
- isActualWithinOneSecondOlderOfExpectedTimestamp - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Checks whether the actual timestamp is up to one second older than the expected timestamp.
- IsActualWithinToleranceOfExpectedTimestampValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation forTimestamps that verifies actual value is within a low and high milliseconds tolerance range of expected value. - IsActualWithinToleranceOfExpectedTimestampValueComparer(long, long) - Constructor for class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Create instance specifying the allowed actual time difference range from expected.
- IsAlnumHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches alphanumeric characters. - IsAlnumHandler.QUOTE - Class in org.dbunit.dataset.common.handlers
-
Helper that starts a quoted field, re-arranging the pipeline to accept characters literally until the closing quote.
- IsAlnumHandler.UNQUOTE - Class in org.dbunit.dataset.common.handlers
-
Helper that ends a quoted field, restoring the pipeline's pre-quote state.
- isCaseSensitiveTableNames() - Method in class org.dbunit.dataset.AbstractDataSet
- isCaseSensitiveTableNames() - Method in interface org.dbunit.dataset.IDataSet
-
Whether or not this dataset handles table names in a case sensitive way or not.
- isCaseSensitiveTableNames() - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Whether or not the created dataset should use case sensitive table names.
- isCaseSensitiveTableNames() - Method in class org.dbunit.dataset.xml.FlatXmlProducer
-
Returns whether or not this producer works case sensitively.
- isCloseConnectionAfterTest() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Get whether the connection lookupFeatureValue() and cleanupData() are done with is closed.
- isColumnSensing() - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Whether or not column sensing is enabled.
- isCombine() - Method in class org.dbunit.ant.Operation
-
Returns whether multiple sources are combined into a single dataset.
- isContaining(Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualContainingExpectedStringValueComparer
-
Returns whether the actual value, converted to a string, contains the expected value, also converted to a string.
- isDataFormat(String) - Method in class org.dbunit.ant.AbstractStep
-
Checks if the given format is a format which contains tabular data.
- isDateTime() - Method in class org.dbunit.dataset.datatype.AbstractDataType
- isDateTime() - Method in class org.dbunit.dataset.datatype.DataType
-
Returns
trueif thisDataTyperepresents a date and/or time. - isDateTime() - Method in class org.dbunit.dataset.datatype.DateDataType
- isDateTime() - Method in class org.dbunit.dataset.datatype.TimeDataType
- isDateTime() - Method in class org.dbunit.dataset.datatype.TimestampDataType
- isDateTime() - Method in class org.dbunit.ext.mssql.DateTimeOffsetType
- isDtdMetadata() - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Whether or not DTD metadata is available to parse via a DTD handler.
- ISearchAlgorithm - Interface in org.dbunit.util.search
-
Interface representing an algorithm that searches a graph.
- ISearchCallback - Interface in org.dbunit.util.search
-
Callback used by the search algorithms.
This interface is responsible for providing the edges of the graph and it can be notified of some events generated by the search. - isEmpty() - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Returns whether this map has no tables.
- isEmpty() - Method in class org.dbunit.dataset.filter.ExcludeTableFilter
-
Returns whether no tables have been excluded yet.
- isEmpty() - Method in class org.dbunit.dataset.filter.IncludeTableFilter
-
Returns whether no tables have been included yet.
- isEmpty() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Returns whether the queue currently has no elements.
- isEmpty() - Method in class org.dbunit.util.concurrent.LinkedQueue
-
Returns whether the queue is empty.
- isEnumType(String) - Method in class org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
-
Returns a data type for the given sql type name if the user wishes one.
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualContainingExpectedStringValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedJsonValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedWithEmptyFailMessageValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualGreaterThanOrEqualToExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualLessThanExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualLessThanOrEqualToExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualNotEqualToExpectedValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualNotNullValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualNullValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.NeverFailsValueComparer
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.TimestampIgnoreMillisValueComparerBase
- isExpected(ITable, ITable, int, String, DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.ValueComparerTemplateBase
-
Determines whether the actual value compares as expected against the expected value.
- isExpectedWithNull(Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Since one is a known null, isExpected=true when they equal.
- isExpectedWithNull(Object, Object) - Method in class org.dbunit.assertion.comparer.value.TimestampIgnoreMillisValueComparerBase
-
Determines whether the actual value matches the expected value when at least one of them is
null. - isExpectedWithoutNull(Object, Object, DataType) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Neither is null so compare values with tolerance.
- isExpectedWithoutNull(DataType, Object, Object) - Method in class org.dbunit.assertion.comparer.value.TimestampIgnoreMillisValueComparerBase
-
Determines whether the actual value matches the expected value, ignoring milliseconds, given that neither is
null. - isExtendedSyntax(String) - Static method in class org.dbunit.dataset.datatype.DataType
-
Performs a quick check to test if the specified string uses extended syntax.
- isFailMessage(String) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Returns whether the given fail message is non-empty.
- isJsonEqual(int, String, Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedJsonValueComparer
-
Returns whether the expected and actual values parse as structurally equal JSON documents.
- isLastTable(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Checks whether the given table name matches the last table added to this map.
- isNotNullable() - Method in class org.dbunit.dataset.Column
-
Returns whether this column definitely does not allow
NULLvalues. - isNullable() - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
-
Returns whether the property's value may be
null. - isNumber() - Method in class org.dbunit.dataset.datatype.AbstractDataType
- isNumber() - Method in class org.dbunit.dataset.datatype.DataType
-
Returns
trueif thisDataTyperepresents a number. - isOrdered() - Method in class org.dbunit.ant.AbstractStep
-
Returns whether the resulting dataset's tables must be ordered.
- isPercentage() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.Precision
-
Returns whether the delta is interpreted as a percentage.
- isSortOnFilteredColumnsOnly() - Method in class org.dbunit.VerifyTableDefinition
-
Returns whether this table sorts by only its filtered columns instead of all native columns.
- isSybaseDb(DatabaseMetaData) - Static method in class org.dbunit.util.SQLHelper
-
Detects whether or not the given metadata describes the connection to a Sybase database or not.
- IStatementFactory - Interface in org.dbunit.database.statement
-
Factory that creates the JDBC statement wrapper used to execute a database operation.
- isTolerant(long) - Method in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Returns whether the given time difference is within the configured tolerance range.
- isTransaction() - Method in class org.dbunit.ant.Operation
-
Returns whether the operation runs within a transaction.
- isValidName(String) - Method in class org.dbunit.database.PrimaryKeyFilter
- isValidName(String) - Method in class org.dbunit.dataset.filter.AbstractTableFilter
-
Returns
trueif specified table is allowed by this filter. - isValidName(String) - Method in class org.dbunit.dataset.filter.DefaultTableFilter
- isValidName(String) - Method in class org.dbunit.dataset.filter.ExcludeTableFilter
- isValidName(String) - Method in class org.dbunit.dataset.filter.IncludeTableFilter
- isValue() - Method in class org.dbunit.ant.DbConfig.Feature
-
Returns the feature value.
- isVerifyTableDefinitionsHasTable(VerifyTableDefinition[], String) - Method in class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
-
Returns whether the given expected table name has a corresponding
VerifyTableDefinition. - isZero(BigDecimal) - Static method in class org.dbunit.dataset.datatype.NumberTolerantDataType
-
Checks if the given value is zero.
- ITable - Interface in org.dbunit.dataset
-
A table represents a collection of tabular data.
- ITableFilter - Interface in org.dbunit.dataset.filter
-
Represents a strategy used by
FilteredDataSetto exposes only some tables from a dataset. - ITableFilterSimple - Interface in org.dbunit.dataset.filter
-
A filter for table names.
- ITableIterator - Interface in org.dbunit.dataset
- ITableMetaData - Interface in org.dbunit.dataset
-
Represents table metadata.
- item_ - Variable in class org.dbunit.util.concurrent.Slot
-
The slot
- iterator() - Method in class org.dbunit.dataset.AbstractDataSet
- iterator() - Method in interface org.dbunit.dataset.IDataSet
-
Returns an iterator over the tables in this dataset in proper sequence.
- iterator(IDataSet) - Method in class org.dbunit.operation.AbstractBatchOperation
-
Returns list of tables this operation is applied to.
- iterator(IDataSet) - Method in class org.dbunit.operation.DeleteOperation
- iterator(IDataSet, boolean) - Method in class org.dbunit.database.PrimaryKeyFilter
- iterator(IDataSet, boolean) - Method in class org.dbunit.dataset.filter.AbstractTableFilter
- iterator(IDataSet, boolean) - Method in interface org.dbunit.dataset.filter.ITableFilter
-
Returns iterator of tables allowed by this filter from the specified dataset.
- iterator(IDataSet, boolean) - Method in class org.dbunit.dataset.filter.SequenceTableFilter
J
- JdbcBasedDBTestCase - Class in org.dbunit
-
TestCase that uses a JdbcDatabaseTester.
- JdbcBasedDBTestCase() - Constructor for class org.dbunit.JdbcBasedDBTestCase
-
Default constructor.
- JdbcBasedDBTestCase(String) - Constructor for class org.dbunit.JdbcBasedDBTestCase
-
Constructs a test case with the given name.
- JdbcDatabaseTester - Class in org.dbunit
-
DatabaseTester that uses JDBC's Driver Manager to create connections.
- JdbcDatabaseTester(String, String) - Constructor for class org.dbunit.JdbcDatabaseTester
-
Creates a new JdbcDatabaseTester with the specified properties.
Username and Password are set to null. - JdbcDatabaseTester(String, String, String, String) - Constructor for class org.dbunit.JdbcDatabaseTester
-
Creates a new JdbcDatabaseTester with the specified properties.
- JdbcDatabaseTester(String, String, String, String, String) - Constructor for class org.dbunit.JdbcDatabaseTester
-
Creates a new JdbcDatabaseTester with the specified properties.
- JdbcDatabaseTester(String, String, String, String, String, CachingConnectionProvider) - Constructor for class org.dbunit.JdbcDatabaseTester
-
Creates a new JdbcDatabaseTester with the specified properties, reusing one
IDatabaseConnectionacross calls via the givenCachingConnectionProviderinstead of creating a new one on every call.
Share the sameconnectionProviderinstance across the testers created for each test to get reuse across test methods; pair it withIOperationListener.NO_OP_OPERATION_LISTENER(or an equivalent non-closing listener) so the cached connection is not closed after everyAbstractDatabaseTester.onSetup()/AbstractDatabaseTester.onTearDown()call. - JndiBasedDBTestCase - Class in org.dbunit
-
TestCase that uses a JndiDatabaseTester.
- JndiBasedDBTestCase() - Constructor for class org.dbunit.JndiBasedDBTestCase
-
Default constructor.
- JndiBasedDBTestCase(String) - Constructor for class org.dbunit.JndiBasedDBTestCase
-
Constructs a test case with the given name.
- JndiDatabaseTester - Class in org.dbunit
-
DatabaseTester that pulls a DataSource from a JNDI location.
- JndiDatabaseTester(String) - Constructor for class org.dbunit.JndiDatabaseTester
-
Creates a JndiDatabaseTester with default JNDI properties.
- JndiDatabaseTester(Properties, String) - Constructor for class org.dbunit.JndiDatabaseTester
-
Creates a JndiDatabaseTester with specific JNDI properties.
- JndiDatabaseTester(Properties, String, String) - Constructor for class org.dbunit.JndiDatabaseTester
-
Creates a JndiDatabaseTester with specific JNDI properties.
- JndiDatabaseTester(Properties, String, String, CachingConnectionProvider) - Constructor for class org.dbunit.JndiDatabaseTester
-
Creates a JndiDatabaseTester with specific JNDI properties, reusing one
IDatabaseConnectionacross calls via the givenCachingConnectionProviderinstead of creating a new one on every call.
Share the sameconnectionProviderinstance across the testers created for each test to get reuse across test methods; pair it withIOperationListener.NO_OP_OPERATION_LISTENER(or an equivalent non-closing listener) so the cached connection is not closed after everyAbstractDatabaseTester.onSetup()/AbstractDatabaseTester.onTearDown()call. - JsonDataSet - Class in org.dbunit.dataset.json
-
Reads and writes flat JSON-based dataset documents.
- JsonDataSet(File) - Constructor for class org.dbunit.dataset.json.JsonDataSet
-
Creates a JSON dataset from the given file.
- JsonDataSet(InputStream) - Constructor for class org.dbunit.dataset.json.JsonDataSet
-
Creates a JSON dataset from the given input stream.
- JsonProducer - Class in org.dbunit.dataset.json
-
Produces a dataset by reading a JSON document.
- JsonProducer(File) - Constructor for class org.dbunit.dataset.json.JsonProducer
-
Creates a producer that reads from the given file.
- JsonProducer(InputStream) - Constructor for class org.dbunit.dataset.json.JsonProducer
-
Creates a producer that reads from the given stream.
- JsonType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between PostgreSQL native
json/jsonbtypes and Strings. - JsonType(String) - Constructor for class org.dbunit.ext.postgresql.JsonType
-
Creates a data type adapter for the given PostgreSQL JSON sql type name.
- JUnitFailureFactory - Class in org.dbunit.assertion
-
Adapter that lets dbunit create JUnit failure objects.
- JUnitFailureFactory() - Constructor for class org.dbunit.assertion.JUnitFailureFactory
L
- last - Variable in class org.dbunit.util.concurrent.SynchronousChannel.Queue
-
The last node in the queue, or
nullif empty. - last_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
The last node of list.
- last_ - Variable in class org.dbunit.util.concurrent.LinkedQueue
-
The last node of list.
- length() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Returns the number of elements in the array.
- length() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Returns the number of elements in the array.
- LineEndHandler - Class in org.dbunit.dataset.common.handlers
-
Placeholder class reserved for CSV line-ending handling.
- LinkedNode - Class in org.dbunit.util.concurrent
-
A standard linked list node used in various queue classes
- LinkedNode() - Constructor for class org.dbunit.util.concurrent.LinkedNode
-
Default constructor.
- LinkedNode(Object) - Constructor for class org.dbunit.util.concurrent.LinkedNode
-
Constructs a node holding the given value.
- LinkedNode(Object, LinkedNode) - Constructor for class org.dbunit.util.concurrent.LinkedNode
-
Constructs a node holding the given value and linked to the given next node.
- LinkedQueue - Class in org.dbunit.util.concurrent
-
A linked list based channel implementation.
- LinkedQueue() - Constructor for class org.dbunit.util.concurrent.LinkedQueue
-
Default constructor.
- listeners - Variable in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
The array of listeners.
- load(String) - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Load the specified String filename from the classpath into a dbUnit dataset.
- load(String) - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Load the specified String filename from the classpath into a dbUnit dataset.
- loadClass(String, ClassLoader) - Method in class org.dbunit.dataset.datatype.AbstractDataType
-
Loads the given class using the given class loader.
- loadClass(String, Connection) - Method in class org.dbunit.dataset.datatype.AbstractDataType
-
Loads the given class using the class loader of the given connection.
- loadDataSet(URL) - Method in class org.dbunit.util.fileloader.CsvDataFileLoader
-
Load the specified URL file into a dbUnit dataset.
- loadDataSet(URL) - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Load the specified URL file into a dbUnit dataset.
- loadDataSet(URL) - Method in class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Load the specified URL file into a dbUnit dataset.
- loadDataSet(URL) - Method in class org.dbunit.util.fileloader.FullXmlDataFileLoader
-
Load the specified URL file into a dbUnit dataset.
- loadDataSet(URL) - Method in class org.dbunit.util.fileloader.XlsDataFileLoader
-
Load the specified URL file into a dbUnit dataset.
- loadFile(String) - Method in class org.dbunit.dataset.datatype.BytesDataType
-
Reads the entire contents of the given file into a byte array.
- loadTableDataFromDatabase(String, IDatabaseConnection) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Loads the given table's actual data from the database.
- loadTableDataFromDataSet(String) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Loads the given table's expected data from the expected dataset.
- loadURL(String) - Method in class org.dbunit.dataset.datatype.BytesDataType
-
Reads the entire contents at the given URL into a byte array.
- lock_ - Variable in class org.dbunit.util.concurrent.SynchronizedVariable
-
The lock used for all synchronization for this object.
- logDebugIfValueChanged(String, String, String, Class) - Static method in class org.dbunit.util.SQLHelper
-
Checks whether two given values are unequal and if so print a log message (level DEBUG)
- logger - Variable in class org.dbunit.database.PrimaryKeyFilter
-
Logger for this class.
- logger - Variable in class org.dbunit.database.PrimaryKeyFilteredTableWrapper
-
logger
- logger - Variable in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Logger for this class.
- logger - Variable in class org.dbunit.util.search.DepthFirstSearch
-
Logger for this class.
- logInfoIfValueChanged(String, String, String, Class) - Static method in class org.dbunit.util.SQLHelper
-
Checks whether two given values are unequal and if so print a log message (level DEBUG)
- LONG_RAW - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
LONG RAWcolumns. - LongDataType - Class in org.dbunit.dataset.datatype
- LONGNVARCHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL LONGNVARCHAR type.
- LONGVARBINARY - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL LONGVARBINARY type.
- LONGVARCHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL LONGVARCHAR type.
- LowerCaseDataSet - Class in org.dbunit.dataset
-
Specialized IDataSet decorator that convert the table name and column names to lower case.
- LowerCaseDataSet(IDataSet) - Constructor for class org.dbunit.dataset.LowerCaseDataSet
-
Creates a dataset that lower-cases the table and column names of the given dataset.
- LowerCaseDataSet(ITable) - Constructor for class org.dbunit.dataset.LowerCaseDataSet
-
Creates a dataset that lower-cases the table and column names of the given table.
- LowerCaseDataSet(ITable[]) - Constructor for class org.dbunit.dataset.LowerCaseDataSet
-
Creates a dataset that lower-cases the table and column names of the given tables.
- LowerCaseTableMetaData - Class in org.dbunit.dataset
-
Specialized ITableMetaData implementation that convert the table name and column names to lower case.
- LowerCaseTableMetaData(String, Column[]) - Constructor for class org.dbunit.dataset.LowerCaseTableMetaData
-
Creates metadata with lower-cased table and column names, and no primary keys.
- LowerCaseTableMetaData(String, Column[], String[]) - Constructor for class org.dbunit.dataset.LowerCaseTableMetaData
-
Creates metadata with lower-cased table and column names, and the given primary key column names.
- LowerCaseTableMetaData(String, Column[], Column[]) - Constructor for class org.dbunit.dataset.LowerCaseTableMetaData
-
Creates metadata with lower-cased table and column names, and the given primary key columns.
- LowerCaseTableMetaData(ITableMetaData) - Constructor for class org.dbunit.dataset.LowerCaseTableMetaData
-
Creates metadata with the lower-cased table and column names of the given metadata.
M
- main(String[]) - Static method in class org.dbunit.util.Base64
-
Testing.
- main(String[]) - Static method in class org.dbunit.util.xml.XmlWriter
-
Runs
XmlWriter.test1()andXmlWriter.test2(), printing their output for manual inspection. - make(ITable, int) - Method in interface org.dbunit.assertion.comparer.value.ValueFactory
-
Make the instance from the row in the table.
- makeAdditionalColumnInfo(String[], Column[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Don't add excluded columns to additionalColumnInfo as they are not found and generate a not found message in the fail message.
- makeAdditionalColumnInfo(ITable, String[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Don't add excluded columns to additionalColumnInfo as they are not found and generate a not found message in the fail message.
- makeAdditionalColumnInfoErrorMessage(String, DataSetException) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Builds an error message describing why additional column info could not be retrieved.
- makeColumnToValueComparerMap() - Method in class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
-
Creates a new, empty column-to-
ValueComparermap. - makeCompositeDataSet(String[], String) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Make a
IDataSetfrom the specified files with case sensitive table names as false. - makeCompositeDataSet(String[], String, boolean) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Make a
IDataSetfrom the specified files. - makeFailMessage() - Method in class org.dbunit.assertion.comparer.value.IsActualNotNullValueComparer
-
Returns the message used when the actual value is unexpectedly null.
- makeFailMessage() - Method in class org.dbunit.assertion.comparer.value.IsActualNullValueComparer
-
Returns the message used when the actual value is unexpectedly non-null.
- makeFailMessage(Object, Object) - Method in class org.dbunit.assertion.comparer.value.IsActualEqualToExpectedWithEmptyFailMessageValueComparer
- makeFailMessage(Object, Object) - Method in class org.dbunit.assertion.comparer.value.ValueComparerTemplateBase
-
Makes the fail message using
ValueComparerTemplateBase.getFailPhrase(). - makeMismatchedTableNamesList(VerifyTableDefinition[], String[]) - Method in class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
-
Returns the expected table names that have no corresponding
VerifyTableDefinition. - MariaDbDataTypeFactory - Class in org.dbunit.ext.mariadb
-
Specialized factory that recognizes MariaDB data types.
- MariaDbDataTypeFactory() - Constructor for class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
- matches(String, String) - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Checks whether or not the
tableNameand thecolumnNamematch the ones of this object. - matches(ResultSet, String, String, boolean) - Method in class org.dbunit.database.DefaultMetadataHandler
- matches(ResultSet, String, String, boolean) - Method in interface org.dbunit.database.IMetadataHandler
-
Checks if the given
resultSetmatches the given schema and table name. - matches(ResultSet, String, String, boolean) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- matches(ResultSet, String, String, boolean) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- matches(ResultSet, String, String, boolean) - Static method in class org.dbunit.util.SQLHelper
-
Deprecated.
- matches(ResultSet, String, String, String, String, boolean) - Method in class org.dbunit.database.DefaultMetadataHandler
- matches(ResultSet, String, String, String, String, boolean) - Method in interface org.dbunit.database.IMetadataHandler
-
Checks if the given
resultSetmatches the given schema and table name. - matches(ResultSet, String, String, String, String, boolean) - Method in class org.dbunit.ext.db2.Db2MetadataHandler
-
This method is overridden since - at least with DB2 driver db2jcc-9.5.jar - there is a problem that the
DatabaseMetaDatadoes not return the same values for catalog and schema like the columnsResultSetdoes. - matches(ResultSet, String, String, String, String, boolean) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- matches(ResultSet, String, String, String, String, boolean) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- matches(ResultSet, String, String, String, String, boolean) - Static method in class org.dbunit.util.SQLHelper
-
Deprecated.
- matchesColumn(String, String, String, String, String, String, String, String, boolean) - Method in interface org.dbunit.database.IMetadataHandler
-
Tests whether a candidate column's metadata values match the search criteria, using the same semantics as
IMetadataHandler.matches(ResultSet, String, String, String, String, boolean)but operating on already-extracted values instead of a liveResultSetrow. - matchesColumn(String, String, String, String, String, String, String, String, boolean) - Method in class org.dbunit.ext.db2.Db2MetadataHandler
-
Tests whether a candidate column's metadata values match the search criteria, using the same semantics as
IMetadataHandler.matches(ResultSet, String, String, String, String, boolean)but operating on already-extracted values instead of a liveResultSetrow. - matchesColumn(String, String, String, String, String, String, String, String, boolean) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
-
Tests whether a candidate column's metadata values match the search criteria, using the same semantics as
IMetadataHandler.matches(ResultSet, String, String, String, String, boolean)but operating on already-extracted values instead of a liveResultSetrow. - MckoiConnection - Class in org.dbunit.ext.mckoi
-
Database connection for Mckoi that pre-configures all properties required to successfully use dbunit with Mckoi.
- MckoiConnection(Connection, String) - Constructor for class org.dbunit.ext.mckoi.MckoiConnection
-
Creates a new
MckoiConnection. - MckoiDataTypeFactory - Class in org.dbunit.ext.mckoi
-
MckoiDataTypeFactory - This class is for the DBUnit data type factory for Mckoi database
- MckoiDataTypeFactory() - Constructor for class org.dbunit.ext.mckoi.MckoiDataTypeFactory
- merge(List<ResultSet>) - Static method in class org.dbunit.database.InMemoryMetadataResultSet
-
Copies every row of each given result set, closing each as it is consumed, and returns a single merged
ResultSetpositioned before the first row. - mergeColumnsByName(Column[], Column[]) - Static method in class org.dbunit.dataset.Columns
-
Merges the two arrays of columns so that all of the columns are available in the result array.
- MsSqlConnection - Class in org.dbunit.ext.mssql
-
DatabaseConnectionspecialization that configures Microsoft SQL Server-specific connection behavior. - MsSqlConnection(Connection) - Constructor for class org.dbunit.ext.mssql.MsSqlConnection
-
Creates a new
MsSqlConnection. - MsSqlConnection(Connection, String) - Constructor for class org.dbunit.ext.mssql.MsSqlConnection
-
Creates a new
MsSqlConnection. - MsSqlDataTypeFactory - Class in org.dbunit.ext.mssql
-
Specialized factory that recognizes MS SQL Server data types.
- MsSqlDataTypeFactory() - Constructor for class org.dbunit.ext.mssql.MsSqlDataTypeFactory
- multicast(PropertyChangeEvent) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Helper method to relay evt to all listeners.
- multiply(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Multiply value by factor (i.e., set value *= factor)
- MultiSchemaMySqlMetadataHandler - Class in org.dbunit.ext.mysql
-
A
MySqlMetadataHandlerfor connections not restricted to a single schema (MySQL "catalog"), e.g. a connection made as MySQL's "root" specifically to work across several schemas at once withDatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMESenabled. - MultiSchemaMySqlMetadataHandler() - Constructor for class org.dbunit.ext.mysql.MultiSchemaMySqlMetadataHandler
- MySqlConnection - Class in org.dbunit.ext.mysql
-
DatabaseConnectionspecialization that configures MySQL-specific connection behavior. - MySqlConnection(Connection, String) - Constructor for class org.dbunit.ext.mysql.MySqlConnection
-
Creates a new
MySqlConnection. - MySqlDataTypeFactory - Class in org.dbunit.ext.mysql
-
Specialized factory that recognizes MySql data types.
- MySqlDataTypeFactory() - Constructor for class org.dbunit.ext.mysql.MySqlDataTypeFactory
- MySqlMetadataHandler - Class in org.dbunit.ext.mysql
-
Special metadata handler for MySQL.
Was introduced to fix "[ 2545095 ] Mysql FEATURE_QUALIFIED_TABLE_NAMES column SQLHelper.matches". - MySqlMetadataHandler() - Constructor for class org.dbunit.ext.mysql.MySqlMetadataHandler
N
- NCHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL NCHAR type.
- NCHAR - Static variable in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
-
JDBC type code for MS SQL Server's
nchartype. - NCHAR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
NCHARtype. - negate() - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set the value to the negative of its old value
- NetezzaDataTypeFactory - Class in org.dbunit.ext.netezza
-
NetezzaDataTypeFactory - This class is for the DBUnit data type factory for Netezza database
- NetezzaDataTypeFactory() - Constructor for class org.dbunit.ext.netezza.NetezzaDataTypeFactory
- NetezzaMetadataHandler - Class in org.dbunit.ext.netezza
-
Special metadata handler for Netezza.
- NetezzaMetadataHandler() - Constructor for class org.dbunit.ext.netezza.NetezzaMetadataHandler
-
Default constructor.
- neverFails - Static variable in class org.dbunit.assertion.comparer.value.ValueComparers
-
Verifies nothing and never fails.
- NeverFailsValueComparer - Class in org.dbunit.assertion.comparer.value
-
ValueComparerimplementation that verifies nothing and never fails;NeverFailsValueComparer.isExpected(ITable, ITable, int, String, DataType, Object, Object)always returns true. - NeverFailsValueComparer() - Constructor for class org.dbunit.assertion.comparer.value.NeverFailsValueComparer
- newDatabaseTester() - Method in class org.dbunit.DatabaseTestCase
-
Creates a IDatabaseTester for this testCase.
ADefaultDatabaseTesteris used by default. - newDatabaseTester() - Method in class org.dbunit.DataSourceBasedDBTestCase
-
Creates a new IDatabaseTester.
Default implementation returns aDataSourceDatabaseTesterconfigured with the value returned fromDataSourceBasedDBTestCase.getDataSource(). - newDatabaseTester() - Method in class org.dbunit.DBTestCase
-
Creates a new IDatabaseTester.
- newDatabaseTester() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Creates a new IDatabaseTester.
- newDatabaseTester() - Method in class org.dbunit.JdbcBasedDBTestCase
-
Creates a new IDatabaseTester.
Default implementation returns aJdbcDatabaseTesterconfigured with the values returned fromJdbcBasedDBTestCase.getDriverClass(),JdbcBasedDBTestCase.getConnectionUrl(),JdbcBasedDBTestCase.getUsername()andJdbcBasedDBTestCase.getPassword(). - newDatabaseTester() - Method in class org.dbunit.JndiBasedDBTestCase
-
Creates a new IDatabaseTester.
Default implementation returns aJndiDatabaseTesterconfigured with the values returned fromJndiBasedDBTestCase.getJNDIProperties()andJndiBasedDBTestCase.getLookupName(). - newEdge(ResultSet, int, String, String, String, String) - Method in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
This method can be overwritten by the sub-classes if they need to decorate the edge (for instance, providing an Edge that contains the primary and foreign keys used).
- newEdge(ResultSet, int, String, String, String, String) - Method in class org.dbunit.database.search.ImportedAndExportedKeysSearchCallbackFilteredByPKs
- newEdge(ResultSet, int, String, String, String, String) - Method in class org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs
- next - Variable in class org.dbunit.util.concurrent.LinkedNode
-
The next node in the list, or
nullif this is the last node. - next() - Method in class org.dbunit.database.DatabaseTableIterator
- next() - Method in class org.dbunit.database.QueryTableIterator
-
Position this iterator to the next table.
- next() - Method in class org.dbunit.dataset.DefaultTableIterator
- next() - Method in class org.dbunit.dataset.filter.SequenceTableIterator
- next() - Method in interface org.dbunit.dataset.ITableIterator
-
Position this iterator to the next table.
- next() - Method in class org.dbunit.dataset.stream.StreamingIterator
- nextWithoutClosing() - Method in class org.dbunit.database.QueryTableIterator
-
Advances to the next table without closing the current one.
- NO - Static variable in class org.dbunit.dataset.Column.AutoIncrement
-
Indicates that the column is not auto-incremented.
- NO_MODE - Static variable in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
No nodes are allowed or denied;
AbstractNodesFilterSearchCallback.searchNode(Object)always returnstrue. - NO_NULLS - Static variable in class org.dbunit.dataset.Column
-
Indicates that the column might not allow
NULLvalues. - NO_OP_OPERATION_LISTENER - Static variable in interface org.dbunit.IOperationListener
-
Simple implementation of the
IOperationListenerthat does not close the database connection after setUp and tearDown. - NO_VALUE - Static variable in interface org.dbunit.dataset.ITable
-
Sentinel returned by
ITable.getValue(int, String)to distinguish "no value" from a null value. - nodeAdded(Object) - Method in class org.dbunit.database.PrimaryKeyFilter
-
Records the given node as a known table name.
- nodeAdded(Object) - Method in class org.dbunit.database.search.ImportedAndExportedKeysSearchCallbackFilteredByPKs
- nodeAdded(Object) - Method in class org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs
- nodeAdded(Object) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Do nothing...
- nodeAdded(Object) - Method in interface org.dbunit.util.search.ISearchCallback
-
Notifies the callback that a node has been added to the search result.
- NoHandler - Class in org.dbunit.dataset.common.handlers
-
Sentinel
PipelineComponentplaced at the end of a pipeline that rejects any character not handled by an earlier component. - noMoreInput() - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- noMoreInput() - Method in interface org.dbunit.dataset.common.handlers.Handler
-
Notifies this handler that no more input will be provided.
- noMoreInput() - Method in class org.dbunit.dataset.common.handlers.Pipeline
- NONE - Static variable in class org.dbunit.operation.DatabaseOperation
-
No-op that does nothing to the database.
- NoPrimaryKeyException - Exception Class in org.dbunit.dataset
-
Signals that a table has no primary key column where one is required.
- NoPrimaryKeyException() - Constructor for exception class org.dbunit.dataset.NoPrimaryKeyException
-
Constructs a
NoPrimaryKeyExceptionwith no detail message and no encapsulated exception. - NoPrimaryKeyException(String) - Constructor for exception class org.dbunit.dataset.NoPrimaryKeyException
-
Constructs a
NoPrimaryKeyExceptionwith the specified detail message and no encapsulated exception. - NoPrimaryKeyException(String, Throwable) - Constructor for exception class org.dbunit.dataset.NoPrimaryKeyException
-
Constructs a
NoPrimaryKeyExceptionwith the specified detail message and encapsulated exception. - NoPrimaryKeyException(Throwable) - Constructor for exception class org.dbunit.dataset.NoPrimaryKeyException
-
Constructs a
NoPrimaryKeyExceptionwith the encapsulated exception and use string representation as detail message. - NoSuchColumnException - Exception Class in org.dbunit.dataset
-
Thrown to indicate that a database column has been accessed that does not exist.
- NoSuchColumnException() - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Deprecated.since 2.3.0. Prefer constructor taking a table/columnName as argument
- NoSuchColumnException(String) - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Deprecated.since 2.3.0. Prefer constructor taking a table/columnName as argument
- NoSuchColumnException(String, String) - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Creates an exception using the given table name + column name
- NoSuchColumnException(String, String, String) - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Creates an exception using the given table name + column name
- NoSuchColumnException(String, Throwable) - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Deprecated.since 2.3.0. Prefer constructor taking a table/columnName as argument
- NoSuchColumnException(Throwable) - Constructor for exception class org.dbunit.dataset.NoSuchColumnException
-
Deprecated.since 2.3.0. Prefer constructor taking a table/columnName as argument
- NoSuchTableException - Exception Class in org.dbunit.dataset
-
Signals that a dataset does not contain a table with the requested name.
- NoSuchTableException() - Constructor for exception class org.dbunit.dataset.NoSuchTableException
-
Default constructor.
- NoSuchTableException(String) - Constructor for exception class org.dbunit.dataset.NoSuchTableException
-
Constructs a
NoSuchTableExceptionwith the specified detail message. - NoSuchTableException(String, Throwable) - Constructor for exception class org.dbunit.dataset.NoSuchTableException
-
Constructs a
NoSuchTableExceptionwith the specified detail message and cause. - NoSuchTableException(Throwable) - Constructor for exception class org.dbunit.dataset.NoSuchTableException
-
Constructs a
NoSuchTableExceptionwith the specified cause. - NTEXT - Static variable in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
-
JDBC type code for MS SQL Server's
ntexttype. - NTEXT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
NTEXTtype. - NTEXT_MSSQL_2005 - Static variable in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
-
JDBC type code for MS SQL Server 2005's
ntexttype. - NUCL - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
NUCLtype. - NULL - Static variable in class org.dbunit.dataset.csv.CsvDataSetWriter
-
todo: customizable separators (field, lines), manage the writers opened for each table
- NULL - Static variable in class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
-
The Constant NULL.
- NULLABLE - Static variable in class org.dbunit.dataset.Column
-
Indicates that the column definitely allows
NULLvalues. - NULLABLE_UNKNOWN - Static variable in class org.dbunit.dataset.Column
-
Indicates that the nullability of columns is unknown.
- nullableValue(boolean) - Static method in class org.dbunit.dataset.Column
-
Returns the appropriate Nullable constant.
- nullableValue(int) - Static method in class org.dbunit.dataset.Column
-
Returns the appropriate Nullable constant according specified JDBC DatabaseMetaData constant.
- NumberDataType - Class in org.dbunit.dataset.datatype
-
DataTypemapping numeric SQL column types toBigDecimal. - NumberTolerantDataType - Class in org.dbunit.dataset.datatype
-
Extended version of the
NumberDataType. - NUMERIC - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL NUMERIC type.
- NUMERIC - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
NUMERICtype. - NVARCHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL NVARCHAR type.
- NVARCHAR - Static variable in class org.dbunit.ext.mssql.MsSqlDataTypeFactory
-
JDBC type code for MS SQL Server's
nvarchartype. - NVARCHAR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
NVARCHARtype.
O
- objectsToSet(Object[]) - Static method in class org.dbunit.util.CollectionsHelper
-
Returns a Set from an array of objects.
- offer(Object, long) - Method in class org.dbunit.util.concurrent.BoundedBuffer
- offer(Object, long) - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
- offer(Object, long) - Method in interface org.dbunit.util.concurrent.Channel
-
Place item in channel only if it can be accepted within msecs milliseconds.
- offer(Object, long) - Method in class org.dbunit.util.concurrent.LinkedQueue
- offer(Object, long) - Method in interface org.dbunit.util.concurrent.Puttable
-
Place item in channel only if it can be accepted within msecs milliseconds.
- offer(Object, long) - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
- offer(Object, long) - Method in class org.dbunit.util.concurrent.SynchronousChannel
- ONE_CENTURY - Static variable in interface org.dbunit.util.concurrent.Sync
-
One century in milliseconds; convenient as a time-out value
- ONE_DAY - Static variable in interface org.dbunit.util.concurrent.Sync
-
One day, in milliseconds; convenient as a time-out value
- ONE_HOUR - Static variable in interface org.dbunit.util.concurrent.Sync
-
One hour, in milliseconds; convenient as a time-out value
- ONE_MINUTE - Static variable in interface org.dbunit.util.concurrent.Sync
-
One minute, in milliseconds; convenient as a time-out value
- ONE_MINUTE_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
One minute, in milliseconds.
- ONE_SECOND - Static variable in interface org.dbunit.util.concurrent.Sync
-
One second, in milliseconds; convenient as a time-out value
- ONE_SECOND_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
One second, in milliseconds.
- ONE_WEEK - Static variable in interface org.dbunit.util.concurrent.Sync
-
One week, in milliseconds; convenient as a time-out value
- ONE_YEAR - Static variable in interface org.dbunit.util.concurrent.Sync
-
One year in milliseconds; convenient as a time-out value
- onSetup() - Method in class org.dbunit.AbstractDatabaseTester
- onSetup() - Method in interface org.dbunit.IDatabaseTester
-
TestCases must call this method inside setUp()
- onTearDown() - Method in class org.dbunit.AbstractDatabaseTester
- onTearDown() - Method in interface org.dbunit.IDatabaseTester
-
TestCases must call this method inside tearDown()
- Operation - Class in org.dbunit.ant
-
The
Operationclass is the step that defines which operation will be performed in the execution of theDbUnitTasktask. - Operation() - Constructor for class org.dbunit.ant.Operation
- OperationData - Class in org.dbunit.operation
-
Pairs a SQL statement with the columns whose values are bound as its parameters.
- OperationData(String, Column[]) - Constructor for class org.dbunit.operation.OperationData
-
Constructs an
OperationDatapairing the given SQL statement with its bound columns. - operationSetUpFinished(IDatabaseConnection) - Method in class org.dbunit.DefaultOperationListener
- operationSetUpFinished(IDatabaseConnection) - Method in interface org.dbunit.IOperationListener
-
Notification of the completion of the
IDatabaseTester.onSetup()method. - operationTearDownFinished(IDatabaseConnection) - Method in class org.dbunit.DefaultOperationListener
- operationTearDownFinished(IDatabaseConnection) - Method in interface org.dbunit.IOperationListener
-
Notification of the completion of the
IDatabaseTester.onTearDown()method Should close the given connection if desired. - or(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set value to value | b.
- ORACLE_BLOB - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
BLOBcolumns. - ORACLE_CLOB - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
CLOBcolumns. - ORACLE_NCLOB - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
NCLOBcolumns. - ORACLE_SDO_GEOMETRY_TYPE - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
SDO_GEOMETRYcolumns. - ORACLE_XMLTYPE - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
XMLTYPEcolumns. - Oracle10DataTypeFactory - Class in org.dbunit.ext.oracle
-
Specialized factory that recognizes Oracle data types for Oracle 10 and higher.
- Oracle10DataTypeFactory() - Constructor for class org.dbunit.ext.oracle.Oracle10DataTypeFactory
- OracleBlobDataType - Class in org.dbunit.ext.oracle
-
BlobDataTypespecialization that works around Oracle JDBC driver BLOB handling quirks. - OracleBlobDataType() - Constructor for class org.dbunit.ext.oracle.OracleBlobDataType
- OracleClobDataType - Class in org.dbunit.ext.oracle
-
ClobDataTypespecialization that works around Oracle JDBC driver CLOB handling quirks. - OracleClobDataType() - Constructor for class org.dbunit.ext.oracle.OracleClobDataType
- OracleConnection - Class in org.dbunit.ext.oracle
-
DatabaseConnectionspecialization that configures Oracle-specific connection behavior. - OracleConnection(Connection, String) - Constructor for class org.dbunit.ext.oracle.OracleConnection
-
Creates a oracle connection.
- OracleDataTypeFactory - Class in org.dbunit.ext.oracle
-
Specialized factory that recognizes Oracle data types.
- OracleDataTypeFactory() - Constructor for class org.dbunit.ext.oracle.OracleDataTypeFactory
- OracleNClobDataType - Class in org.dbunit.ext.oracle
-
NCLOB handler
- OracleNClobDataType() - Constructor for class org.dbunit.ext.oracle.OracleNClobDataType
- OracleSdoElemInfoArray - Class in org.dbunit.ext.oracle
-
This class was generated by oracle jpub.
- OracleSdoElemInfoArray() - Constructor for class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Default constructor.
- OracleSdoElemInfoArray(BigDecimal[]) - Constructor for class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Constructs an array wrapping the given elements.
- OracleSdoGeometry - Class in org.dbunit.ext.oracle
-
This class was generated by oracle jpub.
- OracleSdoGeometry() - Constructor for class org.dbunit.ext.oracle.OracleSdoGeometry
-
Default constructor.
- OracleSdoGeometry(BigDecimal, BigDecimal, OracleSdoPointType, OracleSdoElemInfoArray, OracleSdoOrdinateArray) - Constructor for class org.dbunit.ext.oracle.OracleSdoGeometry
-
Constructs a geometry with the given attribute values.
- OracleSdoGeometryDataType - Class in org.dbunit.ext.oracle
-
This class implements DataType for Oracle SDO_GEOMETRY type used in Oracle Spatial.
- OracleSdoOrdinateArray - Class in org.dbunit.ext.oracle
-
This class was generated by oracle jpub.
- OracleSdoOrdinateArray() - Constructor for class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Default constructor.
- OracleSdoOrdinateArray(BigDecimal[]) - Constructor for class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Constructs an array wrapping the given elements.
- OracleSdoPointType - Class in org.dbunit.ext.oracle
-
This class was generated by oracle jpub.
- OracleSdoPointType() - Constructor for class org.dbunit.ext.oracle.OracleSdoPointType
-
Default constructor.
- OracleSdoPointType(BigDecimal, BigDecimal, BigDecimal) - Constructor for class org.dbunit.ext.oracle.OracleSdoPointType
-
Constructs a point with the given coordinate values.
- OracleXMLTypeDataType - Class in org.dbunit.ext.oracle
-
BlobDataTypespecialization mapping Oracle's XMLTYPE column type. - OrderedTableNameMap - Class in org.dbunit.dataset
-
Associates a table name with an arbitrary object.
- OrderedTableNameMap(boolean) - Constructor for class org.dbunit.dataset.OrderedTableNameMap
-
Creates a new map which does strictly force that one table can only occur once.
- orderedValues() - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Returns the values of this map ordered in the sequence they have been added.
- org.dbunit - package org.dbunit
- org.dbunit.ant - package org.dbunit.ant
- org.dbunit.assertion - package org.dbunit.assertion
- org.dbunit.assertion.comparer.value - package org.dbunit.assertion.comparer.value
- org.dbunit.assertion.comparer.value.builder - package org.dbunit.assertion.comparer.value.builder
- org.dbunit.assertion.comparer.value.verifier - package org.dbunit.assertion.comparer.value.verifier
- org.dbunit.database - package org.dbunit.database
- org.dbunit.database.search - package org.dbunit.database.search
- org.dbunit.database.statement - package org.dbunit.database.statement
- org.dbunit.dataset - package org.dbunit.dataset
- org.dbunit.dataset.common.handlers - package org.dbunit.dataset.common.handlers
- org.dbunit.dataset.csv - package org.dbunit.dataset.csv
- org.dbunit.dataset.datatype - package org.dbunit.dataset.datatype
- org.dbunit.dataset.excel - package org.dbunit.dataset.excel
- org.dbunit.dataset.filter - package org.dbunit.dataset.filter
- org.dbunit.dataset.json - package org.dbunit.dataset.json
- org.dbunit.dataset.sqlloader - package org.dbunit.dataset.sqlloader
- org.dbunit.dataset.stream - package org.dbunit.dataset.stream
- org.dbunit.dataset.xml - package org.dbunit.dataset.xml
- org.dbunit.dataset.yaml - package org.dbunit.dataset.yaml
- org.dbunit.ext.db2 - package org.dbunit.ext.db2
- org.dbunit.ext.h2 - package org.dbunit.ext.h2
- org.dbunit.ext.hsqldb - package org.dbunit.ext.hsqldb
- org.dbunit.ext.mariadb - package org.dbunit.ext.mariadb
- org.dbunit.ext.mckoi - package org.dbunit.ext.mckoi
- org.dbunit.ext.mssql - package org.dbunit.ext.mssql
- org.dbunit.ext.mysql - package org.dbunit.ext.mysql
- org.dbunit.ext.netezza - package org.dbunit.ext.netezza
- org.dbunit.ext.oracle - package org.dbunit.ext.oracle
- org.dbunit.ext.postgresql - package org.dbunit.ext.postgresql
- org.dbunit.junit.jupiter - package org.dbunit.junit.jupiter
- org.dbunit.operation - package org.dbunit.operation
- org.dbunit.util - package org.dbunit.util
- org.dbunit.util.concurrent - package org.dbunit.util.concurrent
- org.dbunit.util.fileloader - package org.dbunit.util.fileloader
- org.dbunit.util.search - package org.dbunit.util.search
- org.dbunit.util.xml - package org.dbunit.util.xml
- OutputStream(OutputStream) - Constructor for class org.dbunit.util.Base64.OutputStream
-
Constructs a
Base64.OutputStreamin ENCODE mode. - OutputStream(OutputStream, boolean) - Constructor for class org.dbunit.util.Base64.OutputStream
-
Constructs a
Base64.OutputStreamin either ENCODE or DECODE mode.
P
- padLeft(String, int, char) - Static method in class org.dbunit.util.TableFormatter
-
Pads the given String with the given
padCharup to the givenlength. - padRight(String, int, char) - Static method in class org.dbunit.util.TableFormatter
-
Pads the given String with the given
padCharup to the givenlength. - parse(File) - Method in interface org.dbunit.dataset.csv.CsvParser
-
Parses the CSV content of the given file.
- parse(File) - Method in class org.dbunit.dataset.csv.CsvParserImpl
- parse(File) - Method in interface org.dbunit.dataset.sqlloader.SqlLoaderControlParser
-
Parse.
- parse(File) - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
Parse.
- parse(Reader, String) - Method in class org.dbunit.dataset.csv.CsvParserImpl
-
Parses the CSV content read from the given reader.
- parse(String) - Method in interface org.dbunit.dataset.csv.CsvParser
-
Parses a single line of CSV text into its individual field values.
- parse(String) - Method in class org.dbunit.dataset.csv.CsvParserImpl
- parse(String) - Method in interface org.dbunit.dataset.sqlloader.SqlLoaderControlParser
-
Parse.
- parse(String) - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
Parse.
- parse(String) - Method in class org.dbunit.util.RelativeDateTimeParser
-
Parses a relative datetime expression such as
[now-1d]. - parse(URL) - Method in interface org.dbunit.dataset.csv.CsvParser
-
Parses the CSV content at the given URL.
- parse(URL) - Method in class org.dbunit.dataset.csv.CsvParserImpl
- parse(URL) - Method in interface org.dbunit.dataset.sqlloader.SqlLoaderControlParser
-
Parse.
- parse(URL) - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
Parse.
- parseForRegexp(String, String) - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
Returns the first capture group of the given regexp matched against the given content.
- peek() - Method in class org.dbunit.util.concurrent.BoundedBuffer
- peek() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
- peek() - Method in interface org.dbunit.util.concurrent.Channel
-
Return, but do not remove object at head of Channel, or null if it is empty.
- peek() - Method in class org.dbunit.util.concurrent.LinkedQueue
- peek() - Method in class org.dbunit.util.concurrent.Slot
- peek() - Method in class org.dbunit.util.concurrent.SynchronousChannel
- permits() - Method in class org.dbunit.util.concurrent.Semaphore
-
Return the current number of available permits.
- permits_ - Variable in class org.dbunit.util.concurrent.Semaphore
-
current number of available permits
- Pipeline - Class in org.dbunit.dataset.common.handlers
-
Chain-of-responsibility pipeline of
PipelineComponents that parses CSV field text one character at a time. - Pipeline() - Constructor for class org.dbunit.dataset.common.handlers.Pipeline
-
Default constructor.
- PipelineComponent - Interface in org.dbunit.dataset.common.handlers
- PipelineConfig - Class in org.dbunit.dataset.common.handlers
-
Holds the configurable separator, quote, and escape characters used by a CSV parsing
Pipeline. - PipelineConfig() - Constructor for class org.dbunit.dataset.common.handlers.PipelineConfig
-
Default constructor.
- PipelineException - Exception Class in org.dbunit.dataset.common.handlers
-
Signals an error while processing a character through the CSV parsing pipeline.
- PipelineException(String) - Constructor for exception class org.dbunit.dataset.common.handlers.PipelineException
-
Constructs a
PipelineExceptionwith the specified detail message. - PK_INDEXES - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Result set column indexes, by
AbstractMetaDataBasedSearchCallback.IMPORT/AbstractMetaDataBasedSearchCallback.EXPORT, holding the primary key column name. - PkTableMap() - Constructor for class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Default constructor.
- PkTableMap(PrimaryKeyFilter.PkTableMap) - Constructor for class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Copy constructor
- poll(long) - Method in class org.dbunit.util.concurrent.BoundedBuffer
- poll(long) - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
- poll(long) - Method in interface org.dbunit.util.concurrent.Channel
-
Return and remove an item from channel only if one is available within msecs milliseconds.
- poll(long) - Method in class org.dbunit.util.concurrent.LinkedQueue
- poll(long) - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
- poll(long) - Method in class org.dbunit.util.concurrent.SynchronousChannel
- poll(long) - Method in interface org.dbunit.util.concurrent.Takable
-
Return and remove an item from channel only if one is available within msecs milliseconds.
- PostgresqlDataTypeFactory - Class in org.dbunit.ext.postgresql
-
Specialized factory that recognizes Postgresql data types.
- PostgresqlDataTypeFactory() - Constructor for class org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
- PostgreSQLOidDataType - Class in org.dbunit.ext.postgresql
-
BytesDataTypespecialization for PostgreSQL'soidlarge object columns. - PostgreSQLOidDataType() - Constructor for class org.dbunit.ext.postgresql.PostgreSQLOidDataType
-
Default constructor.
- postTest() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Execute all post-test steps.
- postTest() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Execute all post-test steps.
- postTest(boolean) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Execute post-test steps.
- postTest(boolean) - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Execute post-test steps.
- Precision(BigDecimal) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.Precision
-
Creates a non-percentage precision with the given tolerated delta.
- Precision(BigDecimal, boolean) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.Precision
-
Creates a precision with the given tolerated delta.
- PrepAndExpectedTestCase - Interface in org.dbunit
-
Test case supporting prep data and expected data.
- PrepAndExpectedTestCaseSteps - Interface in org.dbunit
-
Test steps definition; helpful for Java lambdas.
- PreparedBatchStatement - Class in org.dbunit.database.statement
-
IPreparedBatchStatementthat accumulates bound rows using the JDBCaddBatch()/executeBatch()mechanism. - PreparedStatementFactory - Class in org.dbunit.database.statement
-
IStatementFactorythat createsSimplePreparedStatementinstances. - PreparedStatementFactory() - Constructor for class org.dbunit.database.statement.PreparedStatementFactory
- preTest() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Execute pre-test steps.
- preTest() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Execute pre-test steps.
- preTest(VerifyTableDefinition[], String[], String[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Convenience method to call configureTest() and preTest().
- preTest(VerifyTableDefinition[], String[], String[]) - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Convenience method to call configureTest() and preTest().
- PrimaryKeyFilter - Class in org.dbunit.database
-
Filter a table given a map of the allowed rows based on primary key values.
It uses a depth-first algorithm (although not recursive - it might be refactored in the future) to define which rows are allowed, as well which rows are necessary (and hence allowed) because of dependencies with the allowed rows.
NOTE: multi-column primary keys are not supported at the moment. - PrimaryKeyFilter(IDatabaseConnection, PrimaryKeyFilter.PkTableMap, boolean) - Constructor for class org.dbunit.database.PrimaryKeyFilter
-
Default constructor, it takes as input a map with desired rows in a final dataset; the filter will ensure that the rows necessary by these initial rows are also allowed (and so on...).
- PrimaryKeyFilter.PkTableMap - Class in org.dbunit.database
-
Map that associates a table with a set of primary key objects.
- PrimaryKeyFilteredTableWrapper - Class in org.dbunit.database
-
This class is a wrapper for another table with the condition that only a subset of the original table will be available - the subset is defined by the set of primary keys that are allowed in the new table.
- PrimaryKeyFilteredTableWrapper(ITable, Set) - Constructor for class org.dbunit.database.PrimaryKeyFilteredTableWrapper
-
Creates a PKFilteredTable given an original table and the allowed primary keys for that table.
- printAllTables(DatabaseMetaData, PrintStream) - Static method in class org.dbunit.util.SQLHelper
-
Utility method for debugging to print all tables of the given metadata on the given stream
- printDatabaseInfo(DatabaseMetaData, PrintStream) - Static method in class org.dbunit.util.SQLHelper
-
Prints the database and JDBC driver information to the given output stream
- processReplacementTokens(IDataSet) - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Add the replacements in the maps (objects and substrings) to the specified dataset.
- produce() - Method in class org.dbunit.dataset.csv.CsvProducer
-
Process this dataset source.
- produce() - Method in class org.dbunit.dataset.csv.CsvURLProducer
-
Process this dataset source.
- produce() - Method in class org.dbunit.dataset.json.JsonProducer
- produce() - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
- produce() - Method in class org.dbunit.dataset.stream.DataSetProducerAdapter
- produce() - Method in interface org.dbunit.dataset.stream.IDataSetProducer
-
Process this dataset source.
- produce() - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- produce() - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- produce() - Method in class org.dbunit.dataset.xml.XmlProducer
- produce() - Method in class org.dbunit.dataset.yaml.YamlProducer
- PropertiesBasedJdbcDatabaseTester - Class in org.dbunit
-
DatabaseTester that configures a DriverManager from environment properties.
This class defines a set of keys for system properties that need to be present in the environment before using it. - PropertiesBasedJdbcDatabaseTester() - Constructor for class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
Creates a new
JdbcDatabaseTesterusing specificSystem.getProperty(String)values as initialization parameters - PropertiesBasedJdbcDatabaseTester(CachingConnectionProvider) - Constructor for class org.dbunit.PropertiesBasedJdbcDatabaseTester
-
Creates a new
JdbcDatabaseTesterusing specificSystem.getProperty(String)values as initialization parameters, reusing oneIDatabaseConnectionacross calls via the givenCachingConnectionProviderinstead of creating a new one on every call.
Share the sameconnectionProviderinstance across the testers created for each test to get reuse across test methods; pair it withIOperationListener.NO_OP_OPERATION_LISTENER(or an equivalent non-closing listener) so the cached connection is not closed after everyAbstractDatabaseTester.onSetup()/AbstractDatabaseTester.onTearDown()call. - PROPERTY_ALLOW_VERIFYTABLEDEFINITION_EXPECTEDTABLE_COUNT_MISMATCH - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring whether verifying a table definition allows the expected table to have a different column count.
- PROPERTY_BATCH_SIZE - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the batch size used for batched statements.
- PROPERTY_DATATYPE_FACTORY - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IDataTypeFactoryimplementation to use. - PROPERTY_ESCAPE_PATTERN - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the pattern used to escape table and column names.
- PROPERTY_FETCH_SIZE - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the JDBC fetch size used for result sets.
- PROPERTY_IDENTITY_COLUMN_FILTER - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IColumnFilterused to determine MS SQL identity columns. - PROPERTY_METADATA_HANDLER - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IMetadataHandlerimplementation to use. - PROPERTY_PRIMARY_KEY_FILTER - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IColumnFilterused to determine primary key columns. - PROPERTY_RESULTSET_TABLE_FACTORY - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IResultSetTableFactoryimplementation to use. - PROPERTY_STATEMENT_FACTORY - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the
IStatementFactoryimplementation to use. - PROPERTY_TABLE_TYPE - Static variable in class org.dbunit.database.DatabaseConfig
-
Name of the property configuring the JDBC table types considered when reading the database schema.
- PropertyChangeMulticaster - Class in org.dbunit.util.concurrent
-
This class is interoperable with java.beans.PropertyChangeSupport, but relies on a streamlined copy-on-write scheme similar to that used in CopyOnWriteArrayList.
- PropertyChangeMulticaster(Object) - Constructor for class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Constructs a
PropertyChangeMulticasterobject. - PROT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
PROTtype. - put(Object) - Method in class org.dbunit.util.concurrent.BoundedBuffer
- put(Object) - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
- put(Object) - Method in interface org.dbunit.util.concurrent.Channel
-
Place item in the channel, possibly waiting indefinitely until it can be accepted.
- put(Object) - Method in class org.dbunit.util.concurrent.LinkedQueue
- put(Object) - Method in interface org.dbunit.util.concurrent.Puttable
-
Place item in the channel, possibly waiting indefinitely until it can be accepted.
- put(Object) - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
- put(Object) - Method in class org.dbunit.util.concurrent.SynchronousChannel
- put(String, SortedSet) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Associates the given table with the given primary keys, replacing any existing association.
- putFront(PipelineComponent) - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Inserts the given component at the front of the pipeline.
- putGuard_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Helper monitor.
- putGuard_ - Variable in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Guards puts, holding one permit per free slot.
- putLock_ - Variable in class org.dbunit.util.concurrent.LinkedQueue
-
Helper monitor for managing access to last node.
- putMonitor_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
Helper monitor to handle puts.
- putPtr_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
Circular index of the next slot to put into.
- putSidePutPermits_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
One side of a split permit count.
- Puttable - Interface in org.dbunit.util.concurrent
-
This interface exists to enable stricter type checking for channels.
Q
- QualifiedTableName - Class in org.dbunit.util
-
Utility to parse a fully qualified table name into its components schema and table.
- QualifiedTableName(String, String) - Constructor for class org.dbunit.util.QualifiedTableName
-
Creates an object parsing the given tableName.
- QualifiedTableName(String, String, String) - Constructor for class org.dbunit.util.QualifiedTableName
-
Creates an object parsing the given tableName.
- Query - Class in org.dbunit.ant
-
The
Queryclass is just a step placeholder for a table name within anExport. - Query() - Constructor for class org.dbunit.ant.Query
-
Default constructor.
- QueryDataSet - Class in org.dbunit.database
-
Holds collection of tables resulting from database query.
- QueryDataSet(IDatabaseConnection) - Constructor for class org.dbunit.database.QueryDataSet
-
Create a QueryDataSet by passing in the connection to the database to use.
- QueryDataSet(IDatabaseConnection, boolean) - Constructor for class org.dbunit.database.QueryDataSet
-
Create a QueryDataSet by passing in the connection to the database to use.
- QuerySet - Class in org.dbunit.ant
-
This element is a container for Queries.
- QuerySet() - Constructor for class org.dbunit.ant.QuerySet
-
Default constructor.
- QueryTableIterator - Class in org.dbunit.database
-
Iterator used to iterate over a list of tables using a specific query for retrieving data for every table.
- QueryTableIterator(List, IDatabaseConnection) - Constructor for class org.dbunit.database.QueryTableIterator
-
Constructs an iterator over the given table entries.
- Queue() - Constructor for class org.dbunit.util.concurrent.SynchronousChannel.Queue
- QUOTE() - Constructor for class org.dbunit.dataset.common.handlers.IsAlnumHandler.QUOTE
- QUOTE() - Constructor for class org.dbunit.dataset.common.handlers.QuoteHandler.QUOTE
- QUOTE() - Static method in class org.dbunit.dataset.common.handlers.IsAlnumHandler
-
Creates a handler that starts a quoted field on an alphanumeric character.
- QUOTE() - Static method in class org.dbunit.dataset.common.handlers.QuoteHandler
-
Creates a handler that starts a quoted field on the quote character.
- QUOTE_CHAR - Static variable in class org.dbunit.dataset.common.handlers.QuoteHandler
-
The character that delimits a quoted CSV field.
- QuoteHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches the CSV quote character. - QuoteHandler.QUOTE - Class in org.dbunit.dataset.common.handlers
-
Helper that starts a quoted field, re-arranging the pipeline to accept characters literally until the closing quote.
- QuoteHandler.UNQUOTE - Class in org.dbunit.dataset.common.handlers
-
Helper that ends a quoted field, restoring the pipeline's pre-quote state.
R
- read() - Method in class org.dbunit.util.Base64.InputStream
-
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
- read(byte[], int, int) - Method in class org.dbunit.util.Base64.InputStream
-
Calls
Base64.InputStream.read()repeatedly until the end of stream is reached or len bytes are read. - readLines(File) - Static method in class org.dbunit.util.FileHelper
-
Get a list of Strings from a given file.
- REAL - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL REAL type.
- REAL - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
REALtype. - RECADDR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
RECADDRtype. - reconcilePutPermits() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Move put permits from take side to put side; return the number of put side permits that are available.
- REFRESH - Static variable in class org.dbunit.ext.mssql.InsertIdentityOperation
-
DatabaseOperation.REFRESH, decorated to enable MS SQL identity insert. - REFRESH - Static variable in class org.dbunit.operation.DatabaseOperation
-
Updates existing rows and inserts rows that do not yet exist (upsert).
- RefreshOperation - Class in org.dbunit.operation
-
This operation literally refreshes dataset contents into the database.
- RELATIVE_DATE_TIME_PARSER - Static variable in class org.dbunit.dataset.datatype.DataType
-
Parser used to calculate consistent relative date and time values.
- RelativeDateTimeParser - Class in org.dbunit.util
-
A parser for relative date time string.
The basic format is[now{diff...} - RelativeDateTimeParser() - Constructor for class org.dbunit.util.RelativeDateTimeParser
-
Default constructor.
- RelativeDateTimeParser(Clock) - Constructor for class org.dbunit.util.RelativeDateTimeParser
-
Constructs a parser resolving
[now]relative to the given clock. - release() - Method in class org.dbunit.util.concurrent.Semaphore
-
Release a permit
- release() - Method in interface org.dbunit.util.concurrent.Sync
-
Potentially enable others to pass.
- release(long) - Method in class org.dbunit.util.concurrent.Semaphore
-
Release N permits.
- remove(String) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Removes the given table and its associated primary keys from this map.
- remove(PipelineComponent) - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Removes the given component from the pipeline.
- removeAllReplacementObjects() - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Remove all existing replacement objects, resetting to none so no object replacements occur.
- removeAllReplacementObjects() - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Remove all existing replacement objects, resetting to none so no object replacements occur.
- removeAllReplacementSubstrings() - Method in class org.dbunit.util.fileloader.AbstractDataFileLoader
-
Remove all existing replacement substring objects, resetting to none so no substring replacements occur.
- removeAllReplacementSubstrings() - Method in interface org.dbunit.util.fileloader.DataFileLoader
-
Remove all existing replacement substring objects, resetting to none so no substring replacements occur.
- removeFront() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Removes and returns the component at the front of the pipeline.
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Remove a PropertyChangeListener from the listener list.
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
Remove a PropertyChangeListener for a specific property.
- ReplacementDataSet - Class in org.dbunit.dataset
-
Decorator that replace configured values from the decorated dataset with replacement values.
- ReplacementDataSet(IDataSet) - Constructor for class org.dbunit.dataset.ReplacementDataSet
-
Create a new ReplacementDataSet object that decorates the specified dataset.
- ReplacementDataSet(IDataSet, Map, Map) - Constructor for class org.dbunit.dataset.ReplacementDataSet
-
Create a new ReplacementDataSet object that decorates the specified dataset.
- ReplacementTable - Class in org.dbunit.dataset
-
Decorator that replaces configured values from the decorated table with replacement values.
- ReplacementTable(ITable) - Constructor for class org.dbunit.dataset.ReplacementTable
-
Create a new ReplacementTable object that decorates the specified table.
- ReplacementTable(ITable, Map, Map, String, String) - Constructor for class org.dbunit.dataset.ReplacementTable
-
Create a new ReplacementTable object that decorates the specified table.
- REQUIRED - Static variable in class org.dbunit.dataset.xml.FlatDtdProducer
-
Constant for the value "#REQUIRED"
- resetProducts() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Clears the completed pieces produced so far.
- resolveEntity(String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- resolveEntity(String, String) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- resolveEntity(String, String) - Method in class org.dbunit.dataset.xml.XmlProducer
- ResultSetTableMetaData - Class in org.dbunit.database
-
ResultSetbasedITableMetaDataimplementation. - ResultSetTableMetaData(String, ResultSet, IDatabaseConnection, boolean) - Constructor for class org.dbunit.database.ResultSetTableMetaData
-
Creates the metadata for a result set, resolving column data types via the given connection.
- ResultSetTableMetaData(String, ResultSet, IDataTypeFactory, boolean) - Constructor for class org.dbunit.database.ResultSetTableMetaData
-
Deprecated.
- retainOnly(List) - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Removes every table not in the given list, and every table whose allowed primary keys are empty.
- reverseIterator() - Method in class org.dbunit.dataset.AbstractDataSet
- reverseIterator() - Method in interface org.dbunit.dataset.IDataSet
-
Returns an iterator over the tables in this dataset in reverse sequence.
- reverseStringArray(String[]) - Static method in class org.dbunit.dataset.DataSetUtils
-
reverses a String array.
- row(Object[]) - Method in class org.dbunit.dataset.CachedDataSet
- row(Object[]) - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
- row(Object...) - Method in class org.dbunit.dataset.DataSetBuilder.TableBuilder
-
Adds a row of values to this table.
- row(Object[]) - Method in class org.dbunit.dataset.stream.BufferedConsumer
- row(Object[]) - Method in class org.dbunit.dataset.stream.DefaultConsumer
- row(Object[]) - Method in interface org.dbunit.dataset.stream.IDataSetConsumer
-
Receive notification of a table row.
- row(Object[]) - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- row(Object[]) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
- row(Object[]) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
- RowComparator(ITable, Column[]) - Constructor for class org.dbunit.dataset.SortedTable.RowComparator
-
Constructs a comparator sorting rows of the given table by the given columns, using each column's Comparable implementation.
- RowComparatorByString(ITable, Column[]) - Constructor for class org.dbunit.dataset.SortedTable.RowComparatorByString
-
Constructs a comparator sorting rows of the given table by the given columns, using each column's string value.
- RowFilterTable - Class in org.dbunit.dataset
-
Filters table rows by using arbitrary column values of the table to check if a row should be filtered or not.
- RowFilterTable(ITable, IRowFilter) - Constructor for class org.dbunit.dataset.RowFilterTable
-
Creates a new
ITablewhere some rows can be filtered out from the original table - ROWID_TYPE - Static variable in class org.dbunit.ext.oracle.OracleDataTypeFactory
-
Data type for Oracle
ROWIDcolumns. - RowOutOfBoundsException - Exception Class in org.dbunit.dataset
-
Signals that a requested row index is outside a table's valid range.
- RowOutOfBoundsException() - Constructor for exception class org.dbunit.dataset.RowOutOfBoundsException
-
Default constructor.
- RowOutOfBoundsException(String) - Constructor for exception class org.dbunit.dataset.RowOutOfBoundsException
-
Constructs a
RowOutOfBoundsExceptionwith the specified detail message. - RowOutOfBoundsException(String, Throwable) - Constructor for exception class org.dbunit.dataset.RowOutOfBoundsException
-
Constructs a
RowOutOfBoundsExceptionwith the specified detail message and cause. - RowOutOfBoundsException(Throwable) - Constructor for exception class org.dbunit.dataset.RowOutOfBoundsException
-
Constructs a
RowOutOfBoundsExceptionwith the specified cause. - run() - Method in interface org.dbunit.PrepAndExpectedTestCaseSteps
-
Run the specific test steps.
- runTest(VerifyTableDefinition[], String[], String[], PrepAndExpectedTestCaseSteps) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Run the DbUnit test.
- runTest(VerifyTableDefinition[], String[], String[], PrepAndExpectedTestCaseSteps) - Method in interface org.dbunit.PrepAndExpectedTestCase
-
Run the DbUnit test.
- runTestSteps(PrepAndExpectedTestCaseSteps) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Run the provided test steps.
S
- schemaExists(Connection, String) - Static method in class org.dbunit.util.SQLHelper
-
Returns
trueif the given schema exists for the given connection. - SCHEMANAME_INDEXES - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Result set column indexes, by
AbstractMetaDataBasedSearchCallback.IMPORT/AbstractMetaDataBasedSearchCallback.EXPORT, holding the schema name. - ScrollableResultSetTable - Class in org.dbunit.database
-
IResultSetTableimplementation backed by a scrollableResultSetcursor. - ScrollableResultSetTable(String, String, IDatabaseConnection) - Constructor for class org.dbunit.database.ScrollableResultSetTable
-
Creates a table that runs the given select statement.
- ScrollableResultSetTable(ITableMetaData, ResultSet) - Constructor for class org.dbunit.database.ScrollableResultSetTable
-
Creates a table wrapping the given, already-scrolled result set.
- ScrollableResultSetTable(ITableMetaData, IDatabaseConnection) - Constructor for class org.dbunit.database.ScrollableResultSetTable
-
Creates a table that runs the default query for the given metadata and connection.
- search(Object[], ISearchCallback) - Method in class org.dbunit.util.search.DepthFirstSearch
-
Alternative option to search() that takes an array of nodes as input (instead of a Set)
- search(Set, ISearchCallback) - Method in class org.dbunit.util.search.DepthFirstSearch
- search(Set, ISearchCallback) - Method in interface org.dbunit.util.search.ISearchAlgorithm
-
Search all nodes that originates from a set of nodes.
- SearchException - Exception Class in org.dbunit.util.search
-
Base class for exceptions during the search.
- SearchException() - Constructor for exception class org.dbunit.util.search.SearchException
-
Default constructor.
- SearchException(String) - Constructor for exception class org.dbunit.util.search.SearchException
-
Constructs a
SearchExceptionwith the specified detail message. - SearchException(String, Throwable) - Constructor for exception class org.dbunit.util.search.SearchException
-
Constructs a
SearchExceptionwith the specified detail message and cause. - SearchException(Throwable) - Constructor for exception class org.dbunit.util.search.SearchException
-
Constructs a
SearchExceptionwith the specified cause. - searchNode(Object) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
- searchNode(Object) - Method in interface org.dbunit.util.search.ISearchCallback
-
Decides if a node should be searched or not
- select(ITable, ITable, int, String, DataType, Object, Object, Map<Object, ValueComparer>) - Method in interface org.dbunit.assertion.comparer.value.ValueComparerSelector
-
Selects a
ValueComparerfrom the given map for the given row and column. - Semaphore - Class in org.dbunit.util.concurrent
-
Base class for counting semaphores.
- Semaphore(long) - Constructor for class org.dbunit.util.concurrent.Semaphore
-
Create a Semaphore with the given initial number of permits.
- SemaphoreControlledChannel - Class in org.dbunit.util.concurrent
-
Abstract class for channels that use Semaphores to control puts and takes.
- SemaphoreControlledChannel(int) - Constructor for class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Create a channel with the given capacity and default semaphore implementation
- SemaphoreControlledChannel(int, Class) - Constructor for class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Create a channel with the given capacity and semaphore implementations instantiated from the supplied class
- SEPARATOR_CHAR - Static variable in class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
The character that separates fields in the SQLLoader control file.
- SeparatorHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches the CSV field separator character. - SeparatorHandler.ENDPIECE - Class in org.dbunit.dataset.common.handlers
-
Helper that ends the current field, notifying the pipeline the piece is done.
- SEQUENCE - Static variable in class org.dbunit.dataset.xml.FlatDtdWriter
-
Content model rendering child elements as a sequence, e.g.
- SequenceTableFilter - Class in org.dbunit.dataset.filter
-
This filter expose a specified table sequence and can be used to reorder tables in a dataset.
- SequenceTableFilter(String[]) - Constructor for class org.dbunit.dataset.filter.SequenceTableFilter
-
Creates a new SequenceTableFilter with specified table names sequence.
- SequenceTableFilter(String[], boolean) - Constructor for class org.dbunit.dataset.filter.SequenceTableFilter
-
Creates a new SequenceTableFilter with specified table names sequence.
- SequenceTableIterator - Class in org.dbunit.dataset.filter
-
ITableIteratorthat returns a dataset's tables in a caller-specified name order. - SequenceTableIterator(String[], IDataSet) - Constructor for class org.dbunit.dataset.filter.SequenceTableIterator
-
Creates an iterator that returns the given dataset's tables in the given name order.
- set(int) - Static method in class org.dbunit.util.concurrent.DefaultChannelCapacity
-
Set the default capacity used in default (no-argument) constructor for BoundedChannels that otherwise require a capacity argument.
- set(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set to newValue.
- setAllowedNodes(Object[]) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Set which modes are allowed on the search.
- setAllowedNodes(Set) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Set which modes are allowed on the search.
- setArray(BigDecimal[]) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Replaces the array's elements.
- setArray(BigDecimal[]) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Replaces the array's elements.
- setArray(BigDecimal[], long) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Replaces a range of the array's elements starting at the given index.
- setArray(BigDecimal[], long) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Replaces a range of the array's elements starting at the given index.
- setBatchSize(String) - Method in class org.dbunit.ant.DbUnitTask
-
sets the size of batch inserts.
- setBuilder(FlatXmlDataSetBuilder) - Method in class org.dbunit.util.fileloader.FlatXmlDataFileLoader
-
Set the builder.
- setCapacity(int) - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Reset the capacity of this queue.
- setCaseSensitiveTableNames(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Whether or not the created dataset should use case sensitive table names
- setClasspath(Path) - Method in class org.dbunit.ant.DbUnitTask
-
Set the classpath for loading the driver.
- setClasspathRef(Reference) - Method in class org.dbunit.ant.DbUnitTask
-
Set the classpath for loading the driver using the classpath reference.
- setClock(Clock) - Method in class org.dbunit.util.RelativeDateTimeParser
-
Sets the clock used to resolve
[now]. - setCloseConnectionAfterTest(boolean) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set whether the connection lookupFeatureValue() and cleanupData() are done with is closed.
- setColumnSensing(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Since DBUnit 2.3.0 there is a functionality called "column sensing" which basically reads in the whole XML into a buffer and dynamically adds new columns as they appear.
- setColumnSensing(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
-
Sets whether or not the column sensing feature should be used.
- setCombine(boolean) - Method in class org.dbunit.ant.Operation
-
Sets whether multiple sources are combined into a single dataset.
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.csv.CsvProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.csv.CsvURLProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.json.JsonProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.stream.DataSetProducerAdapter
- setConsumer(IDataSetConsumer) - Method in interface org.dbunit.dataset.stream.IDataSetProducer
-
Sets the consumer notified of this producer's dataset content.
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.xml.XmlProducer
- setConsumer(IDataSetConsumer) - Method in class org.dbunit.dataset.yaml.YamlProducer
- setContentModel(FlatDtdWriter.ContentModel) - Method in class org.dbunit.dataset.xml.FlatDtdWriter
-
Sets the content model used to render tables' child elements.
- setCurrentProduct(StringBuilder) - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Sets the piece currently being accumulated.
- setDatabaseTester(IDatabaseTester) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the databaseTester.
- setDataFileLoader(DataFileLoader) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the dataFileLoader.
- setDataSet(IDataSet) - Method in class org.dbunit.AbstractDatabaseTester
- setDataSet(IDataSet) - Method in interface org.dbunit.IDatabaseTester
-
Sets the test dataset to use.
- setDatatypeFactory(String) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the fully qualified class name of the
IDataTypeFactoryto use. - setDatatypeWarning(Boolean) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the flag for logging a warning on unsupported data types.
- setDateCell(Cell, Date, Workbook) - Method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Sets the given cell to the given date value, stored as a number.
- setDeclHandler(XMLReader, DeclHandler) - Static method in class org.dbunit.dataset.xml.FlatDtdProducer
-
Registers the given handler as the given XML reader's declaration handler.
- setDeniedNodes(Object[]) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Set which modes are not allowed on the search.
- setDeniedNodes(Set) - Method in class org.dbunit.util.search.AbstractNodesFilterSearchCallback
-
Set which modes are not allowed on the search.
- setDest(File) - Method in class org.dbunit.ant.Export
-
Sets the destination file to export to.
- setDoctype(String) - Method in class org.dbunit.ant.Export
-
Sets the DOCTYPE to use for flat XML export.
- setDocType(String) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
-
Sets the DOCTYPE system id to declare in the output.
- setDriver(String) - Method in class org.dbunit.ant.DbUnitTask
-
Set the JDBC driver to be used.
- setDtdMetadata(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Whether or not DTD metadata is available to parse via a DTD handler.
- setElement(BigDecimal, long) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
Replaces a single element of the array.
- setElement(BigDecimal, long) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
Replaces a single element of the array.
- setEncoding(String) - Method in class org.dbunit.ant.Export
-
Sets the encoding for XML output.
- setEncoding(Charset) - Method in class org.dbunit.ant.Export
-
Sets the encoding for XML output.
- setEnforcedComponents(PipelineComponent[]) - Method in class org.dbunit.dataset.common.handlers.EnforceHandler
-
Sets the components tried, in order, to handle a character.
- setEscapeChar(char) - Method in class org.dbunit.dataset.common.handlers.PipelineConfig
-
Sets the character that escapes the next character.
- setEscapePattern(String) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the pattern used to escape table and column names.
- setExpectedDataSetAndVerifyTableDefinitionVerifier(ExpectedDataSetAndVerifyTableDefinitionVerifier) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Sets the verifier used to check that verify table definitions and the expected dataset agree.
- setExpectedDs(IDataSet) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the expectedDs.
- setFailMessage(String) - Method in class org.dbunit.assertion.Difference
-
Sets the comparison failure message.
- setFailureFactory(FailureFactory) - Method in class org.dbunit.assertion.DefaultFailureHandler
-
Sets the failure factory used to create assertion errors.
- setFailureHandler(FailureHandler) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the failureHandler.
- setFeature(String, boolean) - Method in class org.dbunit.database.DatabaseConfig
-
Deprecated.since 2.4.7 Use the
DatabaseConfig.setProperty(String, Object)also for features - setFetchSize(String) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the JDBC fetch size used for result sets.
- setFormat(String) - Method in class org.dbunit.ant.Compare
-
Sets the format of the source file.
- setFormat(String) - Method in class org.dbunit.ant.Export
-
Sets the export format.
- setFormat(String) - Method in class org.dbunit.ant.Operation
-
Sets the dataset format.
- setId(String) - Method in class org.dbunit.ant.QuerySet
-
Sets the id under which this queryset can be referenced.
- setIncludeColumnComments(boolean) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Whether or not to write the column name as comment into the XML
- setIncludeEmptyTable(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
-
Sets whether or not empty tables are included in the output.
- setIndent(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Specify the string to prepend to a line for each level of indent.
- setLastTable(String) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Overrides the table returned by
OrderedTableNameMap.getLastTableName()to the given, already-added table name. - setLexicalHandler(XMLReader, LexicalHandler) - Static method in class org.dbunit.dataset.xml.FlatDtdProducer
-
Registers the given handler as the given XML reader's lexical handler.
- setMetaDataSet(IDataSet) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Set the metadata information (column info etc.) to be used.
- setMetaDataSetFromDtd(InputStream) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Set the metadata information (column info etc.) to be used from the given DTD input.
- setMetaDataSetFromDtd(Reader) - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
-
Set the metadata information (column info etc.) to be used from the given DTD input.
- setName(String) - Method in class org.dbunit.ant.DbConfig.Feature
-
Sets the feature name.
- setName(String) - Method in class org.dbunit.ant.Query
-
Sets the table name.
- setName(String) - Method in class org.dbunit.ant.Table
-
Sets the table name.
- setNewline(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Specify the string used to terminate each line when pretty printing.
- setNullToken(String) - Method in class org.dbunit.ant.Operation
-
Sets the token to replace with a null value in the dataset.
- setNumericCell(Cell, BigDecimal, Workbook) - Method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Sets the given cell to the given numeric value, preserving its scale.
- setOperationListener(IOperationListener) - Method in class org.dbunit.AbstractDatabaseTester
- setOperationListener(IOperationListener) - Method in interface org.dbunit.IDatabaseTester
-
Sets the listener notified of connection-retrieval and setup/tear-down events.
- setOrdered(boolean) - Method in class org.dbunit.ant.AbstractStep
-
Sets whether the resulting dataset's tables must be ordered.
- setPassword(String) - Method in class org.dbunit.ant.DbUnitTask
-
Set the password for the DB connection.
- setPipeline(Pipeline) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- setPipeline(Pipeline) - Method in class org.dbunit.dataset.common.handlers.EnforceHandler
- setPipeline(Pipeline) - Method in interface org.dbunit.dataset.common.handlers.PipelineComponent
-
Sets the pipeline this component belongs to.
- setPipelineConfig(PipelineConfig) - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Sets the configuration used by this pipeline's components.
- setPrepDs(IDataSet) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the prepDs.
- setPrettyPrint(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
-
Enable or disable pretty print of the XML.
- setPrettyPrint(boolean) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Enable or disable pretty print of the XML.
- setProducts(List) - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Sets the completed pieces produced so far.
- setPropertiesByString(Properties) - Method in class org.dbunit.database.DatabaseConfig
-
Sets the given properties on the
DatabaseConfiginstance using the given String values. - setProperty(String, Object) - Method in class org.dbunit.database.DatabaseConfig
-
Set the value of a property.
- setRefid(String) - Method in class org.dbunit.ant.QuerySet
-
Sets the id of the queryset this queryset references.
- setRowComparator(Comparator) - Method in class org.dbunit.dataset.SortedTable
-
Sets the comparator to be used for sorting the table rows.
- setSchema(String) - Method in class org.dbunit.AbstractDatabaseTester
- setSchema(String) - Method in class org.dbunit.ant.DbUnitTask
-
Set the schema for the DB connection.
- setSchema(String) - Method in interface org.dbunit.IDatabaseTester
-
Deprecated.since 2.4.3 Should not be used anymore. Every concrete
IDatabaseTesterimplementation that needs a schema has the possibility to set it somehow in the constructor - setSdoElemInfo(OracleSdoElemInfoArray) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Sets the SDO_ELEM_INFO attribute.
- setSdoGtype(BigDecimal) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Sets the SDO_GTYPE attribute.
- setSdoOrdinates(OracleSdoOrdinateArray) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Sets the SDO_ORDINATES attribute.
- setSdoPoint(OracleSdoPointType) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Sets the SDO_POINT attribute.
- setSdoSrid(BigDecimal) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Sets the SDO_SRID attribute.
- setSeparatorChar(char) - Method in class org.dbunit.dataset.common.handlers.PipelineConfig
-
Sets the character that separates fields.
- setSetUpOperation(DatabaseOperation) - Method in class org.dbunit.AbstractDatabaseTester
- setSetUpOperation(DatabaseOperation) - Method in interface org.dbunit.IDatabaseTester
-
Sets the DatabaseOperation to call when starting the test.
- setSkipOracleRecycleBinTables(Boolean) - Method in class org.dbunit.ant.DbUnitTask
-
Sets the flag for skipping Oracle recycle bin tables.
- setSort(boolean) - Method in class org.dbunit.ant.Compare
-
Sets whether the compared tables must be sorted before comparison.
- setSortOnFilteredColumnsOnly(boolean) - Method in class org.dbunit.VerifyTableDefinition
-
Sets whether this table sorts by only its filtered columns instead of all native columns.
- setSql(String) - Method in class org.dbunit.ant.Query
-
Sets the query's SQL.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.AbstractDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.BigIntegerDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.BinaryStreamDataType
-
Sets the given value on the given statement and therefore invokes
BytesDataType.typeCast(Object). - setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.BlobDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.BooleanDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.BytesDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.ClobDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.DataType
-
Set the specified value to the specified prepared statement object.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.DateDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.DoubleDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.FloatDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.IntegerDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.LongDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.NumberDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.StringDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.TimeDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.dataset.datatype.TimestampDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.mssql.DateTimeOffsetType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.mssql.UniqueIdentifierType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.oracle.OracleBlobDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.oracle.OracleClobDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.oracle.OracleNClobDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.oracle.OracleSdoGeometryDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.oracle.OracleXMLTypeDataType
-
Set the specified value to the specified prepared statement object.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.ArrayType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.CitextType
-
Set the specified value to the specified prepared statement object.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.GenericEnumType
-
Set the specified value to the specified prepared statement object.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.GeometryType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.InetType
-
Set the specified value to the specified prepared statement object.
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.IntervalType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.JsonType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.PostgreSQLOidDataType
- setSqlValue(Object, int, PreparedStatement) - Method in class org.dbunit.ext.postgresql.UuidType
-
Set the specified value to the specified prepared statement object.
- setSrc(File) - Method in class org.dbunit.ant.Compare
-
Sets the source file containing the expected dataset.
- setSrc(File) - Method in class org.dbunit.ant.Operation
-
Sets the single source file holding the operation's dataset.
- setSrc(File[]) - Method in class org.dbunit.ant.Operation
-
Sets the source files holding the operation's dataset.
- setStrictReplacement(boolean) - Method in class org.dbunit.dataset.ReplacementDataSet
-
Setting this property to true indicates that when no replacement is found for a delimited substring the replacement will fail fast.
- setStrictReplacement(boolean) - Method in class org.dbunit.dataset.ReplacementTable
-
Setting this property to true indicates that when no replacement is found for a delimited substring the replacement will fail fast.
- setSubstringDelimiters(String, String) - Method in class org.dbunit.dataset.ReplacementDataSet
-
Sets substring delimiters.
- setSubstringDelimiters(String, String) - Method in class org.dbunit.dataset.ReplacementTable
-
Sets substring delimiters.
- setSuccessor(PipelineComponent) - Method in class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
- setSuccessor(PipelineComponent) - Method in interface org.dbunit.dataset.common.handlers.PipelineComponent
-
Sets the next component to which unhandled characters are delegated.
- setSupportBatchStatement(Boolean) - Method in class org.dbunit.ant.DbUnitTask
-
Set the flag for supporting batch statements.
- setTearDownOperation(DatabaseOperation) - Method in class org.dbunit.AbstractDatabaseTester
- setTearDownOperation(DatabaseOperation) - Method in interface org.dbunit.IDatabaseTester
-
Sets the DatabaseOperation to call when ending the test.
- setTheDirectory(String) - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Sets the directory CSV files are written to.
- setToObjects(Set) - Static method in class org.dbunit.util.CollectionsHelper
-
Returns an array of Objects from a Set.
- setToStrings(Set) - Static method in class org.dbunit.util.CollectionsHelper
-
Returns an array of Strings from a Set.
- setTransaction(boolean) - Method in class org.dbunit.ant.Operation
-
Sets whether the operation runs within a transaction.
- setType(String) - Method in class org.dbunit.ant.Operation
-
Sets the operation type, resolving it to the corresponding
DatabaseOperation. - setUp() - Method in class org.dbunit.DatabaseTestCase
-
Prepares the database, using the database tester, connection, and dataset from
DatabaseTestCase.getDatabaseTester(),DatabaseTestCase.getConnection(), andDatabaseTestCase.getDataSet(). - setupData() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Use the provided databaseTester to prep the database with the provided prep dataset.
- setUpDatabaseConfig(DatabaseConfig) - Method in class org.dbunit.DatabaseTestCase
-
Designed to be overridden by subclasses in order to set additional configuration parameters for the
IDatabaseConnection. - setUrl(String) - Method in class org.dbunit.ant.DbUnitTask
-
Set the DB connection url.
- setUseComparable(boolean) - Method in class org.dbunit.dataset.SortedTable
-
Whether or not the comparable interface should be used of the compared columns instead of the plain strings Default value is
falsefor backwards compatibility Set whether or not to use the Comparable implementation of the corresponding column DataType for comparing values or not. - setUseQualifiedTableNames(Boolean) - Method in class org.dbunit.ant.DbUnitTask
-
Set the flag for using the qualified table names.
- setUserid(String) - Method in class org.dbunit.ant.DbUnitTask
-
Set the user name for the DB connection.
- setValidating(boolean) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
-
Sets whether or not the XML parser should validate against its DTD.
- setValidating(boolean) - Method in class org.dbunit.dataset.xml.XmlProducer
-
Sets whether the XML parser validates the document against its DTD.
- setValue(boolean) - Method in class org.dbunit.ant.DbConfig.Feature
-
Sets the feature value.
- setValue(int, String, Object) - Method in class org.dbunit.dataset.DefaultTable
-
Replaces the value at the specified position in this table with the specified value.
- setValueComparerDefaults(ValueComparerDefaults) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Sets the value comparer defaults used when no comparer is explicitly configured for a table/column.
- setVerifyTableDefinitionVerifier(VerifyTableDefinitionVerifier) - Method in class org.dbunit.VerifyTableDefinition
-
Sets the verifier used to validate this instance.
- setVerifyTableDefs(VerifyTableDefinition[]) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Set the tableDefs.
- setWriter(Writer) - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Sets the writer for the currently active table.
- setWriter(Writer, String) - Method in class org.dbunit.util.xml.XmlWriter
-
Resets the handler to write a new text document.
- setWriter(Writer, Charset) - Method in class org.dbunit.util.xml.XmlWriter
-
Sets the writer and character set to write to.
- setX(BigDecimal) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Sets the X attribute.
- setY(BigDecimal) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Sets the Y attribute.
- setZ(BigDecimal) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Sets the Z attribute.
- SimpleAssert - Class in org.dbunit.assertion
-
Dbunit's own small assertion utility, independent from the testing framework that is used.
- SimpleAssert(FailureHandler) - Constructor for class org.dbunit.assertion.SimpleAssert
-
Constructs a
SimpleAssertreporting failures through the given handler. - SimplePreparedStatement - Class in org.dbunit.database.statement
-
IPreparedBatchStatementthat binds values to a single, reusablePreparedStatement. - SimplePreparedStatement(String, Connection) - Constructor for class org.dbunit.database.statement.SimplePreparedStatement
-
Creates a new
SimplePreparedStatement. - SimpleStatement - Class in org.dbunit.database.statement
-
IBatchStatementthat executes plain (non-prepared) SQL statements. - size() - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
-
Returns the number of tables in this map.
- size() - Method in class org.dbunit.util.concurrent.BoundedBuffer
-
Return the number of elements in the buffer.
- size() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Return the number of elements in the queue.
- size() - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Return the number of elements in the buffer.
- skipCompare(String, Object, Object) - Method in class org.dbunit.assertion.DbUnitAssertBase
-
Method to last-minute intercept the comparison of a single expected and actual value.
- Slot - Class in org.dbunit.util.concurrent
-
A one-slot buffer, using semaphores to control access.
- Slot() - Constructor for class org.dbunit.util.concurrent.Slot
-
Create a new Slot using default Semaphore implementations
- Slot(Class) - Constructor for class org.dbunit.util.concurrent.Slot
-
Create a buffer with the given capacity, using the supplied Semaphore class for semaphores.
- SMALLINT - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL SMALLINT type.
- SMALLINT - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
SMALLINTtype. - SortedDataSet - Class in org.dbunit.dataset
-
Decorator that returns the
ITables of the decorated dataset asSortedTables. - SortedDataSet(IDataSet) - Constructor for class org.dbunit.dataset.SortedDataSet
-
Creates a new
SortedDataSetdecorating the given dataset. - SortedTable - Class in org.dbunit.dataset
-
This is a ITable decorator that provide a sorted view of the decorated table.
- SortedTable(ITable) - Constructor for class org.dbunit.dataset.SortedTable
-
Sort the decorated table by its own columns order which is defined by
ITable.getTableMetaData(). - SortedTable(ITable, String[]) - Constructor for class org.dbunit.dataset.SortedTable
-
Sort the decorated table by specified columns order.
- SortedTable(ITable, Column[]) - Constructor for class org.dbunit.dataset.SortedTable
-
Sort the decorated table by specified columns order.
- SortedTable(ITable, Column[], boolean) - Constructor for class org.dbunit.dataset.SortedTable
-
Sort the decorated table by specified columns order.
- SortedTable(ITable, ITableMetaData) - Constructor for class org.dbunit.dataset.SortedTable
-
Sort the decorated table by specified metadata columns order.
- SortedTable.AbstractRowComparator - Class in org.dbunit.dataset
-
Abstract class for sorting the table rows of a given table in a specific order
- SortedTable.RowComparator - Class in org.dbunit.dataset
-
Compares the rows with each other in order to sort them in the correct order using the data type and the Comparable implementation the current column has.
- SortedTable.RowComparatorByString - Class in org.dbunit.dataset
-
Compares the rows with each other in order to sort them in the correct order using the string value of both values for the comparison.
- source - Variable in class org.dbunit.util.concurrent.PropertyChangeMulticaster
-
The object to be provided as the "source" for any generated events.
- SQL_TYPE_NAME_INET4 - Static variable in class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
-
SQL type name MariaDB reports for a native
INET4column. - SQL_TYPE_NAME_INET6 - Static variable in class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
-
SQL type name MariaDB reports for a native
INET6column. - SQL_TYPE_NAME_TINYINT_UNSIGNED - Static variable in class org.dbunit.ext.mysql.MySqlDataTypeFactory
-
SQL type name reported by MySQL for an unsigned
TINYINTcolumn. - SQL_TYPE_NAME_UUID - Static variable in class org.dbunit.ext.mariadb.MariaDbDataTypeFactory
-
SQL type name MariaDB reports for a native
UUIDcolumn. - SQLHelper - Class in org.dbunit.util
-
Helper for SQL-related stuff.
- SqlLoaderControlDataSet - Class in org.dbunit.dataset.sqlloader
-
This class constructs an
IDataSetgiven a directory containing control files. - SqlLoaderControlDataSet(File, File) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlDataSet
-
The Constructor.
- SqlLoaderControlDataSet(File, List) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlDataSet
-
The Constructor.
- SqlLoaderControlDataSet(String, String) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlDataSet
-
The Constructor.
- SqlLoaderControlParser - Interface in org.dbunit.dataset.sqlloader
-
Interface of Parser which parses Oracle SQLLoader files.
- SqlLoaderControlParserException - Exception Class in org.dbunit.dataset.sqlloader
-
Signals an error while parsing a SQL*Loader control (.ctl) file.
- SqlLoaderControlParserException(String) - Constructor for exception class org.dbunit.dataset.sqlloader.SqlLoaderControlParserException
-
The Constructor.
- SqlLoaderControlParserImpl - Class in org.dbunit.dataset.sqlloader
-
Parser which parses Oracle SQLLoader files.
- SqlLoaderControlParserImpl() - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlParserImpl
-
The Constructor.
- SqlLoaderControlProducer - Class in org.dbunit.dataset.sqlloader
-
Producer that creates an
IDataSetusing SQLLoader style '.ctl' files. - SqlLoaderControlProducer(File, File) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
-
The Constructor.
- SqlLoaderControlProducer(File, List) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
-
The Constructor.
- SqlLoaderControlProducer(String, String) - Constructor for class org.dbunit.dataset.sqlloader.SqlLoaderControlProducer
-
The Constructor.
- startCDATA() - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- startDataSet() - Method in class org.dbunit.dataset.CachedDataSet
- startDataSet() - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Receive notification of the beginning of a dataset.
- startDataSet() - Method in class org.dbunit.dataset.stream.BufferedConsumer
- startDataSet() - Method in class org.dbunit.dataset.stream.DefaultConsumer
- startDataSet() - Method in interface org.dbunit.dataset.stream.IDataSetConsumer
-
Receive notification of the beginning of a dataset.
- startDataSet() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- startDataSet() - Method in class org.dbunit.dataset.xml.FlatXmlWriter
- startDataSet() - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
- startDTD(String, String, String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- startElement(String, String, String, Attributes) - Method in class org.dbunit.dataset.xml.FlatXmlProducer
- startElement(String, String, String, Attributes) - Method in class org.dbunit.dataset.xml.XmlProducer
- startEntity(String) - Method in class org.dbunit.dataset.xml.FlatDtdProducer
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.CachedDataSet
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Receive notification of the beginning of a table.
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.stream.BufferedConsumer
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.stream.DefaultConsumer
- startTable(ITableMetaData) - Method in interface org.dbunit.dataset.stream.IDataSetConsumer
-
Receive notification of the beginning of a table.
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
- startTable(ITableMetaData) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
- StatementFactory - Class in org.dbunit.database.statement
-
IStatementFactorythat creates non-preparedSimpleStatementinstances. - StatementFactory() - Constructor for class org.dbunit.database.statement.StatementFactory
- StreamingDataSet - Class in org.dbunit.dataset.stream
-
Dataset that consumes producer asynchronously.
- StreamingDataSet(IDataSetProducer) - Constructor for class org.dbunit.dataset.stream.StreamingDataSet
-
Creates a dataset that asynchronously consumes the given producer.
- StreamingIterator - Class in org.dbunit.dataset.stream
-
Asynchronous table iterator that uses a new Thread for asynchronous processing.
- StreamingIterator(IDataSetProducer) - Constructor for class org.dbunit.dataset.stream.StreamingIterator
-
Iterator that creates a table iterator by reading the input from the given source in an asynchronous way.
- StringDataType - Class in org.dbunit.dataset.datatype
- StringDataType(String, int) - Constructor for class org.dbunit.dataset.datatype.StringDataType
-
Creates a new
StringDataType. - StringIgnoreCaseDataType - Class in org.dbunit.dataset.datatype
-
String data type that ignore case when comparing String values.
- StringIgnoreCaseDataType(String, int) - Constructor for class org.dbunit.dataset.datatype.StringIgnoreCaseDataType
-
Creates a new
StringIgnoreCaseDataType. - subtract(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Subtract amount from value (i.e., set value -= amount)
- supportBatchStatement(IDatabaseConnection) - Method in class org.dbunit.database.statement.AbstractStatementFactory
-
Returns
trueif target database supports batch statement. - supportsColumnCache() - Method in class org.dbunit.database.DefaultMetadataHandler
-
Whether
ResultSetTableMetaData's per-table column-metadata cache may safely useIMetadataHandler.matchesColumn(String, String, String, String, String, String, String, String, boolean)in place of the row-by-rowIMetadataHandler.matches(ResultSet, String, String, String, String, boolean)scan for this handler. - supportsColumnCache() - Method in interface org.dbunit.database.IMetadataHandler
-
Whether
ResultSetTableMetaData's per-table column-metadata cache may safely useIMetadataHandler.matchesColumn(String, String, String, String, String, String, String, String, boolean)in place of the row-by-rowIMetadataHandler.matches(ResultSet, String, String, String, String, boolean)scan for this handler. - supportsColumnCache() - Method in class org.dbunit.ext.db2.Db2MetadataHandler
-
Whether
ResultSetTableMetaData's per-table column-metadata cache may safely useIMetadataHandler.matchesColumn(String, String, String, String, String, String, String, String, boolean)in place of the row-by-rowIMetadataHandler.matches(ResultSet, String, String, String, String, boolean)scan for this handler. - supportsColumnCache() - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
-
Whether
ResultSetTableMetaData's per-table column-metadata cache may safely useIMetadataHandler.matchesColumn(String, String, String, String, String, String, String, String, boolean)in place of the row-by-rowIMetadataHandler.matches(ResultSet, String, String, String, String, boolean)scan for this handler. - swap(SynchronizedInt) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Atomically swap values with another SynchronizedInt.
- Sync - Interface in org.dbunit.util.concurrent
-
Main interface for locks, gates, and conditions.
- SynchronizedInt - Class in org.dbunit.util.concurrent
-
A class useful for offloading synch for int instance variables.
- SynchronizedInt(int) - Constructor for class org.dbunit.util.concurrent.SynchronizedInt
-
Make a new SynchronizedInt with the given initial value, and using its own internal lock.
- SynchronizedInt(int, Object) - Constructor for class org.dbunit.util.concurrent.SynchronizedInt
-
Make a new SynchronizedInt with the given initial value, and using the supplied lock.
- SynchronizedVariable - Class in org.dbunit.util.concurrent
-
Base class for simple, small classes maintaining single values that are always accessed and updated under synchronization.
- SynchronizedVariable() - Constructor for class org.dbunit.util.concurrent.SynchronizedVariable
-
Create a SynchronizedVariable using itself as the lock
- SynchronizedVariable(Object) - Constructor for class org.dbunit.util.concurrent.SynchronizedVariable
-
Create a SynchronizedVariable using the supplied lock
- SynchronousChannel - Class in org.dbunit.util.concurrent
-
A rendezvous channel, similar to those used in CSP and Ada.
- SynchronousChannel() - Constructor for class org.dbunit.util.concurrent.SynchronousChannel
- SynchronousChannel.Queue - Class in org.dbunit.util.concurrent
-
Simple FIFO queue class to hold waiting puts/takes.
T
- table(String) - Method in class org.dbunit.dataset.DataSetBuilder
-
Starts configuring a new table with the given name.
- table(String) - Method in class org.dbunit.dataset.DataSetBuilder.TableBuilder
-
Starts configuring another table, finalizing this one.
- Table - Class in org.dbunit.ant
-
The
Tableclass is just a step placeholder for a table name within anExport. - Table() - Constructor for class org.dbunit.ant.Table
-
Default constructor.
- TABLE_ORDERING_FILE - Static variable in class org.dbunit.dataset.csv.CsvDataSet
-
Name of the file listing the tables in load order.
- TableColumnValueComparerMapBuilder - Class in org.dbunit.assertion.comparer.value.builder
-
Convenience methods to help build the map of table name -> map of column name ->
ValueComparer. - TableColumnValueComparerMapBuilder() - Constructor for class org.dbunit.assertion.comparer.value.builder.TableColumnValueComparerMapBuilder
- TableDecoratorDataSet - Class in org.dbunit.dataset
-
Decorates a dataset to allow decorating the returned
ITables (andITableMetaDatas, by extension). - TableDecoratorDataSet(IDataSet, TableDecoratorDataSet.TableDecoratorFunction) - Constructor for class org.dbunit.dataset.TableDecoratorDataSet
-
Creates a new
TableDecoratorDataSetdecorating each table of the given dataset. - TableDecoratorDataSet.TableDecoratorFunction - Interface in org.dbunit.dataset
-
A function that decorates a single
ITable. - tableExists(DatabaseMetaData, String, String) - Method in class org.dbunit.database.DefaultMetadataHandler
- tableExists(DatabaseMetaData, String, String) - Method in interface org.dbunit.database.IMetadataHandler
-
Checks if the given table exists.
- tableExists(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MultiSchemaMySqlMetadataHandler
- tableExists(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.mysql.MySqlMetadataHandler
- tableExists(DatabaseMetaData, String, String) - Method in class org.dbunit.ext.netezza.NetezzaMetadataHandler
- tableExists(DatabaseMetaData, String, String) - Static method in class org.dbunit.util.SQLHelper
-
Deprecated.since 2.4.5 - use
IMetadataHandler.tableExists(DatabaseMetaData, String, String) - TableFormatter - Class in org.dbunit.util
-
Simple formatter to print out
ITableobjects in a beautiful way, for example on a console. - TableFormatter() - Constructor for class org.dbunit.util.TableFormatter
-
Default constructor.
- TABLENAME_INDEXES - Static variable in class org.dbunit.database.search.AbstractMetaDataBasedSearchCallback
-
Indexes of the column names on the MetaData result sets.
- TablesDependencyHelper - Class in org.dbunit.database.search
-
Helper for the graph-search based classes used to calculate dependency among tables.
- Takable - Interface in org.dbunit.util.concurrent
-
This interface exists to enable stricter type checking for channels.
- take() - Method in class org.dbunit.util.concurrent.BoundedBuffer
- take() - Method in class org.dbunit.util.concurrent.BoundedLinkedQueue
- take() - Method in interface org.dbunit.util.concurrent.Channel
-
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
- take() - Method in class org.dbunit.util.concurrent.LinkedQueue
- take() - Method in class org.dbunit.util.concurrent.SemaphoreControlledChannel
- take() - Method in class org.dbunit.util.concurrent.SynchronousChannel
- take() - Method in interface org.dbunit.util.concurrent.Takable
-
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
- takeGuard_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Helper monitor.
- takeGuard_ - Variable in class org.dbunit.util.concurrent.SemaphoreControlledChannel
-
Guards takes, holding one permit per filled slot.
- takePtr_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
Circular index of the next element to take.
- takeSidePutPermits_ - Variable in class org.dbunit.util.concurrent.BoundedLinkedQueue
-
Number of takes since last reconcile
- tearDown() - Method in class org.dbunit.DatabaseTestCase
-
Runs the tear-down operation and releases the database tester.
- tearDown() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Legacy JUnit-3-era tear-down hook.
- tearDown(Throwable) - Method in class org.dbunit.DatabaseTestCase
-
Runs tear down the same as
DatabaseTestCase.tearDown(), for use when a test failure is already in flight (e.g. calling this from a catch/finally around the test body). - TEN_MINUTES_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Ten minutes, in milliseconds.
- TEST_ERROR_MSG - Static variable in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Message prefix used for wrapped test failures.
- test1() - Static method in class org.dbunit.util.xml.XmlWriter
-
Writes an example XML document using the fluent
XmlWriter.writeElement(String)style. - test2() - Static method in class org.dbunit.util.xml.XmlWriter
-
Writes the same example XML document as
XmlWriter.test1(), using the step-by-step style. - thePieceIsDone() - Method in class org.dbunit.dataset.common.handlers.Pipeline
-
Completes the current piece, adding it to
Pipeline.getProducts()and starting a new one. - THREE_MINUTES_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Three minutes, in milliseconds.
- THREE_SECONDS_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Three seconds, in milliseconds.
- TIME - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL TIME type.
- TIME - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
TIMEtype. - TimeDataType - Class in org.dbunit.dataset.datatype
-
Data type that maps a SQL
Types.TIMEobject to a java object. - TimeoutException - Exception Class in org.dbunit.util.concurrent
-
Thrown by synchronization classes that report timeouts via exceptions.
- TimeoutException(long) - Constructor for exception class org.dbunit.util.concurrent.TimeoutException
-
Constructs a TimeoutException with given duration value.
- TimeoutException(long, String) - Constructor for exception class org.dbunit.util.concurrent.TimeoutException
-
Constructs a TimeoutException with the specified duration value and detail message.
- TIMESTAMP - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL TIMESTAMP type.
- TIMESTAMP - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
TIMESTAMPtype. - TimestampDataType - Class in org.dbunit.dataset.datatype
- TimestampIgnoreMillisValueComparerBase - Class in org.dbunit.assertion.comparer.value
-
Base class for
ValueComparerimplementations that verify Timestamps, ignoring the milliseconds. - TimestampIgnoreMillisValueComparerBase() - Constructor for class org.dbunit.assertion.comparer.value.TimestampIgnoreMillisValueComparerBase
- TIMETZ - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
TIMETZtype. - TINYINT - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL TINYINT type.
- toDatum(Connection) - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
- toDatum(Connection) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
- toDatum(Connection) - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
- toDatum(Connection) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
- ToleratedDelta(String, String, double) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Creates a tolerated delta for the given table/column, expressed as a
double. - ToleratedDelta(String, String, BigDecimal) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Creates a tolerated delta for the given table/column, expressed as a
BigDecimal. - ToleratedDelta(String, String, BigDecimal, boolean) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Creates a tolerated delta for the given table/column, optionally as a percentage.
- ToleratedDelta(String, String, ToleratedDeltaMap.Precision) - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
-
Creates a tolerated delta for the given table/column.
- ToleratedDeltaMap - Class in org.dbunit.dataset.datatype
-
Container that manages a map of
ToleratedDeltaMap.ToleratedDeltaobjects to be used for numeric comparisons with an allowed deviation of two values - ToleratedDeltaMap() - Constructor for class org.dbunit.dataset.datatype.ToleratedDeltaMap
- ToleratedDeltaMap.Precision - Class in org.dbunit.dataset.datatype
-
Container for the tolerated delta of two values that are compared to each other.
- ToleratedDeltaMap.ToleratedDelta - Class in org.dbunit.dataset.datatype
-
Simple bean that holds the tolerance for floating point comparisons for a specific database column.
- toString() - Method in class org.dbunit.AbstractDatabaseTester
- toString() - Method in class org.dbunit.ant.AbstractStep
- toString() - Method in class org.dbunit.ant.Compare
- toString() - Method in class org.dbunit.ant.Export
- toString() - Method in class org.dbunit.ant.Operation
- toString() - Method in class org.dbunit.ant.Query
- toString() - Method in class org.dbunit.ant.Table
- toString() - Method in class org.dbunit.assertion.comparer.value.ConditionalSelectorMultiValueComparer
- toString() - Method in class org.dbunit.assertion.comparer.value.ConditionalSetBiValueComparer
- toString() - Method in class org.dbunit.assertion.comparer.value.ValueComparerBase
- toString() - Method in exception class org.dbunit.assertion.DbComparisonFailure
- toString() - Method in class org.dbunit.assertion.DefaultFailureHandler
- toString() - Method in class org.dbunit.assertion.DiffCollectingFailureHandler
- toString() - Method in class org.dbunit.assertion.Difference
- toString() - Method in class org.dbunit.database.AbstractDatabaseConnection
- toString() - Method in class org.dbunit.database.AbstractResultSetTable
- toString() - Method in class org.dbunit.database.CachingConnectionProvider
- toString() - Method in class org.dbunit.database.DatabaseConfig.ConfigProperty
- toString() - Method in class org.dbunit.database.DatabaseConfig
- toString() - Method in class org.dbunit.database.DatabaseConnection
- toString() - Method in class org.dbunit.database.DatabaseTableMetaData
- toString() - Method in class org.dbunit.database.ForwardOnlyResultSetTable
- toString() - Method in class org.dbunit.database.PrimaryKeyFilter.PkTableMap
- toString() - Method in class org.dbunit.database.PrimaryKeyFilter
- toString() - Method in class org.dbunit.database.ResultSetTableMetaData
- toString() - Method in class org.dbunit.database.ScrollableResultSetTable
- toString() - Method in class org.dbunit.database.search.FKRelationshipEdge
-
Deprecated.
- toString() - Method in class org.dbunit.database.search.ForeignKeyRelationshipEdge
- toString() - Method in class org.dbunit.dataset.AbstractDataSet
- toString() - Method in class org.dbunit.dataset.Column.AutoIncrement
- toString() - Method in class org.dbunit.dataset.Column.Nullable
- toString() - Method in class org.dbunit.dataset.Column
- toString() - Method in class org.dbunit.dataset.ColumnFilterTable
- toString() - Method in class org.dbunit.dataset.Columns.ColumnDiff
- toString() - Method in class org.dbunit.dataset.CompositeTable
- toString() - Method in class org.dbunit.dataset.datatype.AbstractDataType
- toString() - Method in class org.dbunit.dataset.datatype.DefaultDataTypeFactory
-
Returns a string representation of this
DefaultDataTypeFactoryinstance - toString() - Method in class org.dbunit.dataset.datatype.ToleratedDeltaMap.ToleratedDelta
- toString() - Method in class org.dbunit.dataset.DefaultTable
- toString() - Method in class org.dbunit.dataset.DefaultTableMetaData
- toString() - Method in class org.dbunit.dataset.filter.DefaultColumnFilter
- toString() - Method in class org.dbunit.dataset.filter.SequenceTableFilter
- toString() - Method in class org.dbunit.dataset.OrderedTableNameMap
- toString() - Method in class org.dbunit.dataset.ReplacementTable
- toString() - Method in class org.dbunit.dataset.SortedTable
- toString() - Method in class org.dbunit.dataset.xml.FlatDtdDataSet
- toString() - Method in class org.dbunit.dataset.xml.FlatDtdWriter.ContentModel
- toString() - Method in class org.dbunit.dataset.xml.FlatXmlDataSetBuilder
- toString() - Method in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
- toString() - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
- toString() - Method in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
- toString() - Method in class org.dbunit.ext.oracle.OracleSdoPointType
- toString() - Method in class org.dbunit.JdbcDatabaseTester
- toString() - Method in class org.dbunit.JndiDatabaseTester
- toString() - Method in class org.dbunit.operation.AbstractBatchOperation
- toString() - Method in class org.dbunit.operation.CompositeOperation
- toString() - Method in class org.dbunit.operation.OperationData
- toString() - Method in class org.dbunit.util.concurrent.SynchronizedInt
- toString() - Method in class org.dbunit.util.QualifiedTableName
- toString() - Method in class org.dbunit.util.search.Edge
- toString() - Method in class org.dbunit.VerifyTableDefinition
- TRANSACTION(DatabaseOperation) - Static method in class org.dbunit.operation.DatabaseOperation
-
Wraps the given operation so it runs within its own transaction.
- TransactionOperation - Class in org.dbunit.operation
-
Decorates an operation and executes within the context of a transaction.
- TransactionOperation(DatabaseOperation) - Constructor for class org.dbunit.operation.TransactionOperation
-
Creates a TransactionOperation that decorates the specified operation.
- TransparentHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat accepts any character without altering the field being assembled. - TRUNCATE_TABLE - Static variable in class org.dbunit.operation.DatabaseOperation
-
Truncates the dataset's tables.
- TruncateTableOperation - Class in org.dbunit.operation
-
Truncate tables present in the specified dataset.
- TWO_MINUTES_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Two minutes, in milliseconds.
- TWO_SECONDS_IN_MILLIS - Static variable in class org.dbunit.assertion.comparer.value.IsActualWithinToleranceOfExpectedTimestampValueComparer
-
Two seconds, in milliseconds.
- TYPE - Static variable in class org.dbunit.ext.mssql.DateTimeOffsetType
-
JDBC SQL type code for Microsoft SQL Server's DATETIMEOFFSET type.
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.BigIntegerDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.BooleanDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.BytesDataType
-
Casts the given value into a byte[] using different strategies.
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.DataType
-
Returns the specified value typecasted to this
DataType - typeCast(Object) - Method in class org.dbunit.dataset.datatype.DateDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.DoubleDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.FloatDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.IntegerDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.LongDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.NumberDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.StringDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.TimeDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.TimestampDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.UnknownDataType
- typeCast(Object) - Method in class org.dbunit.dataset.datatype.UuidAwareBytesDataType
- typeCast(Object) - Method in class org.dbunit.ext.mssql.DateTimeOffsetType
- typeCast(Object) - Method in class org.dbunit.ext.mssql.UniqueIdentifierType
- typeCast(Object) - Method in class org.dbunit.ext.oracle.OracleSdoGeometryDataType
- typeCast(Object) - Method in class org.dbunit.ext.postgresql.ArrayType
- typeCast(Object) - Method in class org.dbunit.ext.postgresql.CitextType
-
Returns the specified value typecasted to this
DataType - typeCast(Object) - Method in class org.dbunit.ext.postgresql.GenericEnumType
-
Returns the specified value typecasted to this
DataType - typeCast(Object) - Method in class org.dbunit.ext.postgresql.GeometryType
- typeCast(Object) - Method in class org.dbunit.ext.postgresql.InetType
-
Returns the specified value typecasted to this
DataType - typeCast(Object) - Method in class org.dbunit.ext.postgresql.IntervalType
- typeCast(Object) - Method in class org.dbunit.ext.postgresql.JsonType
- typeCast(Object) - Method in class org.dbunit.ext.postgresql.UuidType
- TypeCastException - Exception Class in org.dbunit.dataset.datatype
-
Signals that a value could not be cast to the Java type required by a
DataType. - TypeCastException(Object, DataType) - Constructor for exception class org.dbunit.dataset.datatype.TypeCastException
-
Constructs a
TypeCastExceptionfor the given value and target data type. - TypeCastException(Object, DataType, Throwable) - Constructor for exception class org.dbunit.dataset.datatype.TypeCastException
-
Constructs a
TypeCastExceptionfor the given value and target data type, with a cause. - TypeCastException(String, Throwable) - Constructor for exception class org.dbunit.dataset.datatype.TypeCastException
-
Constructs a
TypeCastExceptionwith the specified detail message and cause. - TypeCastException(Throwable) - Constructor for exception class org.dbunit.dataset.datatype.TypeCastException
-
Constructs a
TypeCastExceptionwith the specified cause.
U
- UniqueIdentifierType - Class in org.dbunit.ext.mssql
-
UniqueIdentifierTypeprovides support for the "uniqueidentifier" column in Microsoft SQLServer databases. - UniqueIdentifierType() - Constructor for class org.dbunit.ext.mssql.UniqueIdentifierType
-
Default constructor.
- Unit - Search tag in class org.dbunit.util.RelativeDateTimeParser
- Section
- UNKNOWN - Static variable in class org.dbunit.dataset.Column.AutoIncrement
-
Indicates that whether the column is auto-incremented is unknown.
- UNKNOWN - Static variable in class org.dbunit.dataset.datatype.DataType
-
The unrecognized/unmapped data type.
- UNKNOWN - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
UNKNOWNtype. - UnknownDataType - Class in org.dbunit.dataset.datatype
- UNQUOTE() - Constructor for class org.dbunit.dataset.common.handlers.IsAlnumHandler.UNQUOTE
- UNQUOTE() - Constructor for class org.dbunit.dataset.common.handlers.QuoteHandler.UNQUOTE
- UNQUOTE() - Static method in class org.dbunit.dataset.common.handlers.QuoteHandler
-
Creates a handler that ends a quoted field on the quote character.
- UnquotedFieldAssembler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat assembles an unquoted CSV field value from its constituent characters. - UnquotedFieldAssembler() - Constructor for class org.dbunit.dataset.common.handlers.UnquotedFieldAssembler
-
Default constructor.
- UnquotedFieldAssembler.ASSEMBLE - Class in org.dbunit.dataset.common.handlers
-
Helper that notifies the pipeline the current field is done.
- UNSIGNED_SUFFIX - Static variable in class org.dbunit.ext.mysql.MySqlDataTypeFactory
-
Suffix MySQL appends to unsigned numeric type names, e.g.
- update(String, Object) - Method in class org.dbunit.dataset.OrderedTableNameMap
-
Updates the value associated with the given table name.
- UPDATE - Static variable in class org.dbunit.operation.DatabaseOperation
-
Updates existing rows matching the dataset's primary keys.
- UpdateOperation - Class in org.dbunit.operation
-
Updates the database from the dataset contents.
- usedSlots_ - Variable in class org.dbunit.util.concurrent.BoundedBuffer
-
Number of occupied slots (the buffer's length).
- UuidAwareBytesDataType - Class in org.dbunit.dataset.datatype
-
A datatype that is capable of storing UUIDs into BINARY fields (big-endian).
- UuidType - Class in org.dbunit.ext.postgresql
-
Adapter to handle conversion between Postgresql native UUID type and Strings.
- UuidType() - Constructor for class org.dbunit.ext.postgresql.UuidType
-
Default constructor.
V
- value - Variable in class org.dbunit.util.concurrent.LinkedNode
-
The value held by this node.
- value_ - Variable in class org.dbunit.util.concurrent.SynchronizedInt
-
The current value.
- ValueComparer - Interface in org.dbunit.assertion.comparer.value
-
Strategy for comparing values.
- ValueComparerBase - Class in org.dbunit.assertion.comparer.value
-
Base class for
ValueComparers providing a template method and common elements, mainly consistent log message and toString. - ValueComparerBase() - Constructor for class org.dbunit.assertion.comparer.value.ValueComparerBase
- valueComparerDefaults - Variable in class org.dbunit.assertion.DbUnitAssertBase
-
The value comparer defaults used when no comparer is explicitly configured for a table/column.
- ValueComparerDefaults - Interface in org.dbunit.assertion.comparer.value
-
Default
ValueComparers, used when one is not specified by a test. - ValueComparers - Class in org.dbunit.assertion.comparer.value
-
Convenience set of common
ValueComparerinstances. - ValueComparers() - Constructor for class org.dbunit.assertion.comparer.value.ValueComparers
-
Default constructor.
- ValueComparerSelector - Interface in org.dbunit.assertion.comparer.value
-
Strategy for selecting a
ValueComparerfrom aMapof them. - ValueComparerTemplateBase - Class in org.dbunit.assertion.comparer.value
-
Base class for
ValueComparers, providing template methods and common elements. - ValueComparerTemplateBase() - Constructor for class org.dbunit.assertion.comparer.value.ValueComparerTemplateBase
- ValueFactory<T> - Interface in org.dbunit.assertion.comparer.value
-
Create instances of a single or multi-column object, typically from the row in the table.
- VARBINARY - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL VARBINARY type.
- VARCHAR - Static variable in class org.dbunit.dataset.datatype.DataType
-
Maps the SQL VARCHAR type.
- VARCHAR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
VARCHARtype. - VARFIXEDCHAR - Static variable in class org.dbunit.ext.netezza.NetezzaDataTypeFactory
-
JDBC type code for Netezza's
VARFIXEDCHARtype. - verify(String, String[], Map<String, ValueComparer>) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
-
Verify the given columnExclusionFilters and columnValueComparers agree, e.g. a
ValueComparerdoes not exist for an excluded column. - verify(VerifyTableDefinition) - Method in class org.dbunit.assertion.comparer.value.verifier.DefaultVerifyTableDefinitionVerifier
- verify(VerifyTableDefinition) - Method in interface org.dbunit.assertion.comparer.value.verifier.VerifyTableDefinitionVerifier
-
Verify the
VerifyTableDefinitionis valid. - verify(VerifyTableDefinition[], IDataSet, DatabaseConfig) - Method in class org.dbunit.DefaultExpectedDataSetAndVerifyTableDefinitionVerifier
- verify(VerifyTableDefinition[], IDataSet, DatabaseConfig) - Method in interface org.dbunit.ExpectedDataSetAndVerifyTableDefinitionVerifier
-
Verify
VerifyTableDefinitions and expectedDataSet configurations agree. - verifyData() - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
For the provided VerifyTableDefinitions, verify each table's actual results are as expected.
- verifyData() - Method in interface org.dbunit.PrepAndExpectedTestCase
-
For the provided VerifyTableDefinitions, verify each table's actual results are as expected.
- verifyData(IDatabaseConnection, VerifyTableDefinition) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
Verifies a single table's actual data against its expected data.
- verifyData(ITable, ITable, String[], String[], ValueComparer, Map<String, ValueComparer>) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
For the specified expected and actual tables (and excluding and including the specified columns), verify the actual data is as expected.
- verifyData(ITable, ITable, String[], String[], ValueComparer, Map<String, ValueComparer>, boolean) - Method in class org.dbunit.DefaultPrepAndExpectedTestCase
-
For the specified expected and actual tables (and excluding and including the specified columns), verify the actual data is as expected.
- VerifyTableDefinition - Class in org.dbunit
-
Defines a database table to verify (assert on data), specifying include and exclude column filters and optional
ValueComparers. - VerifyTableDefinition(String, String[]) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance with all columns compared except exclude the specified columns.
- VerifyTableDefinition(String, String[], String[]) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance specifying exclude and include columns.
- VerifyTableDefinition(String, String[], String[], ValueComparer, Map<String, ValueComparer>) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance specifying exclude and include columns and use the specified defaultValueComparer for all column comparisons not in the columnValueComparers
Map. - VerifyTableDefinition(String, String[], String[], ValueComparer, Map<String, ValueComparer>, boolean) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance specifying exclude and include columns, value comparers, and whether to sort by only the filtered columns.
- VerifyTableDefinition(String, String[], ValueComparer, Map<String, ValueComparer>) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance with all columns compared and exclude the specified columns, and use the specified defaultValueComparer for all column comparisons not in the columnValueComparers
Map. - VerifyTableDefinition(String, String[], ValueComparer, Map<String, ValueComparer>, boolean) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance with all columns compared and exclude the specified columns, use the specified defaultValueComparer for all column comparisons not in the columnValueComparers
Map, and specify whether to sort by only the filtered columns. - VerifyTableDefinition(String, ValueComparer, Map<String, ValueComparer>) - Constructor for class org.dbunit.VerifyTableDefinition
-
Create a valid instance with all columns compared and use the specified defaultValueComparer for all column comparisons not in the columnValueComparers
Map. - VerifyTableDefinitionVerifier - Interface in org.dbunit.assertion.comparer.value.verifier
-
Strategy pattern for verifying a correctly configured
VerifyTableDefinition, e.g. aValueComparerdoes not exist for a column with an excluded column definition.
W
- waitingForTake_ - Variable in class org.dbunit.util.concurrent.LinkedQueue
-
The number of threads waiting for a take.
- waitingPuts - Variable in class org.dbunit.util.concurrent.SynchronousChannel
-
Queue of nodes for puts waiting for a taker.
- waitingTakes - Variable in class org.dbunit.util.concurrent.SynchronousChannel
-
Queue of nodes for takes waiting for a putter.
- WhitespacesHandler - Class in org.dbunit.dataset.common.handlers
-
PipelineComponentthat matches whitespace characters during CSV field parsing. - write(byte[], int, int) - Method in class org.dbunit.util.Base64.OutputStream
-
Calls
Base64.OutputStream.write(int)repeatedly until len bytes are written. - write(int) - Method in class org.dbunit.util.Base64.OutputStream
-
Writes the byte to the output stream after converting to/from Base64 notation.
- write(PrintWriter, String, int, int) - Method in class org.dbunit.dataset.xml.FlatDtdWriter.ChoiceModel
- write(PrintWriter, String, int, int) - Method in class org.dbunit.dataset.xml.FlatDtdWriter.ContentModel
-
Writes the given table's content-model declaration.
- write(PrintWriter, String, int, int) - Method in class org.dbunit.dataset.xml.FlatDtdWriter.SequenceModel
- write(IDataSet) - Method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Writes the given dataset's tables and rows to CSV files.
- write(IDataSet) - Method in class org.dbunit.dataset.xml.FlatDtdWriter
-
Writes a DTD describing the given dataset's tables and columns.
- write(IDataSet) - Method in class org.dbunit.dataset.xml.FlatXmlWriter
-
Writes the given
IDataSetusing this writer. - write(IDataSet) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Writes the given
IDataSetusing this writer. - write(IDataSet, File) - Static method in class org.dbunit.dataset.csv.CsvDataSetWriter
-
Writes the given dataset's tables and rows as CSV files to the given directory.
- write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.excel.XlsDataSet
-
Write the specified dataset to the specified Excel document.
- write(IDataSet, OutputStream) - Method in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Write the specified dataset to the specified Excel document.
- write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.json.JsonDataSet
-
Writes the specified dataset to the given output stream as JSON, encoded in UTF-8, matching what
JsonProducerdecodes. - write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.xml.FlatDtdDataSet
-
Writes the specified dataset to the specified output stream as DTD, encoded in UTF-8, matching what the
InputStreamconstructor's SAX parsing assumes absent an explicit encoding declaration. - write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.xml.FlatXmlDataSet
-
Write the specified dataset to the specified output stream as xml.
- write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.xml.XmlDataSet
-
Write the specified dataset to the specified output stream as xml.
- write(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.yaml.YamlDataSet
-
Writes the specified dataset to the specified output stream as YAML, encoded in UTF-8, matching what
YamlProducerdecodes. - write(IDataSet, OutputStream, Charset) - Static method in class org.dbunit.dataset.xml.XmlDataSet
-
Write the specified dataset to the specified output stream as xml (using specified encoding).
- write(IDataSet, Writer) - Static method in class org.dbunit.dataset.json.JsonDataSet
-
Writes the specified dataset to the given writer as JSON.
- write(IDataSet, Writer) - Static method in class org.dbunit.dataset.xml.FlatDtdDataSet
-
Write the specified dataset to the specified writer as DTD.
- write(IDataSet, Writer) - Static method in class org.dbunit.dataset.xml.FlatXmlDataSet
-
Write the specified dataset to the specified writer as xml.
- write(IDataSet, Writer) - Static method in class org.dbunit.dataset.xml.XmlDataSet
-
Write the specified dataset to the specified writer as xml.
- write(IDataSet, Writer) - Static method in class org.dbunit.dataset.yaml.YamlDataSet
-
Write the specified dataset to the specified writer as YAML.
- write(IDataSet, Writer, Charset) - Static method in class org.dbunit.dataset.xml.FlatXmlDataSet
-
Write the specified dataset to the specified writer as xml.
- write(IDataSet, Writer, Charset) - Static method in class org.dbunit.dataset.xml.XmlDataSet
-
Write the specified dataset to the specified writer as xml.
- writeAttribute(String, String) - Method in class org.dbunit.util.xml.XmlWriter
-
Write an attribute out for the current element.
- writeAttribute(String, String, boolean) - Method in class org.dbunit.util.xml.XmlWriter
-
Write an attribute out for the current element.
- writeCData(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Write out a chunk of CDATA.
- writeComment(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Write out a chunk of comment.
- writeDeclaration() - Method in class org.dbunit.util.xml.XmlWriter
-
Writes the XML declaration, if an encoding is set.
- writeDoctype(String, String) - Method in class org.dbunit.util.xml.XmlWriter
-
Writes a
DOCTYPEdeclaration for the dataset, if a system or public id is given. - writeDtd(IDataSet, OutputStream) - Static method in class org.dbunit.dataset.xml.FlatXmlDataSet
- writeElement(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Begin to write out an element.
- writeElementWithText(String, String) - Method in class org.dbunit.util.xml.XmlWriter
-
A helper method.
- writeEmptyElement(String) - Method in class org.dbunit.util.xml.XmlWriter
-
A helper method.
- writeText(String) - Method in class org.dbunit.util.xml.XmlWriter
-
Output body text.
- writeText(String, boolean) - Method in class org.dbunit.util.xml.XmlWriter
-
Output body text.
- writeValue(String) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Writes the given String as normal text using the
XmlWriter. - writeValueCData(String) - Method in class org.dbunit.dataset.xml.XmlDataSetWriter
-
Writes the given String as CDATA using the
XmlWriter.
X
- XlsDataFileLoader - Class in org.dbunit.util.fileloader
-
DataFileLoaderthat loads Excel (.xls) dataset files. - XlsDataFileLoader() - Constructor for class org.dbunit.util.fileloader.XlsDataFileLoader
-
Create new instance.
- XlsDataFileLoader(Map) - Constructor for class org.dbunit.util.fileloader.XlsDataFileLoader
-
Create new instance with replacement objects.
- XlsDataFileLoader(Map, Map) - Constructor for class org.dbunit.util.fileloader.XlsDataFileLoader
-
Create new instance with replacement objects and replacement substrings.
- XlsDataSet - Class in org.dbunit.dataset.excel
-
This dataset implementation can read and write MS Excel documents.
- XlsDataSet(File) - Constructor for class org.dbunit.dataset.excel.XlsDataSet
-
Creates a new XlsDataSet object that loads the specified Excel document.
- XlsDataSet(InputStream) - Constructor for class org.dbunit.dataset.excel.XlsDataSet
-
Creates a new XlsDataSet object that loads the specified Excel document.
- XlsDataSetWriter - Class in org.dbunit.dataset.excel
-
Writes an
IDataSetto an XLS file or OutputStream. - XlsDataSetWriter() - Constructor for class org.dbunit.dataset.excel.XlsDataSetWriter
- XmlDataSet - Class in org.dbunit.dataset.xml
-
Reads and writes original XML dataset document.
- XmlDataSet(InputStream) - Constructor for class org.dbunit.dataset.xml.XmlDataSet
-
Creates an XmlDataSet with the specified xml input stream.
- XmlDataSet(Reader) - Constructor for class org.dbunit.dataset.xml.XmlDataSet
-
Creates an XmlDataSet with the specified xml reader.
- XmlDataSetWriter - Class in org.dbunit.dataset.xml
-
IDataSetConsumerthat writes a dataset to the DbUnit XML dataset format. - XmlDataSetWriter(OutputStream, Charset) - Constructor for class org.dbunit.dataset.xml.XmlDataSetWriter
-
Creates a new
XmlDataSetWriter. - XmlDataSetWriter(Writer) - Constructor for class org.dbunit.dataset.xml.XmlDataSetWriter
-
Creates a new
XmlDataSetWriter. - XmlDataSetWriter(Writer, Charset) - Constructor for class org.dbunit.dataset.xml.XmlDataSetWriter
-
Creates a new
XmlDataSetWriter. - XmlProducer - Class in org.dbunit.dataset.xml
-
Parses an XML and produces a dataset from it.
- XmlProducer(InputSource) - Constructor for class org.dbunit.dataset.xml.XmlProducer
-
Creates a producer reading XML from the given source.
- XmlWriter - Class in org.dbunit.util.xml
-
Makes writing XML much much easier.
- XmlWriter(OutputStream, Charset) - Constructor for class org.dbunit.util.xml.XmlWriter
-
Create an XmlWriter on top of an existing
OutputStream. - XmlWriter(Writer) - Constructor for class org.dbunit.util.xml.XmlWriter
-
Create an XmlWriter on top of an existing java.io.Writer.
- XmlWriter(Writer, Charset) - Constructor for class org.dbunit.util.xml.XmlWriter
-
Create an XmlWriter on top of an existing java.io.Writer.
- xor(int) - Method in class org.dbunit.util.concurrent.SynchronizedInt
-
Set value to value ^ b.
Y
- YamlDataSet - Class in org.dbunit.dataset.yaml
-
Reads and writes flat YAML-based dataset documents.
- YamlDataSet(File) - Constructor for class org.dbunit.dataset.yaml.YamlDataSet
-
Creates a YAML dataset based on a yaml file
- YamlDataSet(InputStream) - Constructor for class org.dbunit.dataset.yaml.YamlDataSet
-
Creates a YAML dataset based on an inputstream
- YamlProducer - Class in org.dbunit.dataset.yaml
-
IDataSetProducerthat parses a YAML dataset document and streams table/row events. - YamlProducer(File) - Constructor for class org.dbunit.dataset.yaml.YamlProducer
-
Creates a producer reading YAML from the given file.
- YamlProducer(InputStream) - Constructor for class org.dbunit.dataset.yaml.YamlProducer
-
Creates a producer reading YAML from the given stream.
- YES - Static variable in class org.dbunit.dataset.Column.AutoIncrement
-
Indicates that the column is auto-incremented.
Z
- ZEROS - Static variable in class org.dbunit.dataset.excel.XlsDataSetWriter
-
Deprecated.since 3.2.1, no longer used internally by
XlsDataSetWriter.createZeros(int); kept only for binary compatibility.
_
- _factory - Static variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The
ORADataFactoryfor each struct-typed attribute, indexed by attribute position. - _factory - Static variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The
ORADataFactoryfor each struct-typed attribute, indexed by attribute position. - _init_struct(boolean) - Method in class org.dbunit.ext.oracle.OracleSdoGeometry
-
Initializes
OracleSdoGeometry._structwhen requested. - _init_struct(boolean) - Method in class org.dbunit.ext.oracle.OracleSdoPointType
-
Initializes
OracleSdoPointType._structwhen requested. - _metaData - Variable in class org.dbunit.database.AbstractResultSetTable
-
The metadata of this table.
- _OracleSdoGeometryFactory - Static variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The shared
ORADataFactoryinstance for this class. - _OracleSdoPointTypeFactory - Static variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The shared
ORADataFactoryinstance for this class. - _orderedTableNameMap - Variable in class org.dbunit.dataset.AbstractDataSet
-
Lazily-initialized map of this dataset's tables, keyed by table name.
- _resultSet - Variable in class org.dbunit.database.AbstractResultSetTable
-
The result set backing this table's rows.
- _reverseRowOrder - Variable in class org.dbunit.operation.AbstractBatchOperation
-
Whether the tables of the dataset are processed in reverse order, as needed by operations (for example deletes) that must respect foreign-key dependency order in the opposite direction of inserts.
- _SQL_NAME - Static variable in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
The Oracle SQL type name backing this array,
MDSYS.SDO_ELEM_INFO_ARRAY. - _SQL_NAME - Static variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The Oracle SQL type name backing this struct,
MDSYS.SDO_GEOMETRY. - _SQL_NAME - Static variable in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
The Oracle SQL type name backing this array,
MDSYS.SDO_ORDINATE_ARRAY. - _SQL_NAME - Static variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The Oracle SQL type name backing this struct,
MDSYS.SDO_POINT_TYPE. - _SQL_TYPECODE - Static variable in class org.dbunit.ext.oracle.OracleSdoElemInfoArray
-
The Oracle JDBC type code backing this array,
OracleTypes.ARRAY. - _SQL_TYPECODE - Static variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The Oracle JDBC type code backing this struct,
OracleTypes.STRUCT. - _SQL_TYPECODE - Static variable in class org.dbunit.ext.oracle.OracleSdoOrdinateArray
-
The Oracle JDBC type code backing this array,
OracleTypes.ARRAY. - _SQL_TYPECODE - Static variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The Oracle JDBC type code backing this struct,
OracleTypes.STRUCT. - _sqlType - Static variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The JDBC type codes of this struct's attributes, in declaration order.
- _sqlType - Static variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The JDBC type codes of this struct's attributes, in declaration order.
- _statement - Variable in class org.dbunit.database.statement.AbstractBatchStatement
-
The wrapped JDBC statement that batched SQL is accumulated on and executed through.
- _statement - Variable in class org.dbunit.database.statement.AbstractPreparedBatchStatement
-
The prepared statement to which values are bound and batched.
- _struct - Variable in class org.dbunit.ext.oracle.OracleSdoGeometry
-
The underlying mutable struct holding this geometry's attribute values.
- _struct - Variable in class org.dbunit.ext.oracle.OracleSdoPointType
-
The underlying mutable struct holding this point's attribute values.
- _type - Variable in class org.dbunit.ant.Operation
-
The name of the
DatabaseOperationto execute, e.g.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DatabaseConfig.ALL_PROPERTIESwhere features are listed now as well