|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MetathesaurusInputStream
Generically represents a way of reading the entire Metathesaurus from some input source. This source can be MR Files, update MR Files, a database, or pretty much anything else that can be defined by one or more "locations" or "paths".
| Method Summary | |
|---|---|
String[] |
getAmbiguousStringIdentifiers()
Returns the complete list of suis from the AMBIGSUI list. |
List |
getAmbiguousStringIdentifiersAsList()
Returns the complete list of suis from the AMBIGSUI list. |
String[] |
getAmbiguousTermIdentifiers()
Returns the complete list of terms from the AMBIGLUI list. |
List |
getAmbiguousTermIdentifiersAsList()
Returns the complete list of terms from the AMBIGLUI list. |
int |
getIndexProgress()
Returns the percentage of the IndexEntry objects that have been processed. |
IndexEntry |
readIndexEntry()
Read an IndexEntry from the input stream and return it. |
ReleaseMetadata |
readReleaseMetadata()
Read the ReleaseMetadata from the input stream and return it. |
| Methods inherited from interface gov.nih.nlm.umls.io.ConceptInputStream |
|---|
close, getConceptProgress, getWarnings, open, readConcept |
| Methods inherited from interface gov.nih.nlm.util.LocalNullValueSupport |
|---|
getNullValue, isEmptyValue, setNullValue |
| Method Detail |
|---|
IndexEntry readIndexEntry()
throws IOException
IndexEntry from the input stream and return it.
This method should provide the mapping between the input
files and IndexEntry objects. Futhermore, it should be
implemented like a stream, in the sense that only the content
for the next IndexEntry should be read into memory.
IndexEntry
IOException - if there is a problem reading the index entry
ReleaseMetadata readReleaseMetadata()
throws IOException
ReleaseMetadata from the input stream and return it.
ReleaseMetadata for this input stream
IOException - if there is a problem reading the release metadataint getIndexProgress()
IndexEntry objects that have been processed.
IndexEntry objects that have been processed
String[] getAmbiguousStringIdentifiers()
throws IOException
IOException
List getAmbiguousStringIdentifiersAsList()
throws IOException
IOException
String[] getAmbiguousTermIdentifiers()
throws IOException
IOException
List getAmbiguousTermIdentifiersAsList()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||