| java.lang.Object org.openrdf.sail.helpers.SailConnectionBase org.openrdf.sail.memory.MemoryStoreConnection
Inner Class :protected class MemTripleSource implements TripleSource | |
Method Summary | |
public boolean | addInferredStatement(Resource subj, URI pred, Value obj, Resource... contexts) | protected void | addStatementInternal(Resource subj, URI pred, Value obj, Resource... contexts) | protected boolean | addStatementInternal(Resource subj, URI pred, Value obj, boolean explicit, Resource... contexts) Adds the specified statement to this MemoryStore. | public void | clearInferred(Resource... contexts) | protected void | clearInternal(Resource... contexts) | protected void | clearNamespacesInternal() | protected void | closeInternal() | protected void | commitInternal() | protected CloseableIteration<? extends BindingSet, QueryEvaluationException> | evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) | public void | flushUpdates() | protected CloseableIteration<? extends Resource, SailException> | getContextIDsInternal() | protected String | getNamespaceInternal(String prefix) | protected CloseableIteration<? extends Namespace, SailException> | getNamespacesInternal() | protected CloseableIteration<? extends Statement, SailException> | getStatementsInternal(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) | public boolean | removeInferredStatement(Resource subj, URI pred, Value obj, Resource... contexts) | protected boolean | removeIteratorStatements(CloseableIteration<MemStatement, SailException> stIter, boolean explicit) | protected void | removeNamespaceInternal(String prefix) | protected void | removeStatementsInternal(Resource subj, URI pred, Value obj, Resource... contexts) | protected boolean | removeStatementsInternal(Resource subj, URI pred, Value obj, boolean explicit, Resource... contexts) Removes the statements that match the specified pattern of subject,
predicate, object and context. | protected void | rollbackInternal() | protected void | setNamespaceInternal(String prefix, String name) | protected long | sizeInternal(Resource... contexts) | protected void | startTransactionInternal() |
flushUpdates | public void flushUpdates()(Code) | | |
removeStatementsInternal | protected boolean removeStatementsInternal(Resource subj, URI pred, Value obj, boolean explicit, Resource... contexts) throws SailException(Code) | | Removes the statements that match the specified pattern of subject,
predicate, object and context.
Parameters: subj - The subject for the pattern, or null for a wildcard. Parameters: pred - The predicate for the pattern, or null for a wildcard. Parameters: obj - The object for the pattern, or null for a wildcard. Parameters: explicit - Flag indicating whether explicit or inferred statements should beremoved; true removes explicit statements that match thepattern, false removes inferred statements that matchthe pattern. throws: SailException - |
Fields inherited from org.openrdf.sail.helpers.SailConnectionBase | final protected Logger logger(Code)(Java Doc)
|
Methods inherited from org.openrdf.sail.helpers.SailConnectionBase | public void addConnectionListener(SailConnectionListener listener)(Code)(Java Doc) final public void addStatement(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException(Code)(Java Doc) abstract protected void addStatementInternal(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException(Code)(Java Doc) protected void autoStartTransaction() throws SailException(Code)(Java Doc) final public void clear(Resource... contexts) throws SailException(Code)(Java Doc) abstract protected void clearInternal(Resource... contexts) throws SailException(Code)(Java Doc) final public void clearNamespaces() throws SailException(Code)(Java Doc) abstract protected void clearNamespacesInternal() throws SailException(Code)(Java Doc) final public void close() throws SailException(Code)(Java Doc) abstract protected void closeInternal() throws SailException(Code)(Java Doc) final public void commit() throws SailException(Code)(Java Doc) abstract protected void commitInternal() throws SailException(Code)(Java Doc) final public CloseableIteration<? extends BindingSet, QueryEvaluationException> evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) throws SailException(Code)(Java Doc) abstract protected CloseableIteration<? extends BindingSet, QueryEvaluationException> evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) throws SailException(Code)(Java Doc) final public CloseableIteration<? extends Resource, SailException> getContextIDs() throws SailException(Code)(Java Doc) abstract protected CloseableIteration<? extends Resource, SailException> getContextIDsInternal() throws SailException(Code)(Java Doc) protected Lock getExclusiveConnectionLock() throws SailException(Code)(Java Doc) final public String getNamespace(String prefix) throws SailException(Code)(Java Doc) abstract protected String getNamespaceInternal(String prefix) throws SailException(Code)(Java Doc) final public CloseableIteration<? extends Namespace, SailException> getNamespaces() throws SailException(Code)(Java Doc) abstract protected CloseableIteration<? extends Namespace, SailException> getNamespacesInternal() throws SailException(Code)(Java Doc) protected Lock getSharedConnectionLock() throws SailException(Code)(Java Doc) final public CloseableIteration<? extends Statement, SailException> getStatements(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws SailException(Code)(Java Doc) abstract protected CloseableIteration<? extends Statement, SailException> getStatementsInternal(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws SailException(Code)(Java Doc) protected Lock getTransactionLock() throws SailException(Code)(Java Doc) protected boolean hasConnectionListeners()(Code)(Java Doc) final public boolean isOpen() throws SailException(Code)(Java Doc) protected void iterationClosed(SailBaseIteration iter)(Code)(Java Doc) protected void notifyStatementAdded(Statement st)(Code)(Java Doc) protected void notifyStatementRemoved(Statement st)(Code)(Java Doc) protected CloseableIteration<T, E> registerIteration(CloseableIteration<T, E> iter)(Code)(Java Doc) public void removeConnectionListener(SailConnectionListener listener)(Code)(Java Doc) final public void removeNamespace(String prefix) throws SailException(Code)(Java Doc) abstract protected void removeNamespaceInternal(String prefix) throws SailException(Code)(Java Doc) final public void removeStatements(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException(Code)(Java Doc) abstract protected void removeStatementsInternal(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException(Code)(Java Doc) final public void rollback() throws SailException(Code)(Java Doc) abstract protected void rollbackInternal() throws SailException(Code)(Java Doc) final public void setNamespace(String prefix, String name) throws SailException(Code)(Java Doc) abstract protected void setNamespaceInternal(String prefix, String name) throws SailException(Code)(Java Doc) final public long size(Resource... contexts) throws SailException(Code)(Java Doc) abstract protected long sizeInternal(Resource... contexts) throws SailException(Code)(Java Doc) abstract protected void startTransactionInternal() throws SailException(Code)(Java Doc) final protected boolean transactionActive()(Code)(Java Doc) protected void verifyIsOpen() throws SailException(Code)(Java Doc)
|
|
|