MCPcopy Create free account
hub / github.com/apache/solr / getAll

Method getAll

solr/solrj/src/java/org/apache/solr/common/ConfigNode.java:161–161  ·  view source on GitHub ↗

Iterate through child nodes with the names and return all the matching children @param names names of tags/elements to be returned. Null means all nodes. @param test check for the nodes to be returned. Null means all nodes.

(Set<String> names, Predicate<ConfigNode> test)

Source from the content-addressed store, hash-verified

159 * @param test check for the nodes to be returned. Null means all nodes.
160 */
161 default List<ConfigNode> getAll(Set<String> names, Predicate<ConfigNode> test) {
162 assert names == null || !names.isEmpty() : "Intended to pass null?";
163 List<ConfigNode> result = new ArrayList<>();
164 forEachChild(

Callers 15

readSchemaMethod · 0.95
loadFieldsMethod · 0.95
loadCopyFieldsMethod · 0.95
getAllMethod · 0.95
testWithoutDistribMethod · 0.65
testWithDistribMethod · 0.65

Implementers 3

OverlaidConfigNodesolr/core/src/java/org/apache/solr/cor
DOMConfigNodesolr/core/src/java/org/apache/solr/uti
DataConfigNodesolr/core/src/java/org/apache/solr/uti

Calls

no outgoing calls

Tested by 9

testWithoutDistribMethod · 0.52
testWithDistribMethod · 0.52
testSingleWarningMethod · 0.52
checkReloadCompletionMethod · 0.52
assertResponseMethod · 0.52