org.activemath.omdocjdom.slumb.data
Class SlumbRelation.RelList

java.lang.Object
  extended by org.activemath.omdocjdom.slumb.data.SlumbRelation.RelList
Enclosing class:
SlumbRelation

public static class SlumbRelation.RelList
extends Object


Constructor Summary
SlumbRelation.RelList(org.apache.lucene.search.Hits hits)
           
 
Method Summary
 MBaseID[] getFileteredArrayIds(String[] wishedTypes, boolean targets)
           
 MBaseID[] getFilteredArraySourceIds(String[] types)
           
 MBaseID[] getFilteredArrayTargetIds(String[] types)
           
 int getLength()
           
 SlumbRelation getRelationAt(int i)
           
static org.apache.lucene.search.Query queryRelationsWithSource(String sourceId)
           
static org.apache.lucene.search.Query queryRelationsWithTarget(String targetId)
           
static org.apache.lucene.index.Term termRelationsWithColAndRelPath(String crp)
           
static org.apache.lucene.index.Term termRelationsWithSource(String sourceId)
           
static org.apache.lucene.index.Term termRelationsWithTarget(String targetId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlumbRelation.RelList

public SlumbRelation.RelList(org.apache.lucene.search.Hits hits)
Method Detail

getRelationAt

public SlumbRelation getRelationAt(int i)
                            throws IOException
Throws:
IOException

getLength

public int getLength()

queryRelationsWithSource

public static org.apache.lucene.search.Query queryRelationsWithSource(String sourceId)

termRelationsWithSource

public static org.apache.lucene.index.Term termRelationsWithSource(String sourceId)

queryRelationsWithTarget

public static org.apache.lucene.search.Query queryRelationsWithTarget(String targetId)

termRelationsWithTarget

public static org.apache.lucene.index.Term termRelationsWithTarget(String targetId)

termRelationsWithColAndRelPath

public static org.apache.lucene.index.Term termRelationsWithColAndRelPath(String crp)

getFilteredArrayTargetIds

public MBaseID[] getFilteredArrayTargetIds(String[] types)
                                    throws IOException
Throws:
IOException

getFilteredArraySourceIds

public MBaseID[] getFilteredArraySourceIds(String[] types)
                                    throws IOException
Throws:
IOException

getFileteredArrayIds

public MBaseID[] getFileteredArrayIds(String[] wishedTypes,
                                      boolean targets)
                               throws IOException
Throws:
IOException