public class InsightsForMedicalLiteratureService
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME |
static java.lang.String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
InsightsForMedicalLiteratureService(java.lang.String version,
java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `InsightsForMedicalLiteratureService` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
addArtifact(AddArtifactOptions addArtifactOptions)
Add cartridge artifact.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
addCorpusDocument(AddCorpusDocumentOptions addCorpusDocumentOptions)
Define enrichment document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
deleteCorpusSchema(DeleteCorpusSchemaOptions deleteCorpusSchemaOptions)
Delete a corpus.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
enableCorpusSearchTracking()
Toggle Search Activity Tracking.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
enableCorpusSearchTracking(EnableCorpusSearchTrackingOptions enableCorpusSearchTrackingOptions)
Toggle Search Activity Tracking.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> |
getConcepts(GetConceptsOptions getConceptsOptions)
Retrieves information for concepts mentioned in this corpus.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
getCorporaConfig()
Retrieves the available corpus names and configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
getCorporaConfig(GetCorporaConfigOptions getCorporaConfigOptions)
Retrieves the available corpus names and configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
getCorpusConfig(GetCorpusConfigOptions getCorpusConfigOptions)
Retrieves the corpus configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ConceptInfoModel> |
getCuiInfo(GetCuiInfoOptions getCuiInfoOptions)
Retrieve information for a concept.
|
com.ibm.cloud.sdk.core.http.ServiceCall<AnnotationsModel> |
getDocumentAnnotations(GetDocumentAnnotationsOptions getDocumentAnnotationsOptions)
Retrieves annotations for a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CategoriesModel> |
getDocumentCategories(GetDocumentCategoriesOptions getDocumentCategoriesOptions)
Categorizes concepts in a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<GetDocumentInfoResponse> |
getDocumentInfo(GetDocumentInfoOptions getDocumentInfoOptions)
Retrieves the external ID, title, abstract and text for a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CategoriesModel> |
getDocumentMultipleCategories(GetDocumentMultipleCategoriesOptions getDocumentMultipleCategoriesOptions)
Categorizes concepts in a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorpusInfoModel> |
getDocuments(GetDocumentsOptions getDocumentsOptions)
Retrieves information about the documents in this corpus.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetadataModel> |
getFields(GetFieldsOptions getFieldsOptions)
Retrieves a list of metadata fields defined in the corpus.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> |
getHealthCheckStatus()
Determine if service is running correctly.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> |
getHealthCheckStatus(GetHealthCheckStatusOptions getHealthCheckStatusOptions)
Determine if service is running correctly.
|
com.ibm.cloud.sdk.core.http.ServiceCall<HitCount> |
getHitCount(GetHitCountOptions getHitCountOptions)
Retrieves a count of the number of times a concept is mentioned in the corpus.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RelatedConceptsModel> |
getRelatedConcepts(GetRelatedConceptsOptions getRelatedConceptsOptions)
Retrieve concepts related to a concept.
|
com.ibm.cloud.sdk.core.http.ServiceCall<SearchMatchesModel> |
getSearchMatches(GetSearchMatchesOptions getSearchMatchesOptions)
Finds concepts in a document matching a set of search concepts.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> |
getServiceStatus()
Get status of service.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> |
getServiceStatus(GetServiceStatusOptions getServiceStatusOptions)
Get status of service.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> |
getSimilarConcepts(GetSimilarConceptsOptions getSimilarConceptsOptions)
Find similar concepts.
|
com.ibm.cloud.sdk.core.http.ServiceCall<StatisticsModel> |
getStatistics(GetStatisticsOptions getStatisticsOptions)
Retrieves statistics for a corpus.
|
java.lang.String |
getVersion()
Gets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
monitorCorpus(MonitorCorpusOptions monitorCorpusOptions)
Enable monitoring for a custom instance.
|
static InsightsForMedicalLiteratureService |
newInstance(java.lang.String version)
Class method which constructs an instance of the `InsightsForMedicalLiteratureService` client.
|
static InsightsForMedicalLiteratureService |
newInstance(java.lang.String version,
java.lang.String serviceName)
Class method which constructs an instance of the `InsightsForMedicalLiteratureService` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<SearchModel> |
search(SearchOptions searchOptions)
Search for concepts, documents, and authors.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
setCorpusConfig()
Define service repository.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
setCorpusConfig(SetCorpusConfigOptions setCorpusConfigOptions)
Define service repository.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
setCorpusSchema()
Define service repository data model.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> |
setCorpusSchema(SetCorpusSchemaOptions setCorpusSchemaOptions)
Define service repository data model.
|
void |
setVersion(java.lang.String version)
Sets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CommonDataModel> |
tokenize(TokenizeOptions tokenizeOptions)
Tokenize the input text into concepts.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> |
typeahead(TypeaheadOptions typeaheadOptions)
Find concepts matching the specified query string.
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public InsightsForMedicalLiteratureService(java.lang.String version,
java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
version - The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static InsightsForMedicalLiteratureService newInstance(java.lang.String version)
version - The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.public static InsightsForMedicalLiteratureService newInstance(java.lang.String version, java.lang.String serviceName)
version - The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.serviceName - the service name to be used when configuring the client instancepublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - the new versionpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorpusInfoModel> getDocuments(GetDocumentsOptions getDocumentsOptions)
getDocumentsOptions - the GetDocumentsOptions containing the options for the callServiceCall with a result of type CorpusModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> addCorpusDocument(AddCorpusDocumentOptions addCorpusDocumentOptions)
addCorpusDocumentOptions - the AddCorpusDocumentOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<GetDocumentInfoResponse> getDocumentInfo(GetDocumentInfoOptions getDocumentInfoOptions)
getDocumentInfoOptions - the GetDocumentInfoOptions containing the options for the callServiceCall with a result of type GetDocumentInfoResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<AnnotationsModel> getDocumentAnnotations(GetDocumentAnnotationsOptions getDocumentAnnotationsOptions)
getDocumentAnnotationsOptions - the GetDocumentAnnotationsOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CategoriesModel> getDocumentCategories(GetDocumentCategoriesOptions getDocumentCategoriesOptions)
getDocumentCategoriesOptions - the GetDocumentCategoriesOptions containing the options for the callServiceCall with a result of type CategoriesModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<CategoriesModel> getDocumentMultipleCategories(GetDocumentMultipleCategoriesOptions getDocumentMultipleCategoriesOptions)
getDocumentMultipleCategoriesOptions - the GetDocumentMultipleCategoriesOptions containing the options for the callServiceCall with a result of type CategoriesModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<SearchMatchesModel> getSearchMatches(GetSearchMatchesOptions getSearchMatchesOptions)
getSearchMatchesOptions - the GetSearchMatchesOptions containing the options for the callServiceCall with a result of type SearchMatchesModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> getCorporaConfig(GetCorporaConfigOptions getCorporaConfigOptions)
getCorporaConfigOptions - the GetCorporaConfigOptions containing the options for the callServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> getCorporaConfig()
ServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> setCorpusSchema(SetCorpusSchemaOptions setCorpusSchemaOptions)
setCorpusSchemaOptions - the SetCorpusSchemaOptions containing the options for the callServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> setCorpusSchema()
ServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> deleteCorpusSchema(DeleteCorpusSchemaOptions deleteCorpusSchemaOptions)
deleteCorpusSchemaOptions - the DeleteCorpusSchemaOptions containing the options for the callServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> setCorpusConfig(SetCorpusConfigOptions setCorpusConfigOptions)
setCorpusConfigOptions - the SetCorpusConfigOptions containing the options for the callServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> setCorpusConfig()
ServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> monitorCorpus(MonitorCorpusOptions monitorCorpusOptions)
monitorCorpusOptions - the MonitorCorpusOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> enableCorpusSearchTracking(EnableCorpusSearchTrackingOptions enableCorpusSearchTrackingOptions)
enableCorpusSearchTrackingOptions - the EnableCorpusSearchTrackingOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> enableCorpusSearchTracking()
ServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CorporaConfig> getCorpusConfig(GetCorpusConfigOptions getCorpusConfigOptions)
getCorpusConfigOptions - the GetCorpusConfigOptions containing the options for the callServiceCall with a result of type CorporaConfigpublic com.ibm.cloud.sdk.core.http.ServiceCall<StatisticsModel> getStatistics(GetStatisticsOptions getStatisticsOptions)
getStatisticsOptions - the GetStatisticsOptions containing the options for the callServiceCall with a result of type StatisticsModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getServiceStatus(GetServiceStatusOptions getServiceStatusOptions)
getServiceStatusOptions - the GetServiceStatusOptions containing the options for the callServiceCall with a result of type ServiceStatuspublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getServiceStatus()
ServiceCall with a result of type ServiceStatuspublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getHealthCheckStatus(GetHealthCheckStatusOptions getHealthCheckStatusOptions)
getHealthCheckStatusOptions - the GetHealthCheckStatusOptions containing the options for the callServiceCall with a result of type ServiceStatuspublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getHealthCheckStatus()
ServiceCall with a result of type ServiceStatuspublic com.ibm.cloud.sdk.core.http.ServiceCall<SearchModel> search(SearchOptions searchOptions)
searchOptions - the SearchOptions containing the options for the callServiceCall with a result of type SearchModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<MetadataModel> getFields(GetFieldsOptions getFieldsOptions)
getFieldsOptions - the GetFieldsOptions containing the options for the callServiceCall with a result of type MetadataModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> typeahead(TypeaheadOptions typeaheadOptions)
typeaheadOptions - the TypeaheadOptions containing the options for the callServiceCall with a result of type ConceptListModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> getConcepts(GetConceptsOptions getConceptsOptions)
getConceptsOptions - the GetConceptsOptions containing the options for the callServiceCall with a result of type ConceptListModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> addArtifact(AddArtifactOptions addArtifactOptions)
addArtifactOptions - the AddArtifactOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ConceptInfoModel> getCuiInfo(GetCuiInfoOptions getCuiInfoOptions)
getCuiInfoOptions - the GetCuiInfoOptions containing the options for the callServiceCall with a result of type ConceptInfoModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<HitCount> getHitCount(GetHitCountOptions getHitCountOptions)
getHitCountOptions - the GetHitCountOptions containing the options for the callServiceCall with a result of type HitCountpublic com.ibm.cloud.sdk.core.http.ServiceCall<RelatedConceptsModel> getRelatedConcepts(GetRelatedConceptsOptions getRelatedConceptsOptions)
getRelatedConceptsOptions - the GetRelatedConceptsOptions containing the options for the callServiceCall with a result of type RelatedConceptsModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<ConceptListModel> getSimilarConcepts(GetSimilarConceptsOptions getSimilarConceptsOptions)
getSimilarConceptsOptions - the GetSimilarConceptsOptions containing the options for the callServiceCall with a result of type ConceptListModelpublic com.ibm.cloud.sdk.core.http.ServiceCall<CommonDataModel> tokenize(TokenizeOptions tokenizeOptions)
tokenizeOptions - the TokenizeOptions containing the options for the callServiceCall with a result of type CommonDataModelCopyright © 2021 IBM Cloud. All rights reserved.