com.bigdata.rdf.inf
Class SPORetractionBuffer
java.lang.Object
com.bigdata.rdf.inf.AbstractSPOBuffer
com.bigdata.rdf.inf.SPORetractionBuffer
- All Implemented Interfaces:
- ISPOBuffer
Deprecated. by AbstractElementBuffer.DeleteBuffer and AbstractSolutionBuffer.DeleteSolutionBuffer and the
changes to how truth maintenance is handled (rule rewrites).
public class SPORetractionBuffer
- extends AbstractSPOBuffer
A buffer for SPOs which causes the corresponding statements (and
their Justifications) be retracted from the database when it is
flush()ed.
- Version:
- $Id: SPORetractionBuffer.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Method Summary |
int |
flush()
Deprecated. Flush any buffered statements to the backing store. |
SPORetractionBuffer
public SPORetractionBuffer(AbstractTripleStore store,
int capacity,
boolean computeClosureForStatementIdentifiers)
- Deprecated.
- Parameters:
store - The database from which the statement will be removed when the
buffer is flush()ed.capacity - The capacity of the retraction buffer.computeClosureForStatementIdentifiers - See
AbstractTripleStore#removeStatements(com.bigdata.rdf.spo.ISPOIterator, boolean)
flush
public int flush()
- Deprecated.
- Description copied from interface:
ISPOBuffer
- Flush any buffered statements to the backing store.
- Specified by:
flush in interface ISPOBuffer- Specified by:
flush in class AbstractSPOBuffer
- Returns:
- The cumulative #of statements that were written on the indices
since the last time the counter was reset. A statement that was
previously an axiom or inferred and that is converted to an
explicit statement by this method will be reported in this count
as well as any statement that was not pre-existing in the
database. Statement removal also counts as a "write".
- See Also:
#flush(boolean)
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.