public interface ExtractionResult extends IssueReport
IssueReport.Issue, IssueReport.IssueLevel| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the result.
|
ExtractionResult |
openSubResult(ExtractionContext extractionContext)
Open a result nested in the current one.
|
void |
writeNamespace(String prefix,
String IRI)
Write a namespace.
|
void |
writeTriple(org.eclipse.rdf4j.model.Resource s,
org.eclipse.rdf4j.model.IRI p,
org.eclipse.rdf4j.model.Value o)
Write a triple.
|
void |
writeTriple(org.eclipse.rdf4j.model.Resource s,
org.eclipse.rdf4j.model.IRI p,
org.eclipse.rdf4j.model.Value o,
org.eclipse.rdf4j.model.IRI g)
Writes a triple.
|
getIssues, notifyIssue, printReportvoid writeTriple(org.eclipse.rdf4j.model.Resource s,
org.eclipse.rdf4j.model.IRI p,
org.eclipse.rdf4j.model.Value o,
org.eclipse.rdf4j.model.IRI g)
s - subjectp - predicateo - objectg - graphvoid writeTriple(org.eclipse.rdf4j.model.Resource s,
org.eclipse.rdf4j.model.IRI p,
org.eclipse.rdf4j.model.Value o)
s - subjectp - predicateo - objectvoid writeNamespace(String prefix, String IRI)
prefix - the prefix of the namespaceIRI - the long IRI identifying the namespacevoid close()
Close the result.
Extractors should close their results as soon as possible, but don't have to, the environment will close any remaining ones. Implementations should be robust against multiple close() invocations.ExtractionResult openSubResult(ExtractionContext extractionContext)
extractionContext - the context to be used to open the sub result.Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.