public class SecondaryIndexLookupTable extends PrimaryKeyLookupTable
LookupTable for primary key table which provides lookup by secondary key.FullCacheLookupTable.Context, FullCacheLookupTable.TableBulkLoaderlruCacheSize, primaryKeyRow, tableStateappendUdsFieldNumber, context, lock, projectedType, refreshAsync, stateFactory, userDefinedSeqComparator| Constructor and Description |
|---|
SecondaryIndexLookupTable(FullCacheLookupTable.Context context,
long lruCacheSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
bulkLoadWritePlus(byte[] key,
byte[] value) |
List<InternalRow> |
innerGet(InternalRow key) |
void |
open() |
protected void |
refreshRow(InternalRow row,
Predicate predicate) |
createBulkLoader, createTableState, toKeyBytes, toValueBytesbootstrap, close, get, getRefreshFuture, init, projectedPredicate, refresh, refresh, specificPartitionFilter, specifyCacheRowFilterpublic SecondaryIndexLookupTable(FullCacheLookupTable.Context context, long lruCacheSize)
public void open()
throws Exception
open in interface LookupTableopen in class PrimaryKeyLookupTableExceptionpublic List<InternalRow> innerGet(InternalRow key) throws IOException
innerGet in class PrimaryKeyLookupTableIOExceptionprotected void refreshRow(InternalRow row, Predicate predicate) throws IOException
refreshRow in class PrimaryKeyLookupTableIOExceptionpublic void bulkLoadWritePlus(byte[] key,
byte[] value)
throws IOException
bulkLoadWritePlus in class PrimaryKeyLookupTableIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.