public class PrimaryKeyLookupTable extends Object implements LookupTable
LookupTable for primary key table.| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.table.store.utils.KeyProjectedRowData |
primaryKey |
protected int[] |
primaryKeyMapping |
protected java.util.function.Predicate<org.apache.flink.table.data.RowData> |
recordFilter |
protected RocksDBValueState |
tableState |
| 构造器和说明 |
|---|
PrimaryKeyLookupTable(RocksDBStateFactory stateFactory,
org.apache.flink.table.types.logical.RowType rowType,
List<String> primaryKey,
java.util.function.Predicate<org.apache.flink.table.data.RowData> recordFilter,
long lruCacheSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.table.data.RowData> |
get(org.apache.flink.table.data.RowData key) |
void |
refresh(Iterator<org.apache.flink.table.data.RowData> incremental) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateprotected final RocksDBValueState tableState
protected final java.util.function.Predicate<org.apache.flink.table.data.RowData> recordFilter
protected int[] primaryKeyMapping
protected final org.apache.flink.table.store.utils.KeyProjectedRowData primaryKey
public PrimaryKeyLookupTable(RocksDBStateFactory stateFactory, org.apache.flink.table.types.logical.RowType rowType, List<String> primaryKey, java.util.function.Predicate<org.apache.flink.table.data.RowData> recordFilter, long lruCacheSize) throws IOException
IOExceptionpublic List<org.apache.flink.table.data.RowData> get(org.apache.flink.table.data.RowData key) throws IOException
get 在接口中 LookupTableIOExceptionpublic void refresh(Iterator<org.apache.flink.table.data.RowData> incremental) throws IOException
refresh 在接口中 LookupTableIOExceptionCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.