com.here.platform.data.processing.java.blobstore.caching
CachingMappingRetriever
Companion object CachingMappingRetriever
class CachingMappingRetriever[T <: AnyRef] extends Wrapper[blobstore.caching.CachingMappingRetriever[T]] with Serializable
A wrapper for the Retriever class, that applies a mapping function on the retrieved payloads and caches the resulting values.
- Alphabetic
 - By Inheritance
 
- CachingMappingRetriever
 - Serializable
 - Wrapper
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(o: Any): Boolean
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def getPayloadAndMap(key: Key, meta: Meta, file: File): T
Returns the decoded value associated with the key-meta pair in this cache.
Returns the decoded value associated with the key-meta pair in this cache. If the value is not cached, it is retrieved with the wrapped retriever and decoded with the mapping function. If
filterreturnsfalsefor the key-meta pair, the cache is not used. This version uses a file to store the content of the payload. The transformed payload is still stored in memory though.- key
 The partition key.
- meta
 The partition metadata.
- file
 The file where the retrieved payload must be stored.
- returns
 The decoded payload.
- Note
 In case of a cache hit, the file is not created or written. It's the caller's responsibility to delete the file when it's no longer needed. Payloads retrieved as stream are not cached. Moreover statistics when retrieving as stream are updated only in case the stream is closed.
 -    def getPayloadAndMap(key: Key, meta: Meta): T
Returns the decoded value associated with the key-meta pair in this cache.
Returns the decoded value associated with the key-meta pair in this cache. If the value is not cached, it is retrieved with the wrapped retriever and decoded with the mapping function. If
filterreturnsfalsefor the key-meta pair, the cache is not used.- key
 The partition key.
- meta
 The partition metadata.
- returns
 The decoded payload.
 -    def hashCode(): Int
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -    val impl: blobstore.caching.CachingMappingRetriever[T]
- Definition Classes
 - CachingMappingRetriever → Wrapper
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - Wrapper → AnyRef → Any
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)