Class FlagUpdateHandler
java.lang.Object
it.uniroma2.art.semanticturkey.changetracking.sail.BaseUpdateHandler
it.uniroma2.art.semanticturkey.changetracking.sail.FlagUpdateHandler
- All Implemented Interfaces:
UpdateHandler
An
UpdateHandler
managing a flag, telling whether a connection is read-only or not.- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatement
(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) void
addStatement
(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) void
clear
(org.eclipse.rdf4j.model.Resource[] contexts) void
clearHandler
(org.eclipse.rdf4j.model.IRI... contexts) void
boolean
Checks whether no update has been recorded.void
removeNamespace
(String prefix) void
removeStatement
(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) void
removeStatements
(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) void
setNamespace
(String prefix, String name) Methods inherited from class it.uniroma2.art.semanticturkey.changetracking.sail.BaseUpdateHandler
isCorrupted, recordCorruption
-
Constructor Details
-
FlagUpdateHandler
public FlagUpdateHandler()
-
-
Method Details
-
addStatement
public void addStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) -
addStatement
public void addStatement(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) -
removeStatements
public void removeStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) -
removeStatement
public void removeStatement(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts) -
clear
public void clear(org.eclipse.rdf4j.model.Resource[] contexts) -
setNamespace
-
clearNamespaces
public void clearNamespaces() -
removeNamespace
-
isReadOnly
public boolean isReadOnly()Description copied from interface:UpdateHandler
Checks whether no update has been recorded.- Returns:
-
clearHandler
public void clearHandler(org.eclipse.rdf4j.model.IRI... contexts)
-