public final class CustomGraphQueryInferencerConfig extends org.eclipse.rdf4j.sail.config.AbstractDelegatingSailImplConfig
CustomGraphQueryInferencer.| Modifier and Type | Field and Description |
|---|---|
static Pattern |
SERQL_PATTERN |
static Pattern |
SPARQL_PATTERN |
| Constructor and Description |
|---|
CustomGraphQueryInferencerConfig() |
CustomGraphQueryInferencerConfig(org.eclipse.rdf4j.sail.config.SailImplConfig delegate) |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildMatcherQueryFromRuleQuery(QueryLanguage language,
String ruleQuery) |
org.eclipse.rdf4j.model.Resource |
export(org.eclipse.rdf4j.model.Model m) |
String |
getMatcherQuery() |
QueryLanguage |
getQueryLanguage() |
String |
getRuleQuery() |
void |
parse(org.eclipse.rdf4j.model.Model m,
org.eclipse.rdf4j.model.Resource implNode) |
void |
setMatcherQuery(String matcherQuery)
Set the optional matcher query.
|
void |
setQueryLanguage(QueryLanguage language) |
void |
setRuleQuery(String ruleQuery) |
void |
validate() |
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(org.eclipse.rdf4j.sail.config.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(org.eclipse.rdf4j.model.Model m, org.eclipse.rdf4j.model.Resource implNode) throws org.eclipse.rdf4j.sail.config.SailConfigException
parse in interface org.eclipse.rdf4j.sail.config.SailImplConfigparse in class org.eclipse.rdf4j.sail.config.AbstractDelegatingSailImplConfigorg.eclipse.rdf4j.sail.config.SailConfigExceptionpublic void validate()
throws org.eclipse.rdf4j.sail.config.SailConfigException
validate in interface org.eclipse.rdf4j.sail.config.SailImplConfigvalidate in class org.eclipse.rdf4j.sail.config.AbstractDelegatingSailImplConfigorg.eclipse.rdf4j.sail.config.SailConfigExceptionpublic org.eclipse.rdf4j.model.Resource export(org.eclipse.rdf4j.model.Model m)
export in interface org.eclipse.rdf4j.sail.config.SailImplConfigexport in class org.eclipse.rdf4j.sail.config.AbstractDelegatingSailImplConfigpublic static String buildMatcherQueryFromRuleQuery(QueryLanguage language, String ruleQuery) throws MalformedQueryException
MalformedQueryExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.