Class SemanticIndexCache
- java.lang.Object
-
- it.unibz.inf.ontop.si.repository.impl.SemanticIndexCache
-
public class SemanticIndexCache extends Object
-
-
Constructor Summary
Constructors Constructor Description SemanticIndexCache(ClassifiedTBox reasonerDag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildSemanticIndexFromReasoner()Set<Map.Entry<OClass,SemanticIndexRange>>getClassIndexEntries()Set<Map.Entry<DataPropertyExpression,SemanticIndexRange>>getDataPropertyIndexEntries()SemanticIndexRangegetEntry(DataPropertyExpression dpe)SemanticIndexRangegetEntry(ObjectPropertyExpression ope)SemanticIndexRangegetEntry(OClass concept)Returns the intervals (semantic index) for a class or property.Set<Map.Entry<ObjectPropertyExpression,SemanticIndexRange>>getObjectPropertyIndexEntries()voidsetIndex(DataPropertyExpression dpe, Integer idx)voidsetIndex(ObjectPropertyExpression ope, Integer idx)voidsetIndex(OClass concept, int idx)
-
-
-
Constructor Detail
-
SemanticIndexCache
public SemanticIndexCache(ClassifiedTBox reasonerDag)
-
-
Method Detail
-
buildSemanticIndexFromReasoner
public void buildSemanticIndexFromReasoner()
-
getEntry
public SemanticIndexRange getEntry(OClass concept)
Returns the intervals (semantic index) for a class or property.- Parameters:
name-i-- Returns:
-
getEntry
public SemanticIndexRange getEntry(ObjectPropertyExpression ope)
-
getEntry
public SemanticIndexRange getEntry(DataPropertyExpression dpe)
-
setIndex
public void setIndex(OClass concept, int idx)
-
setIndex
public void setIndex(ObjectPropertyExpression ope, Integer idx)
-
setIndex
public void setIndex(DataPropertyExpression dpe, Integer idx)
-
getClassIndexEntries
public Set<Map.Entry<OClass,SemanticIndexRange>> getClassIndexEntries()
-
getObjectPropertyIndexEntries
public Set<Map.Entry<ObjectPropertyExpression,SemanticIndexRange>> getObjectPropertyIndexEntries()
-
getDataPropertyIndexEntries
public Set<Map.Entry<DataPropertyExpression,SemanticIndexRange>> getDataPropertyIndexEntries()
-
-