public class InputFormatCacheLoader extends CacheLoader
CacheLoader that used InputFormat for loading data into the cache.cache, isStopped, TIMEOUT_AFTER_INTERRUPT_MS| Constructor and Description |
|---|
InputFormatCacheLoader(org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> initialInputFormat,
GenericRowDataKeySelector keySelector,
RowDataSerializer cacheEntriesSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(org.apache.flink.configuration.Configuration parameters,
ClassLoader userCodeClassLoader) |
protected boolean |
updateCache() |
awaitFirstLoad, close, getCache, initializeMetrics, reloadAsyncpublic InputFormatCacheLoader(org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> initialInputFormat,
GenericRowDataKeySelector keySelector,
RowDataSerializer cacheEntriesSerializer)
public void open(org.apache.flink.configuration.Configuration parameters,
ClassLoader userCodeClassLoader)
throws Exception
open in class CacheLoaderExceptionprotected boolean updateCache()
throws Exception
updateCache in class CacheLoaderExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.