
Class FullTextExtractionRequest
java.lang.Object
ca.uhn.fhir.jpa.searchparam.fulltext.FullTextExtractionRequest
This is a request object containing a request to extract the FullText index data from
a resource during storage.
- Since:
- 8.4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFullTextExtractionRequest
(org.hl7.fhir.instance.model.api.IIdType theResourceId, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceType, Supplier<String> theDefaultSupplier) Constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResource
org.hl7.fhir.instance.model.api.IIdType
boolean
isDelete()
-
Constructor Details
-
FullTextExtractionRequest
public FullTextExtractionRequest(@Nullable org.hl7.fhir.instance.model.api.IIdType theResourceId, @Nullable org.hl7.fhir.instance.model.api.IBaseResource theResource, @Nonnull String theResourceType, @Nonnull Supplier<String> theDefaultSupplier) Constructor
-
-
Method Details
-
isDelete
- Returns:
- Returns true if this request represents a resource deletion
-
getResourceId
- Returns:
- Returns the ID of the resource being indexed. This may be
null
if a new resource is being created, and a type isn't assigned yet
-
getResource
- Returns:
- Returns the resource being indexed. May be
null
if the operation is a resource deletion.
-
getResourceType
- Returns:
- Returns the resource type being indexed.
-
getDefaultString
- Returns:
- Returns the extracted content/text string that is automatically extracted from the resource
-