
Package ca.uhn.fhir.mdm.rules.json
Class VectorMatchResultMap
java.lang.Object
ca.uhn.fhir.mdm.rules.json.VectorMatchResultMap
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldMatchNames
(long theVector) getMatchedRules
(Long theVector) long
Calculates the vector for the match rule.
-
Method Details
-
get
-
getMatchedRules
-
getVector
Calculates the vector for the match rule. This calculation uses the index of the match field and the binary shift operator (invalid input: '<'invalid input: '<') to calculate the field. SeeMatchRuleUtil.MAX_RULE_COUNT
- Parameters:
theFieldMatchNames
- the match rule (eg, "match_field1,match_field2")- Returns:
- the vector expressed as a long
-
getFieldMatchNames
-
getAllFieldMatchNames
-