public class AGMaterializer extends Object
Modifier and Type | Method and Description |
---|---|
Integer |
getCommitPeriod()
Gets the commit period for materialized triples.
|
Resource |
getInferredGraph()
Gets the graph the inferred triples will be placed in.
|
Boolean |
getUseTypeSubproperty()
Gets the useTypeSubproperty flag.
|
List<String> |
getWithoutRulesets()
Gets the excluded rulesets.
|
List<String> |
getWithRulesets()
Gets the included rulesets.
|
static AGMaterializer |
newInstance()
Gets a default materializer that can be further configured.
|
void |
setCommitPeriod(Integer periodInTriples)
Sets the commit period for materialized triples.
|
void |
setInferredGraph(Resource inferredGraph)
Sets the the graph the inferred triples will be placed in.
|
void |
setUseTypeSubproperty(Boolean use)
Sets the useTypeSubproperty flag.
|
void |
withoutRuleset(String ruleset)
Excludes a ruleset from materialization.
|
void |
withRuleset(String ruleset)
Adds a ruleset to be used during materialization.
|
public static AGMaterializer newInstance()
See also the HTTP protocol documentation for materializing entailed triples.
public void withRuleset(String ruleset)
See also the HTTP protocol documentation for materializing entailed triples.
ruleset
- the name of the ruleset to include.public List<String> getWithRulesets()
public void withoutRuleset(String ruleset)
See also the HTTP protocol documentation for materializing entailed triples.
ruleset
- the name of the ruleset to exclude.public List<String> getWithoutRulesets()
public Integer getCommitPeriod()
See also the HTTP protocol documentation for materializing entailed triples.
public void setCommitPeriod(Integer periodInTriples)
Useful for limiting the back-end's memory usage during a large materialization. When periodInTriples is null (the default), the server's default setting is used.
See also the HTTP protocol documentation for materializing entailed triples.
periodInTriples
- commit every time this many triples are addedpublic Boolean getUseTypeSubproperty()
See also the HTTP protocol documentation for materializing entailed triples.
public void setUseTypeSubproperty(Boolean use)
When use is null (the default), the server's default setting is used.
See also the HTTP protocol documentation for materializing entailed triples.
use
- true when using this inferencepublic Resource getInferredGraph()
If the value is null (the default), triples will be placed in the default graph.
public void setInferredGraph(Resource inferredGraph)
inferredGraph
- Graph URI or null (meaning 'the default graph')Copyright © 2020 Franz Inc.. All rights reserved.