Package | Description |
---|---|
org.dbunit.database.search | |
org.dbunit.util.search |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetaDataBasedSearchCallback
Super-class for the ISearchCallback that implements the
getEdges() method using the database meta-data. |
class |
ExportedKeysSearchCallback
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.
|
class |
ImportedAndExportedKeysSearchCallback
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.
|
class |
ImportedAndExportedKeysSearchCallbackFilteredByPKs
Extension of the ImportedAndExportedKeysSearchCallback, where each new edge is
added to a PrimaryKeyFilter.
|
class |
ImportedKeysSearchCallback
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.
|
class |
ImportedKeysSearchCallbackFilteredByPKs
Extension of the ImportedKeysSearchCallback, where each new edge is added to a
PrimaryKeyFilter.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExcludeNodesSearchCallback |
class |
AbstractIncludeNodesSearchCallback |
class |
AbstractNodesFilterSearchCallback
Super-class for ISearchCallback implementations that needs to filter which
nodes should be included or excluded from the search.
This class implements the searchNode() based on its internal
mode, which could be ALLOW_MODE , DENY_MODE or
NO_MODE :
NO_MODE is the default mode and means searchNode()
always return true
ALLOW_MODE is set when setAllowedNodes() is called
and it means searchNode() will return true only if the node is
contained on the Set (or array) passed to setAllowedNodes()
DENY_MODE is set when setDeniedNodes() is called
and it means searchNode() will return true only if the node is
not contained on the Set (or array) passed to setDeniedNodes()
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.set.ListOrderedSet |
DepthFirstSearch.search(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 |
DepthFirstSearch.search(Set nodesFrom,
ISearchCallback callback) |
org.apache.commons.collections.set.ListOrderedSet |
ISearchAlgorithm.search(Set nodesFrom,
ISearchCallback callback)
Search all nodes that originates from a set of nodes.
|
Copyright © 2002–2019. All rights reserved.