public class MatchRule extends Object implements Serializable, MatchRuleInterface
| Constructor and Description |
|---|
MatchRule(ISchemaMeta schDoc,
IRule rule) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRun(Document base,
Document comparitor) |
boolean |
canRun(RecordInterface base,
RecordInterface comparitor) |
static List<Standardized> |
deserialise(List<Document> bsonlist) |
MatchRecord |
score(Document base,
Document comparitor,
boolean forSearch,
boolean asContent,
boolean matchScoring) |
public MatchRule(ISchemaMeta schDoc, IRule rule)
public boolean canRun(RecordInterface base, RecordInterface comparitor)
canRun in interface MatchRuleInterfacepublic boolean canRun(Document base, Document comparitor)
canRun in interface MatchRuleInterfacepublic MatchRecord score(Document base, Document comparitor, boolean forSearch, boolean asContent, boolean matchScoring)
score in interface MatchRuleInterfacepublic static List<Standardized> deserialise(List<Document> bsonlist)
Copyright © 2021. All rights reserved.