public class InputFormatCacheLoader extends CacheLoader
CacheLoader that used InputFormat for loading data into the cache.cache, isStopped, TIMEOUT_AFTER_INTERRUPT_MS| 构造器和说明 |
|---|
InputFormatCacheLoader(org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> initialInputFormat,
GenericRowDataKeySelector keySelector,
RowDataSerializer cacheEntriesSerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 CacheLoaderExceptionprotected boolean updateCache()
throws Exception
updateCache 在类中 CacheLoaderExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.