Returns all elements that are associated with the given key in the element map with the specified identifier and satisfy the filter condition (if specified).
Parameters:
elementMapId
Note: When the element map with such an identifier does not exist, the generator raises an error.
key
filterQuery
When specified, this should be a boolean subquery
created with BooleanQuery()
function.
The subquery will be processed against each initially selected element
and should return true
if the element must be included in the
result enumeration and false
otherwise.
The tested element is passed as the generator context element.
The elements follow in the enumeration in the same order as they have been put initially in the element map by the given key.
If there are no elements associated with the key, the returned enumeration is empty.
prepareElementMap(), countElementsByKey(), BooleanQuery()