
Class MatchRuleUtil
java.lang.Object
ca.uhn.fhir.mdm.rules.matcher.util.MatchRuleUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic long
We use the binary shift operator (invalid input: '<'invalid input: '<') to determine the "vector" used by By taking the log base 2 of a number N, we will know how many digits are needed to store N as binary. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canHandleRuleCount
(List<MdmFieldMatchJson> theRules)
-
Field Details
-
MAX_RULE_COUNT
We use the binary shift operator (invalid input: '<'invalid input: '<') to determine the "vector" used by By taking the log base 2 of a number N, we will know how many digits are needed to store N as binary. 1 more digit than that hits our overflow for a long value. ie, we cannot calculate vector values accurately after this, because we're hitting overflows and the invalid input: '<'invalid input: '<' operator might lead to collisions or negative numbers that mean nothing. Note: by log rule -> log10(N) / log10(X) -> LogX(N)
-
-
Constructor Details
-
MatchRuleUtil
public MatchRuleUtil()
-
-
Method Details
-
canHandleRuleCount
-