public class SecondaryIndexLookupTable extends PrimaryKeyLookupTable
LookupTable for primary key table which provides lookup by secondary key.primaryKey, primaryKeyMapping, recordFilter, tableState| 构造器和说明 |
|---|
SecondaryIndexLookupTable(RocksDBStateFactory stateFactory,
org.apache.flink.table.types.logical.RowType rowType,
List<String> primaryKey,
List<String> secKey,
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, waitcreatepublic SecondaryIndexLookupTable(RocksDBStateFactory stateFactory, org.apache.flink.table.types.logical.RowType rowType, List<String> primaryKey, List<String> secKey, 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 在接口中 LookupTableget 在类中 PrimaryKeyLookupTableIOExceptionpublic void refresh(Iterator<org.apache.flink.table.data.RowData> incremental) throws IOException
refresh 在接口中 LookupTablerefresh 在类中 PrimaryKeyLookupTableIOExceptionCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.