Uses of Class
org.dbunit.util.search.SearchException

Packages that use SearchException
org.dbunit.database.search   
org.dbunit.util.search   
 

Uses of SearchException in org.dbunit.database.search
 

Methods in org.dbunit.database.search that throw SearchException
protected static ForeignKeyRelationshipEdge AbstractMetaDataBasedSearchCallback.createFKEdge(java.sql.ResultSet rs, int type, java.lang.String from, java.lang.String to, java.lang.String fkColumn, java.lang.String pkColumn)
          Creates an edge representing a foreign key relationship between 2 tables.
static IDataSet TablesDependencyHelper.getAllDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables)
           
static IDataSet TablesDependencyHelper.getAllDataset(IDatabaseConnection connection, java.lang.String rootTable, java.util.Set allowedPKs)
           
static java.lang.String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, java.lang.String rootTable)
          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).
static java.lang.String[] TablesDependencyHelper.getAllDependentTables(IDatabaseConnection connection, java.lang.String[] rootTables)
          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).
static IDataSet TablesDependencyHelper.getDataset(IDatabaseConnection connection, PrimaryKeyFilter.PkTableMap rootTables)
           
static IDataSet TablesDependencyHelper.getDataset(IDatabaseConnection connection, java.lang.String rootTable, java.util.Set allowedIds)
           
static java.lang.String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, java.lang.String rootTable)
          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).
static java.lang.String[] TablesDependencyHelper.getDependentTables(IDatabaseConnection connection, java.lang.String[] rootTables)
          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).
static java.lang.String[] TablesDependencyHelper.getDependsOnTables(IDatabaseConnection connection, java.lang.String rootTable)
          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).
static java.util.Set TablesDependencyHelper.getDirectDependentTables(IDatabaseConnection connection, java.lang.String tableName)
          Returns a set of tables which directly depend on the given table.
static java.util.Set TablesDependencyHelper.getDirectDependsOnTables(IDatabaseConnection connection, java.lang.String tableName)
          Returns a set of tables on which the given table directly depends on.
 java.util.SortedSet ImportedKeysSearchCallback.getEdges(java.lang.Object node)
           
 java.util.SortedSet ImportedAndExportedKeysSearchCallback.getEdges(java.lang.Object node)
           
 java.util.SortedSet ExportedKeysSearchCallback.getEdges(java.lang.Object node)
           
protected  java.util.SortedSet AbstractMetaDataBasedSearchCallback.getNodesFromExportedKeys(java.lang.Object node)
          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.
protected  java.util.SortedSet AbstractMetaDataBasedSearchCallback.getNodesFromImportAndExportKeys(java.lang.Object node)
          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.
protected  java.util.SortedSet AbstractMetaDataBasedSearchCallback.getNodesFromImportedKeys(java.lang.Object node)
          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.
protected  IEdge ImportedKeysSearchCallbackFilteredByPKs.newEdge(java.sql.ResultSet rs, int type, java.lang.String from, java.lang.String to, java.lang.String fkColumn, java.lang.String pkColumn)
           
protected  IEdge ImportedAndExportedKeysSearchCallbackFilteredByPKs.newEdge(java.sql.ResultSet rs, int type, java.lang.String from, java.lang.String to, java.lang.String fkColumn, java.lang.String pkColumn)
           
protected  IEdge AbstractMetaDataBasedSearchCallback.newEdge(java.sql.ResultSet rs, int type, java.lang.String from, java.lang.String to, java.lang.String fkColumn, java.lang.String pkColumn)
          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).
 void ImportedKeysSearchCallbackFilteredByPKs.nodeAdded(java.lang.Object node)
           
 void ImportedAndExportedKeysSearchCallbackFilteredByPKs.nodeAdded(java.lang.Object node)
           
 

Uses of SearchException in org.dbunit.util.search
 

Methods in org.dbunit.util.search that throw SearchException
 java.util.SortedSet ISearchCallback.getEdges(java.lang.Object fromNode)
          Get the edges originating from a node.
 void ISearchCallback.nodeAdded(java.lang.Object fromNode)
          Notifies the callback that a node has been added to the search result.
 void AbstractNodesFilterSearchCallback.nodeAdded(java.lang.Object fromNode)
          Do nothing...
 org.apache.commons.collections.set.ListOrderedSet DepthFirstSearch.search(java.lang.Object[] nodesFrom, ISearchCallback callback)
          Alternative option to search() that takes an array of nodes as input (instead of a Set)
 org.apache.commons.collections.set.ListOrderedSet ISearchAlgorithm.search(java.util.Set nodesFrom, ISearchCallback callback)
          Search all nodes that originates from a set of nodes.
 org.apache.commons.collections.set.ListOrderedSet DepthFirstSearch.search(java.util.Set nodesFrom, ISearchCallback callback)
           
 boolean ISearchCallback.searchNode(java.lang.Object node)
          Decides if a node should be searched or not
 boolean AbstractNodesFilterSearchCallback.searchNode(java.lang.Object node)
           
 



Copyright © 2002-2010. All Rights Reserved.