Package | Description |
---|---|
org.apache.solr.common |
Common classes reused on both clients & server for dealing with
documents to be indexed and result documents . |
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
Modifier and Type | Field and Description |
---|---|
static ConfigNode |
ConfigNode.EMPTY
An empty node object.
|
Modifier and Type | Method and Description |
---|---|
default ConfigNode |
ConfigNode.child(List<String> path) |
default ConfigNode |
ConfigNode.child(Predicate<ConfigNode> test,
String name)
Iterate through child nodes with the name and return the first child that matches
|
default ConfigNode |
ConfigNode.child(String name)
Child by name
|
default ConfigNode |
ConfigNode.child(String name,
Supplier<RuntimeException> err) |
default ConfigNode |
ConfigNode.get(String name)
Child by name or return an empty node if null
if there are multiple values , it returns the first elem
This never returns a null
|
default ConfigNode |
ConfigNode.get(String name,
int idx) |
default ConfigNode |
ConfigNode.get(String name,
Predicate<ConfigNode> test) |
Modifier and Type | Method and Description |
---|---|
static Predicate<ConfigNode> |
ConfigNode.Helpers.at(int i) |
default List<ConfigNode> |
ConfigNode.getAll(Predicate<ConfigNode> test,
Set<String> matchNames)
Iterate through child nodes with the names and return all the matching children
|
default List<ConfigNode> |
ConfigNode.getAll(Predicate<ConfigNode> test,
String... nodeNames)
Iterate through child nodes with the names and return all the matching children
|
default List<ConfigNode> |
ConfigNode.getAll(String name) |
Modifier and Type | Method and Description |
---|---|
default ConfigNode |
ConfigNode.child(Predicate<ConfigNode> test,
String name)
Iterate through child nodes with the name and return the first child that matches
|
void |
ConfigNode.forEachChild(Function<ConfigNode,Boolean> fun)
abortable iterate through children
|
default ConfigNode |
ConfigNode.get(String name,
Predicate<ConfigNode> test) |
default List<ConfigNode> |
ConfigNode.getAll(Predicate<ConfigNode> test,
Set<String> matchNames)
Iterate through child nodes with the names and return all the matching children
|
default List<ConfigNode> |
ConfigNode.getAll(Predicate<ConfigNode> test,
String... nodeNames)
Iterate through child nodes with the names and return all the matching children
|
Modifier and Type | Method and Description |
---|---|
static NamedList<Object> |
DOMUtil.childNodesToNamedList(ConfigNode node) |
static String |
DOMUtil.getAttr(ConfigNode node,
String name,
String missing_err) |
static NamedList<Object> |
DOMUtil.readNamedListChildren(ConfigNode configNode) |
static Map<String,String> |
DOMUtil.toMap(ConfigNode node) |
static Map<String,String> |
DOMUtil.toMapExcept(ConfigNode node,
String... exclusions) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.