public class SearchPath extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchPath.InvalidSearchPathException |
Modifier and Type | Method and Description |
---|---|
static Optional<SearchPath> |
fromString(String path) |
static List<SearchCluster.Node> |
selectNodes(String searchPath,
SearchCluster cluster)
Parse the search path and select nodes from the given cluster based on it.
|
String |
toString() |
public static List<SearchCluster.Node> selectNodes(String searchPath, SearchCluster cluster)
searchPath
- unparsed search path expression (see: model.searchPath in Search
API reference)cluster
- the search cluster from which nodes are selectedSearchPath.InvalidSearchPathException
- if the searchPath is malformedpublic static Optional<SearchPath> fromString(String path)
Copyright © 2018. All rights reserved.