com.bigdata.rdf.inf
Class BackchainOwlSameAsIterator

java.lang.Object
  extended by com.bigdata.rdf.inf.BackchainOwlSameAsIterator
All Implemented Interfaces:
IChunkedIterator<ISPO>, IChunkedOrderedIterator<ISPO>, ICloseableIterator<ISPO>, Iterator<ISPO>
Direct Known Subclasses:
BackchainOwlSameAsPropertiesPIterator, BackchainOwlSameAsPropertiesPOIterator, BackchainOwlSameAsPropertiesSPIterator, BackchainOwlSameAsPropertiesSPOIterator

public abstract class BackchainOwlSameAsIterator
extends Object
implements IChunkedOrderedIterator<ISPO>


Field Summary
protected  boolean copyOnly
          This flag is true since we do NOT want statement identifiers to be generated for inferences produced by the backchainer.
protected  AbstractTripleStore db
          The database.
protected static org.apache.log4j.Logger log
           
protected static long NULL
           
protected  long sameAs
           
protected  IChunkedOrderedIterator<ISPO> src
           
 
Fields inherited from interface com.bigdata.striterator.IChunkedIterator
DEFAULT_CHUNK_SIZE
 
Constructor Summary
BackchainOwlSameAsIterator(IChunkedOrderedIterator<ISPO> src, AbstractTripleStore db, long sameAs)
           
 
Method Summary
protected  TempTripleStore createTempTripleStore()
           
protected  void dumpSPO(ISPO spo)
           
protected  Set<Long> getSames(long id)
           
protected  void getSames(long id, Set<Long> sames)
           
protected  Set<Long> getSelfAndSames(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bigdata.striterator.IChunkedOrderedIterator
getKeyOrder, nextChunk
 
Methods inherited from interface com.bigdata.striterator.IChunkedIterator
next, nextChunk, remove
 
Methods inherited from interface com.bigdata.striterator.ICloseableIterator
close
 
Methods inherited from interface java.util.Iterator
hasNext
 

Field Detail

log

protected static final org.apache.log4j.Logger log

NULL

protected static final transient long NULL
See Also:
Constant Field Values

db

protected AbstractTripleStore db
The database.


copyOnly

protected final boolean copyOnly
This flag is true since we do NOT want statement identifiers to be generated for inferences produced by the backchainer.

See Also:
Constant Field Values

sameAs

protected long sameAs

src

protected IChunkedOrderedIterator<ISPO> src
Constructor Detail

BackchainOwlSameAsIterator

public BackchainOwlSameAsIterator(IChunkedOrderedIterator<ISPO> src,
                                  AbstractTripleStore db,
                                  long sameAs)
Method Detail

getSelfAndSames

protected Set<Long> getSelfAndSames(long id)

getSames

protected Set<Long> getSames(long id)

getSames

protected void getSames(long id,
                        Set<Long> sames)

createTempTripleStore

protected TempTripleStore createTempTripleStore()

dumpSPO

protected void dumpSPO(ISPO spo)


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