Class DomainMap
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<String,Object>
- 
- org.apache.solr.client.solrj.request.json.DomainMap
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,Object>
 
 public class DomainMap extends HashMap<String,Object> - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 
- 
 - 
Constructor SummaryConstructors Constructor Description DomainMap()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainMapsetBlockChildQuery(String allChildrenQuery)Indicates that the resulting domain will contain all child documents of the parents in the current domainDomainMapsetBlockParentQuery(String allParentsQuery)Indicates that the resulting domain will contain all parent documents of the children in the existing domainDomainMapsetJoinTransformation(String from, String to)Transforms the domain by running a join query with the providedfromandtoparametersDomainMapwithFilter(String filter)Indicates that the domain should be narrowed by the specified filterDomainMapwithQuery(String query)Indicates that the domain should be the following queryDomainMapwithTagsToExclude(String excludeTagsValue)Provide a tag or tags that correspond to filters or queries to exclude from the domain- 
Methods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
 - 
Methods inherited from class java.util.AbstractMapequals, hashCode, toString
 
- 
 
- 
- 
- 
Method Detail- 
withFilterpublic DomainMap withFilter(String filter) Indicates that the domain should be narrowed by the specified filterMay be called multiple times. Each added filter is retained and used to narrow the domain. 
 - 
withQuerypublic DomainMap withQuery(String query) Indicates that the domain should be the following queryMay be called multiple times. Each specified query is retained and included in the domain. 
 - 
withTagsToExcludepublic DomainMap withTagsToExclude(String excludeTagsValue) Provide a tag or tags that correspond to filters or queries to exclude from the domainMay be called multiple times. Each exclude-string is retained and used for removing queries/filters from the domain specification. - Parameters:
- excludeTagsValue- a comma-delimited String containing filter/query tags to exclude
 
 - 
setBlockParentQuerypublic DomainMap setBlockParentQuery(String allParentsQuery) Indicates that the resulting domain will contain all parent documents of the children in the existing domain- Parameters:
- allParentsQuery- a query used to identify all parent documents in the collection
 
 - 
setBlockChildQuerypublic DomainMap setBlockChildQuery(String allChildrenQuery) Indicates that the resulting domain will contain all child documents of the parents in the current domain- Parameters:
- allChildrenQuery- a query used to identify all child documents in the collection
 
 - 
setJoinTransformationpublic DomainMap setJoinTransformation(String from, String to) Transforms the domain by running a join query with the providedfromandtoparametersJoin modifies the current domain by selecting the documents whose values in field tomatch values for the fieldfromin the current domain.- Parameters:
- from- a field-name whose values are matched against- toby the join
- to- a field name whose values should match values specified by the- fromfield
 
 
- 
 
-