public class NoPrimaryKeyLookupTable extends FullCacheLookupTable
LookupTable
for table without primary key.FullCacheLookupTable.Context, FullCacheLookupTable.TableBulkLoader
appendUdsFieldNumber, context, lock, projectedType, refreshAsync, stateFactory, userDefinedSeqComparator
Constructor and Description |
---|
NoPrimaryKeyLookupTable(FullCacheLookupTable.Context context,
long lruCacheSize) |
Modifier and Type | Method and Description |
---|---|
FullCacheLookupTable.TableBulkLoader |
createBulkLoader() |
List<InternalRow> |
innerGet(InternalRow key) |
void |
open() |
void |
refresh(Iterator<InternalRow> incremental) |
protected void |
refreshRow(InternalRow row,
Predicate predicate) |
byte[] |
toKeyBytes(InternalRow row) |
byte[] |
toValueBytes(InternalRow row) |
bootstrap, close, get, openStateFactory, projectedPredicate, refresh, specificPartitionFilter
public NoPrimaryKeyLookupTable(FullCacheLookupTable.Context context, long lruCacheSize)
public List<InternalRow> innerGet(InternalRow key) throws IOException
innerGet
in class FullCacheLookupTable
IOException
public void refresh(Iterator<InternalRow> incremental) throws IOException
refresh
in class FullCacheLookupTable
IOException
protected void refreshRow(InternalRow row, Predicate predicate) throws IOException
refreshRow
in class FullCacheLookupTable
IOException
public byte[] toKeyBytes(InternalRow row) throws IOException
toKeyBytes
in class FullCacheLookupTable
IOException
public byte[] toValueBytes(InternalRow row) throws IOException
toValueBytes
in class FullCacheLookupTable
IOException
public FullCacheLookupTable.TableBulkLoader createBulkLoader()
createBulkLoader
in class FullCacheLookupTable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.