de.fau.cs.www8.jadeowlcodec.triplestore
Class MaskedTripleStore
java.lang.Object
de.fau.cs.www8.jadeowlcodec.triplestore.AbsTripleStore
de.fau.cs.www8.jadeowlcodec.triplestore.MaskedTripleStore
- All Implemented Interfaces:
- java.lang.Iterable<SimpleTriple>
public class MaskedTripleStore
- extends AbsTripleStore
| Fields inherited from class de.fau.cs.www8.jadeowlcodec.triplestore.AbsTripleStore |
kb |
| Methods inherited from class de.fau.cs.www8.jadeowlcodec.triplestore.AbsTripleStore |
clone, contains, createBitmaskFor, createBitmaskWithout, getKb, getTriplesAbout, getTriplesAboutObject, getTriplesAboutPredicate, getTriplesAboutSubject, tellInto, toString, toTripleSet, writeDigTell, writeDigTell |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
retained
protected java.util.Set<Triple> retained
MaskedTripleStore
public MaskedTripleStore(AbsTripleStore ts,
BitField mask,
boolean whichToRetain)
- Parameters:
ts - the triplestore to wrapmask - bitfield switching triples on/off inwhichToRetain - true: keep only those triples from ts with maskbit set, false: keep only those triples with maskbit unset
haveRetained
protected void haveRetained()
getLatexShortUri
public java.lang.String getLatexShortUri(AbsUriOrValue u)
- Overrides:
getLatexShortUri in class AbsTripleStore
getObjForSubjPred
public java.util.Set<AbsUriOrValue> getObjForSubjPred(Uri subj,
Uri pred)
- Specified by:
getObjForSubjPred in class AbsTripleStore
getShortUri
public java.lang.String getShortUri(AbsUriOrValue u)
- Overrides:
getShortUri in class AbsTripleStore
getSize
public int getSize()
- Specified by:
getSize in class AbsTripleStore
getStatus
public java.lang.String getStatus()
- Specified by:
getStatus in class AbsTripleStore
getSubjForPredObj
public java.util.Set<Uri> getSubjForPredObj(Uri pred,
AbsUriOrValue obj)
- Specified by:
getSubjForPredObj in class AbsTripleStore
iterator
public java.util.Iterator<SimpleTriple> iterator()
- Specified by:
iterator in interface java.lang.Iterable<SimpleTriple>- Specified by:
iterator in class AbsTripleStore
contains
public boolean contains(Triple t)
- Overrides:
contains in class AbsTripleStore
getAllIndividuals
public java.util.Set<Uri.Individual> getAllIndividuals()
- Specified by:
getAllIndividuals in class AbsTripleStore
getNthTriple
public Triple getNthTriple(int n)
getAllConcepts
public java.util.Set<Uri.Concept> getAllConcepts()
- Overrides:
getAllConcepts in class AbsTripleStore
getAllRoles
public java.util.Set<Uri.Role> getAllRoles()
- Overrides:
getAllRoles in class AbsTripleStore
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg