Interface FullCachingLookupProvider
-
- All Superinterfaces:
LookupFunctionProvider,LookupTableSource.LookupRuntimeProvider
@PublicEvolving public interface FullCachingLookupProvider extends LookupFunctionProvider
ALookupFunctionProviderthat never lookup in external system on cache miss and provides a cache for holding all entries in the external system. The cache will be fully reloaded from the external system by theScanTableSource.ScanRuntimeProviderand reload operations will be triggered by theCacheReloadTrigger.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheReloadTriggergetCacheReloadTrigger()Get aCacheReloadTriggerfor triggering the reload operation.ScanTableSource.ScanRuntimeProvidergetScanRuntimeProvider()Get aScanTableSource.ScanRuntimeProviderfor scanning all entries from the external lookup table and load into the cache.static FullCachingLookupProviderof(ScanTableSource.ScanRuntimeProvider scanRuntimeProvider, CacheReloadTrigger cacheReloadTrigger)Build aFullCachingLookupProviderfrom the specifiedScanTableSource.ScanRuntimeProviderandCacheReloadTrigger.-
Methods inherited from interface org.apache.flink.table.connector.source.lookup.LookupFunctionProvider
createLookupFunction
-
-
-
-
Method Detail
-
of
static FullCachingLookupProvider of(ScanTableSource.ScanRuntimeProvider scanRuntimeProvider, CacheReloadTrigger cacheReloadTrigger)
Build aFullCachingLookupProviderfrom the specifiedScanTableSource.ScanRuntimeProviderandCacheReloadTrigger.
-
getScanRuntimeProvider
ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider()
Get aScanTableSource.ScanRuntimeProviderfor scanning all entries from the external lookup table and load into the cache.
-
getCacheReloadTrigger
CacheReloadTrigger getCacheReloadTrigger()
Get aCacheReloadTriggerfor triggering the reload operation.
-
-