public final class CustomGraphQueryInferencerConfig extends AbstractDelegatingSailImplConfig
CustomGraphQueryInferencer.| Modifier and Type | Field and Description |
|---|---|
static Pattern |
SERQL_PATTERN |
static Pattern |
SPARQL_PATTERN |
| Constructor and Description |
|---|
CustomGraphQueryInferencerConfig() |
CustomGraphQueryInferencerConfig(SailImplConfig delegate) |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildMatcherQueryFromRuleQuery(QueryLanguage language,
String ruleQuery) |
Resource |
export(Model m) |
String |
getMatcherQuery() |
QueryLanguage |
getQueryLanguage() |
String |
getRuleQuery() |
void |
parse(Model m,
Resource implNode) |
void |
setMatcherQuery(String matcherQuery)
Set the optional matcher query.
|
void |
setQueryLanguage(QueryLanguage language) |
void |
setRuleQuery(String ruleQuery) |
void |
validate()
Validates this configuration.
|
getDelegate, setDelegategetConnectionTimeOut, getIterationCacheSyncThreshold, getType, setConnectionTimeOut, setIterationCacheSyncThreshold, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIterationCacheSyncThreshold, getTypepublic static final Pattern SPARQL_PATTERN
public static final Pattern SERQL_PATTERN
public CustomGraphQueryInferencerConfig()
public CustomGraphQueryInferencerConfig(SailImplConfig delegate)
public void setQueryLanguage(QueryLanguage language)
public QueryLanguage getQueryLanguage()
public void setRuleQuery(String ruleQuery)
public String getRuleQuery()
public void setMatcherQuery(String matcherQuery)
matcherQuery - if null, internal value will be set to the empty stringpublic String getMatcherQuery()
public void parse(Model m, Resource implNode) throws SailConfigException
parse in interface SailImplConfigparse in class AbstractDelegatingSailImplConfigSailConfigExceptionpublic void validate()
throws SailConfigException
SailImplConfigSailConfigException is thrown when the configuration is invalid. The
exception should contain an error message that indicates why the configuration is invalid.validate in interface SailImplConfigvalidate in class AbstractDelegatingSailImplConfigSailConfigException - If the configuration is invalid.public Resource export(Model m)
export in interface SailImplConfigexport in class AbstractDelegatingSailImplConfigpublic static String buildMatcherQueryFromRuleQuery(QueryLanguage language, String ruleQuery) throws MalformedQueryException
MalformedQueryExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.