public class MedRtUmlsBatchLoaderImpl extends AbstractSpringBatchLoader implements MedRtUmlsBatchLoader
BaseLoader.DoConversion
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SAB |
static java.lang.String |
SAB_OPTION |
ASYNC_OPTION, FAIL_ON_ERROR_OPTION, inUse, LOADER_POST_PROCESSOR_OPTION, LOADER_PREFERENCE_FILE_OPTION, MANIFEST_FILE_OPTION, SUPPLEMENT_OPTION
DESCRIPTION, NAME, VERSION
Constructor and Description |
---|
MedRtUmlsBatchLoaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected ExtensionDescription |
buildExtensionDescription()
Builds the extension description.
|
protected OptionHolder |
declareAllowedOptions(OptionHolder holder) |
protected URNVersionPair[] |
doLoad() |
protected URNVersionPair[] |
getLoadedCodingSchemes(org.springframework.context.ApplicationContext context) |
java.lang.String |
getName()
Return the name assigned to this service extension.
|
OntologyFormat |
getOntologyFormat()
Return the ontology format the loader can handle
|
void |
loadMEDRT(java.net.URI rrfDir)
Load umls.
|
static void |
main(java.lang.String[] args) |
void |
removeLoad(java.lang.String uri,
java.lang.String version)
Removes the load.
|
void |
resumeMEDRT(java.net.URI rrfDir,
java.lang.String uri,
java.lang.String version)
Resume umls.
|
buildJobParameters, getJobExecution, getLoadedCodingSchemes, getURIFromPath, launchJob, printJobProperties, printStartLogInfo, processStateConverter, setLoadedCodingSchemes
addBooleanOptionValue, baseLoad, buildRootNode, clearLog, constructVersionPairsFromCodingSchemes, createCachingMessageDirectorIF, createDefaultInserter, createDefaultInserter, doesOptionExist, doIndex, doPostProcessing, doRegister, doTransitiveAndIndex, doTransitiveTable, getAbsoluteCodingSchemeVersionReferenceFromOptionString, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getDescription, getLoaderPreferences, getLog, getLogger, getManifestUtil, getMessageDirector, getOptions, getPostProcessor, getProvider, getResourceUri, getStatus, getStringFromURI, getVersion, isDoApplyPostLoadManifest, isDoComputeTransitiveClosure, isDoIndexing, isDoRegister, isDoRemoveOnFailure, isInUse, load, lock, persistCodingSchemeToDatabase, persistCodingSchemeToDatabase, register, register, setCachingMessageDirectorIF, setCodingSchemeManifest, setCodingSchemeManifestURI, setCodingSchemeReferences, setDoApplyPostLoadManifest, setDoComputeTransitiveClosure, setDoIndexing, setDoRegister, setDoRemoveOnFailure, setInUse, setLoaderPreferences, setLoaderPreferences, setManifestUtil, setOptions, setResourceUri, setStatus, unlock, urnVersionPairToAbsoluteCodingSchemeVersionReference
getExtensionDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJobExecution
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getOptions, getStatus, load, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences
getDescription, getProvider, getVersion
public static java.lang.String SAB_OPTION
public static final java.lang.String SAB
public void loadMEDRT(java.net.URI rrfDir) throws java.lang.Exception
MedRtUmlsBatchLoader
loadMEDRT
in interface MedRtUmlsBatchLoader
rrfDir
- the rrf dirjava.lang.Exception
- the exceptionpublic void resumeMEDRT(java.net.URI rrfDir, java.lang.String uri, java.lang.String version) throws java.lang.Exception
MedRtUmlsBatchLoader
resumeMEDRT
in interface MedRtUmlsBatchLoader
rrfDir
- the rrf diruri
- the uriversion
- the versionjava.lang.Exception
- the exceptionpublic void removeLoad(java.lang.String uri, java.lang.String version) throws LBParameterException
MedRtUmlsBatchLoader
removeLoad
in interface MedRtUmlsBatchLoader
uri
- the uriversion
- the versionLBParameterException
public java.lang.String getName()
Extendable
getName
in interface Extendable
getName
in class BaseLoader
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected OptionHolder declareAllowedOptions(OptionHolder holder)
declareAllowedOptions
in class BaseLoader
protected URNVersionPair[] doLoad()
doLoad
in class BaseLoader
protected URNVersionPair[] getLoadedCodingSchemes(org.springframework.context.ApplicationContext context)
getLoadedCodingSchemes
in class AbstractSpringBatchLoader
protected ExtensionDescription buildExtensionDescription()
AbstractExtendable
buildExtensionDescription
in class AbstractExtendable
public OntologyFormat getOntologyFormat()
Loader
getOntologyFormat
in interface Loader
getOntologyFormat
in class BaseLoader