All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aid.cbr.tools.core.memory.index.AbstractIndex

java.lang.Object
   |
   +----aid.cbr.tools.core.memory.index.AbstractIndex

public abstract class AbstractIndex
extends Object
implements Index, Serializable

Variable Index

 o _CaseIds
 o _filter
 o _indexedCaseIds

Constructor Index

 o AbstractIndex()

Method Index

 o clear()
 o getComments()
 o getFilter()
 o getIndexId()
 o getIndices(Object, GlobalIndexParams)
 o getName()
 o indexCase(Object, CompoundIndice, GlobalIndexParams, IndexParams)
 o indexedCases()
 o indexFilteredCase(Object, CompoundIndice, GlobalIndexParams, IndexParams)
 o rebuild(GlobalIndexParams)
 o removeCase(Object)
 o saveResultAs(String)
 o searchCases(CompoundIndice, GlobalIndexParams, IndexParams)
 o searchFilteredCases(CompoundIndice, GlobalIndexParams, IndexParams)
 o setComments(String)
 o setFilter(IndiceFilter)
 o setIndexId(Object)
 o setName(String)
 o toString()

Variables

 o _filter
 protected IndiceFilter _filter
 o _CaseIds
 protected List _CaseIds
 o _indexedCaseIds
 protected Set _indexedCaseIds

Constructors

 o AbstractIndex
 public AbstractIndex()

Methods

 o setIndexId
 public void setIndexId(Object id)
 o getIndexId
 public Object getIndexId()
 o toString
 public String toString()
Overrides:
toString in class Object
 o getName
 public String getName()
 o setName
 public void setName(String name)
 o getComments
 public String getComments()
 o setComments
 public void setComments(String comments)
 o indexCase
 public IndexResult indexCase(Object caseId,
                              CompoundIndice indices,
                              GlobalIndexParams gp,
                              IndexParams p)
 o indexFilteredCase
 protected abstract IndexResult indexFilteredCase(Object caseId,
                                                  CompoundIndice indices,
                                                  GlobalIndexParams gp,
                                                  IndexParams p)
 o searchCases
 public IndexResult searchCases(CompoundIndice indices,
                                GlobalIndexParams gp,
                                IndexParams p)
 o searchFilteredCases
 protected abstract IndexResult searchFilteredCases(CompoundIndice indices,
                                                    GlobalIndexParams gp,
                                                    IndexParams p)
 o clear
 public void clear()
 o rebuild
 public void rebuild(GlobalIndexParams gp)
 o indexedCases
 public Set indexedCases()
 o removeCase
 public void removeCase(Object caseId)
 o getFilter
 public IndiceFilter getFilter()
 o setFilter
 public void setFilter(IndiceFilter f)
 o getIndices
 protected CompoundIndice getIndices(Object caseId,
                                     GlobalIndexParams gp)
 o saveResultAs
 public void saveResultAs(String name)

All Packages  Class Hierarchy  This Package  Previous  Next  Index