public class DomainMap extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DomainMap() |
Modifier and Type | Method and Description |
---|---|
DomainMap |
setBlockChildQuery(String allChildrenQuery)
Indicates that the resulting domain will contain all child documents of the parents in the current domain
|
DomainMap |
setBlockParentQuery(String allParentsQuery)
Indicates that the resulting domain will contain all parent documents of the children in the existing domain
|
DomainMap |
setJoinTransformation(String from,
String to)
Transforms the domain by running a join query with the provided
from and to parameters
Join modifies the current domain by selecting the documents whose values in field to match values for the
field from in the current domain. |
DomainMap |
withFilter(String filter)
Indicates that the domain should be narrowed by the specified filter
May be called multiple times.
|
DomainMap |
withQuery(String query)
Indicates that the domain should be the following query
May be called multiple times.
|
DomainMap |
withTagsToExclude(String excludeTagsValue)
Provide a tag or tags that correspond to filters or queries to exclude from the domain
May be called multiple times.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public DomainMap withFilter(String filter)
public DomainMap withQuery(String query)
public DomainMap withTagsToExclude(String excludeTagsValue)
excludeTagsValue
- a comma-delimited String containing filter/query tags to excludepublic DomainMap setBlockParentQuery(String allParentsQuery)
allParentsQuery
- a query used to identify all parent documents in the collectionpublic DomainMap setBlockChildQuery(String allChildrenQuery)
allChildrenQuery
- a query used to identify all child documents in the collectionpublic DomainMap setJoinTransformation(String from, String to)
from
and to
parameters
Join modifies the current domain by selecting the documents whose values in field to
match values for the
field from
in the current domain.from
- a field-name whose values are matched against to
by the jointo
- a field name whose values should match values specified by the from
fieldCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.