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, wait
load, load, mapFromFile, save
getType, populateHeader
protected 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 Dictionary
public long getNumberOfElements()
getNumberOfElements
in interface Dictionary
public long size()
size
in interface Dictionary
public long getNsubjects()
getNsubjects
in interface Dictionary
public long getNpredicates()
getNpredicates
in interface Dictionary
public long getNobjects()
getNobjects
in interface Dictionary
public long getNshared()
getNshared
in interface Dictionary
public DictionarySection getSubjects()
getSubjects
in interface Dictionary
public DictionarySection getPredicates()
getPredicates
in interface Dictionary
public DictionarySection getObjects()
getObjects
in interface Dictionary
public DictionarySection getShared()
getShared
in interface Dictionary
public CharSequence idToString(int id, TripleComponentRole role)
idToString
in interface Dictionary
Copyright © 2017 INSIGHT Centre for Data Analytics. All rights reserved.