public interface TempDictionary extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Empty all the strings of the dictionary.
|
void |
endProcessing()
To be executed at the end of the processing
|
TempDictionarySection |
getObjects() |
TempDictionarySection |
getPredicates() |
TempDictionarySection |
getShared() |
TempDictionarySection |
getSubjects() |
long |
insert(CharSequence str,
TripleComponentRole position)
Inserts a string in the dictionary in a position
|
boolean |
isOrganized() |
void |
reorganize()
Reorganizes the dictionary (Extract shared SO, sort sections).
|
void |
reorganize(TempTriples triples)
Reorganizes the dictionary (Extract shared SO, sort sections)
and updates the IDs of the triples (used for one-pass way of work).
|
void |
startProcessing()
To be executed at the start of the processing
|
long |
stringToId(CharSequence subject,
TripleComponentRole role)
Get the ID of a given String
|
TempDictionarySection getSubjects()
TempDictionarySection getPredicates()
TempDictionarySection getObjects()
TempDictionarySection getShared()
void startProcessing()
void endProcessing()
long insert(CharSequence str, TripleComponentRole position)
str - The string to be insertedposition - TriplePosition to be inserted invoid reorganize()
void reorganize(TempTriples triples)
boolean isOrganized()
void clear()
long stringToId(CharSequence subject, TripleComponentRole role)
subject - role - Copyright © 2018 DataWeb Research. All rights reserved.