| org.ontoware.rdf2go.model.impl.DelegatingModel org.ontoware.rdf2go.impl.autopersist.ModelImplAutoPersist
Constructor Summary | |
public | ModelImplAutoPersist(Model model, File modelfile, int openChanges) Parameters: model - a Model Parameters: openChanges - number of allowed uncommited writes. |
Method Summary | |
public void | addAll(Iterator<? extends Statement> other) | public void | addStatement(Resource subject, URI predicate, Node object) | public void | addStatement(String subjectURIString, URI predicate, String literal) | public void | addStatement(Resource subject, URI predicate, String literal, String languageTag) | public void | addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) | public void | addStatement(Resource subject, URI predicate, String literal) | public void | addStatement(Statement statement) | public void | addStatement(String subjectURIString, URI predicate, String literal, String languageTag) | public void | addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) | public BlankNode | createBlankNode() | public ClosableIterator<? extends Statement> | findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public Object | getUnderlyingModelImplementation() | public void | load() | public Model | newInstance() | public URI | newRandomUniqueURI() | public int | openchanges() | public void | removeAll() | public void | removeAll(Iterator<? extends Statement> other) | public void | removeStatement(Resource subject, URI predicate, Node object) | public void | removeStatement(Statement statement) | public void | removeStatement(Resource subject, URI predicate, String literal, String languageTag) | public void | removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) | public void | removeStatement(Resource subject, URI predicate, String literal) | public void | removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) | public void | removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) | public void | removeStatement(String subjectURIString, URI predicate, String literal) | public void | removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public void | save() | public void | save(File persistentFile, Syntax syntax) | public void | setProperty(URI propertyURI, Object value) | public void | setUnderlyingModelImplementation(Object o) | public ClosableIterable<? extends Statement> | sparqlConstruct(String query) | public QueryResultTable | sparqlSelect(String query) | public void | update(Diff diff) |
DEFAULT_SERIALISATION_LANGUAGE | final public static Syntax DEFAULT_SERIALISATION_LANGUAGE(Code) | | |
ModelImplAutoPersist | public ModelImplAutoPersist(Model model, File modelfile, int openChanges) throws ModelRuntimeException, IOException(Code) | | Parameters: model - a Model Parameters: openChanges - number of allowed uncommited writes. Setting this to 0 turnsthe model to a write-through model. throws: IOException - throws: ModelImplException - |
getUnderlyingModelImplementation | public Object getUnderlyingModelImplementation()(Code) | | |
newRandomUniqueURI | public URI newRandomUniqueURI()(Code) | | |
openchanges | public int openchanges()(Code) | | |
setUnderlyingModelImplementation | public void setUnderlyingModelImplementation(Object o)(Code) | | |
Methods inherited from org.ontoware.rdf2go.model.impl.DelegatingModel | public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void close()(Code)(Java Doc) public void commit()(Code)(Java Doc) public boolean contains(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc) public BlankNode createBlankNode()(Code)(Java Doc) public BlankNode createBlankNode(String internalID)(Code)(Java Doc) public URI createURI(String uriString) throws ModelRuntimeException(Code)(Java Doc) public void dump()(Code)(Java Doc) public ClosableIterator<Statement> findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc) public ClosableIterator<Statement> findStatements(TriplePattern pattern) throws ModelRuntimeException(Code)(Java Doc) public URI getContextURI()(Code)(Java Doc) public Model getDelegatedModel()(Code)(Java Doc) public Diff getDiff(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public Object getProperty(URI propertyURI)(Code)(Java Doc) public Object getUnderlyingModelImplementation()(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public boolean isIsomorphicWith(Model other)(Code)(Java Doc) public boolean isLocked()(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public boolean isValidURI(String uriString)(Code)(Java Doc) public ClosableIterator<Statement> iterator()(Code)(Java Doc) public void lock() throws LockException(Code)(Java Doc) public URI newRandomUniqueURI()(Code)(Java Doc) public void open()(Code)(Java Doc) public ClosableIterable<Statement> queryConstruct(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc) public QueryResultTable querySelect(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc) public void readFrom(InputStream in) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(InputStream reader, Syntax syntax) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(Reader r) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(Reader reader, Syntax syntax) throws ModelRuntimeException, IOException(Code)(Java Doc) public void readFrom(Reader in, Syntax syntax, URL baseURI) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(InputStream reader, Syntax syntax, URL baseURI) throws IOException, ModelRuntimeException(Code)(Java Doc) public void removeAll() throws ModelRuntimeException(Code)(Java Doc) public void removeAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc) public void setAutocommit(boolean autocommit)(Code)(Java Doc) protected void setDelegatedModel(Model model)(Code)(Java Doc) public void setProperty(URI propertyURI, Object value)(Code)(Java Doc) public long size() throws ModelRuntimeException(Code)(Java Doc) public boolean sparqlAsk(String query) throws ModelRuntimeException(Code)(Java Doc) public ClosableIterable<Statement> sparqlConstruct(String query) throws ModelRuntimeException(Code)(Java Doc) public ClosableIterable<Statement> sparqlDescribe(String query) throws ModelRuntimeException(Code)(Java Doc) public QueryResultTable sparqlSelect(String queryString) throws ModelRuntimeException(Code)(Java Doc) public void unlock()(Code)(Java Doc) public void update(DiffReader diff) throws ModelRuntimeException(Code)(Java Doc) public void writeTo(OutputStream out) throws IOException, ModelRuntimeException(Code)(Java Doc) public void writeTo(OutputStream out, Syntax syntax) throws IOException, ModelRuntimeException(Code)(Java Doc) public void writeTo(Writer w) throws IOException, ModelRuntimeException(Code)(Java Doc) public void writeTo(Writer writer, Syntax syntax) throws ModelRuntimeException, IOException(Code)(Java Doc)
|
|
|