Class DefaultVolatileBlobstoreService
java.lang.Object
com.here.platform.data.client.service.blobstore.DefaultVolatileBlobstoreService
- All Implemented Interfaces:
VolatileBlobstoreService
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultVolatileBlobstoreService(HRN hrn, InternalSettings settings, HttpHandler httpHandler, ClientExecutionContext clientExecutionContext) -
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.Future<Object>blobExists(String catalogId, String layerId, String dataHandle) scala.concurrent.Future<org.apache.pekko.Done>deleteBlob(String catalogId, String layerId, String dataHandle) scala.concurrent.Future<org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed>> scala.concurrent.Future<org.apache.pekko.Done>putBlob(String catalogId, String layerId, String dataHandle, org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> data, org.apache.pekko.http.scaladsl.model.ContentType contentType, scala.Option<org.apache.pekko.http.scaladsl.model.headers.HttpEncoding> contentEncoding, long contentLength) scala.concurrent.Future<org.apache.pekko.Done>updateBlobTtl(String catalogId, String layerId, String dataHandle, long ttlSeconds)
-
Constructor Details
-
DefaultVolatileBlobstoreService
public DefaultVolatileBlobstoreService(HRN hrn, InternalSettings settings, HttpHandler httpHandler, ClientExecutionContext clientExecutionContext)
-
-
Method Details
-
blobExists
public scala.concurrent.Future<Object> blobExists(String catalogId, String layerId, String dataHandle) - Specified by:
blobExistsin interfaceVolatileBlobstoreService
-
deleteBlob
public scala.concurrent.Future<org.apache.pekko.Done> deleteBlob(String catalogId, String layerId, String dataHandle) - Specified by:
deleteBlobin interfaceVolatileBlobstoreService
-
getBlob
public scala.concurrent.Future<org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed>> getBlob(String catalogId, String layerId, String dataHandle, ByteRange range) - Specified by:
getBlobin interfaceVolatileBlobstoreService
-
putBlob
public scala.concurrent.Future<org.apache.pekko.Done> putBlob(String catalogId, String layerId, String dataHandle, org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> data, org.apache.pekko.http.scaladsl.model.ContentType contentType, scala.Option<org.apache.pekko.http.scaladsl.model.headers.HttpEncoding> contentEncoding, long contentLength) - Specified by:
putBlobin interfaceVolatileBlobstoreService
-
updateBlobTtl
public scala.concurrent.Future<org.apache.pekko.Done> updateBlobTtl(String catalogId, String layerId, String dataHandle, long ttlSeconds) - Specified by:
updateBlobTtlin interfaceVolatileBlobstoreService
-