com.bigdata.rdf.spo
Class SPOIndexRemover

java.lang.Object
  extended by com.bigdata.rdf.spo.SPOIndexRemover
All Implemented Interfaces:
Callable<Long>

public class SPOIndexRemover
extends Object
implements Callable<Long>

Class writes on a statement index, removing the specified statements (batch API, no truth maintenance). If the database uses Justifications for truth maintenance then the caller is responsible for also removing the Justifications for the statements being deleted using a JustificationRemover.

Version:
$Id: SPOIndexRemover.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected static boolean DEBUG
          True iff the log level is DEBUG or less.
protected static boolean INFO
          True iff the log level is INFO or less.
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
SPOIndexRemover(SPORelation spoRelation, ISPO[] stmts, int numStmts, SPOKeyOrder keyOrder, boolean clone, AtomicLong sortTime, AtomicLong writeTime)
           
 
Method Summary
 Long call()
          Remove the statements specified by the called from the statement indices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log

INFO

protected static final boolean INFO
True iff the log level is INFO or less.


DEBUG

protected static final boolean DEBUG
True iff the log level is DEBUG or less.

Constructor Detail

SPOIndexRemover

public SPOIndexRemover(SPORelation spoRelation,
                       ISPO[] stmts,
                       int numStmts,
                       SPOKeyOrder keyOrder,
                       boolean clone,
                       AtomicLong sortTime,
                       AtomicLong writeTime)
Method Detail

call

public Long call()
          throws Exception
Remove the statements specified by the called from the statement indices.

Specified by:
call in interface Callable<Long>
Returns:
The elapsed time.
Throws:
Exception


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.