Class BlobStorePayload
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.blob.BlobStorePayload
-
public class BlobStorePayload extends java.lang.Object
DAO command to store the configured payload in the Azure blob
-
-
Field Summary
Fields Modifier and Type Field Description (package private) InputOutputByteStream
ioStream
(package private) java.lang.String
logicalId
(package private) java.lang.String
resourcePayloadKey
(package private) int
resourceTypeId
(package private) int
version
-
Constructor Summary
Constructors Constructor Description BlobStorePayload(int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, InputOutputByteStream ioStream)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<PayloadPersistenceResult>
run(BlobManagedContainer client)
Execute this command against the given client
-
-
-
Field Detail
-
resourceTypeId
final int resourceTypeId
-
logicalId
final java.lang.String logicalId
-
version
final int version
-
resourcePayloadKey
final java.lang.String resourcePayloadKey
-
ioStream
final InputOutputByteStream ioStream
-
-
Constructor Detail
-
BlobStorePayload
public BlobStorePayload(int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, InputOutputByteStream ioStream)
Public constructor- Parameters:
resourceTypeId
-logicalId
-version
-resourcePayloadKey
-ioStream
-
-
-
Method Detail
-
run
public java.util.concurrent.CompletableFuture<PayloadPersistenceResult> run(BlobManagedContainer client) throws FHIRPersistenceException
Execute this command against the given client- Parameters:
client
-- Throws:
FHIRPersistenceException
-
-