public abstract class BaseDictionary extends Object implements DictionaryPrivate
| Modifier and Type | Field and Description |
|---|---|
protected DictionarySectionPrivate |
objects |
protected DictionarySectionPrivate |
predicates |
protected DictionarySectionPrivate |
shared |
protected HDTOptions |
spec |
protected DictionarySectionPrivate |
subjects |
| Constructor and Description |
|---|
BaseDictionary(HDTOptions spec) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getGlobalId(int id,
DictionarySectionRole position) |
protected int |
getLocalId(int id,
TripleComponentRole position) |
long |
getNobjects() |
long |
getNpredicates() |
long |
getNshared() |
long |
getNsubjects() |
long |
getNumberOfElements() |
DictionarySection |
getObjects() |
DictionarySection |
getPredicates() |
DictionarySection |
getShared() |
DictionarySection |
getSubjects() |
CharSequence |
idToString(int id,
TripleComponentRole role) |
long |
size() |
int |
stringToId(CharSequence str,
TripleComponentRole position) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, load, mapFromFile, savegetType, populateHeaderprotected HDTOptions spec
protected DictionarySectionPrivate subjects
protected DictionarySectionPrivate predicates
protected DictionarySectionPrivate objects
protected DictionarySectionPrivate shared
public BaseDictionary(HDTOptions spec)
protected int getGlobalId(int id,
DictionarySectionRole position)
protected int getLocalId(int id,
TripleComponentRole position)
public int stringToId(CharSequence str, TripleComponentRole position)
stringToId in interface Dictionarypublic long getNumberOfElements()
getNumberOfElements in interface Dictionarypublic long size()
size in interface Dictionarypublic long getNsubjects()
getNsubjects in interface Dictionarypublic long getNpredicates()
getNpredicates in interface Dictionarypublic long getNobjects()
getNobjects in interface Dictionarypublic long getNshared()
getNshared in interface Dictionarypublic DictionarySection getSubjects()
getSubjects in interface Dictionarypublic DictionarySection getPredicates()
getPredicates in interface Dictionarypublic DictionarySection getObjects()
getObjects in interface Dictionarypublic DictionarySection getShared()
getShared in interface Dictionarypublic CharSequence idToString(int id, TripleComponentRole role)
idToString in interface DictionaryCopyright © 2017 INSIGHT Centre for Data Analytics. All rights reserved.