Class GroupSearchCompilerImpl
- java.lang.Object
-
- org.linuxforhealth.fhir.search.group.GroupSearchCompilerImpl
-
- All Implemented Interfaces:
GroupSearchCompiler
public class GroupSearchCompilerImpl extends java.lang.Object implements GroupSearchCompiler
Group Search Compiler routes the Group based on characteristics to each of the corresponding processors for the Supported Elements, and generates the corresponding Search QueryParameters based on the relevant target.
-
-
Constructor Summary
Constructors Constructor Description GroupSearchCompilerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>
groupToSearch(Group group, java.lang.String target)
translates the given group to a search query
-
-
-
Method Detail
-
groupToSearch
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> groupToSearch(Group group, java.lang.String target) throws GroupSearchCompilerException
Description copied from interface:GroupSearchCompiler
translates the given group to a search query- Specified by:
groupToSearch
in interfaceGroupSearchCompiler
- Parameters:
group
- the dynamic grouptarget
- the resource type for the search query- Returns:
- Throws:
GroupSearchCompilerException
-- not enabled as a Group
- not a descriptive Group
-
-