implicit final class RetrieverWrapper extends AnyVal
Augments the Retriever class with a method to build a cached version of it.
- Alphabetic
- By Inheritance
- RetrieverWrapper
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def caching(filter: CacheFilter = noFilter, factory: CacheFactory[Payload] = defaultCacheFactory, statistics: Option[Statistics] = None): Retriever
Creates a new CachingRetriever from
retriever.Creates a new CachingRetriever from
retriever.- filter
A predicate used to cache only the partitions for which the predicate returns
true. If not specified, all partitions are cached.- factory
A functions that returns a com.here.platform.data.processing.utils.cache.Cache. If not specified com.here.platform.data.processing.utils.cache.GuavaCache.cacheFactory is used.
- statistics
An optional com.here.platform.data.processing.statistics.Statistics object. If defined, statistics about the number of cache requests and misses are recorded.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val retriever: Retriever
- def toString(): String
- Definition Classes
- Any