| java.lang.Object org.ontoware.rdf2go.model.impl.AbstractModelSetImpl
All known Subclasses: org.ontoware.rdf2go.model.impl.DelegatingModelSet,
AbstractModelSetImpl | abstract public class AbstractModelSetImpl implements ModelSet(Code) | | |
Method Summary | |
public void | addAll(Iterator<? extends Statement> statement) | public boolean | addModel(Model model) | public void | addStatement(URI context, Resource subject, URI predicate, Node object) | public boolean | contains(Statement s) | public boolean | containsStatements(UriOrVariable contextURI, ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public long | countStatements(QuadPattern pattern) | public BlankNode | createBlankNode() | public BlankNode | createBlankNode(String internalID) | public DatatypeLiteral | createDatatypeLiteral(String literal, URI datatypeURI) | public LanguageTagLiteral | createLanguageTagLiteral(String literal, String langugeTag) | public PlainLiteral | createPlainLiteral(String literal) | public BlankNode | createReficationOf(Statement statement) | public Resource | createReficationOf(Statement statement, Resource resource) | public Statement | createStatement(URI context, Resource subject, URI predicate, Node object) | public Statement | createStatement(Resource subject, URI predicate, Node object) | public URI | createURI(String uriString) | public void | deleteReification(Resource reificationResource) | public void | dump() | public ClosableIterator<Statement> | findStatements(QuadPattern pattern) Inefficient: Looks into each model and asks to match the triplepattern
part of the quad pattern. | public ClosableIterator<Statement> | findStatements(UriOrVariable contextURI, ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public Collection<Resource> | getAllReificationsOf(Statement statement) | public boolean | hasReifications(Statement statement) | public boolean | isEmpty() | public boolean | isLocked() | public boolean | isValidURI(String uriString) | public ClosableIterator<Statement> | iterator() | public void | lock() | public URI | newRandomUniqueURI() | public void | readFrom(Reader in, Syntax syntax) | public void | readFrom(InputStream in, Syntax syntax) | public void | removeAll() | public void | removeAll(Iterator<? extends Statement> statement) | public void | removeStatement(URI context, Resource subject, URI predicate, Node object) | public void | removeStatements(QuadPattern quadPattern) | public void | removeStatements(UriOrVariable context, ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public String | serialize(Syntax syntax) | public boolean | sparqlAsk(String query) | public void | unlock() | public void | update(DiffReader diff) | public void | writeTo(Writer writer, Syntax syntax) | public void | writeTo(OutputStream out, Syntax syntax) |
deleteReification | public void deleteReification(Resource reificationResource)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | sublcasses should override this method for performance
|
isLocked | public boolean isLocked()(Code) | | |
newRandomUniqueURI | public URI newRandomUniqueURI()(Code) | | |
unlock | public void unlock()(Code) | | |
|
|