Class StableBlobIdGenerator
java.lang.Object
com.here.platform.data.client.engine.model.StableBlobIdGenerator
- All Implemented Interfaces:
BlobIdGenerator,Serializable
BlobIdGenerator implementation that generate deterministic blob ID given a partition and version. This is
the recommended to be used with Volatile layers.
param: version Define the version of the metadata where the dataHandle will be used. Usually will be QueryApi.lastVersion for readers and PublishApi.getBaseVersion for writers.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateBlobId(com.here.platform.data.client.scaladsl.NewPartition partition) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.here.platform.data.client.engine.model.BlobIdGenerator
generateVolatileBlobId
-
Constructor Details
-
StableBlobIdGenerator
public StableBlobIdGenerator(long version)
-
-
Method Details
-
generateBlobId
- Specified by:
generateBlobIdin interfaceBlobIdGenerator
-