public class NoPrimaryKeyLookupTable extends FullCacheLookupTable
LookupTable for table without primary key.FullCacheLookupTable.Context, FullCacheLookupTable.TableBulkLoaderappendUdsFieldNumber, 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, specificPartitionFilterpublic NoPrimaryKeyLookupTable(FullCacheLookupTable.Context context, long lruCacheSize)
public List<InternalRow> innerGet(InternalRow key) throws IOException
innerGet in class FullCacheLookupTableIOExceptionpublic void refresh(Iterator<InternalRow> incremental) throws IOException
refresh in class FullCacheLookupTableIOExceptionprotected void refreshRow(InternalRow row, Predicate predicate) throws IOException
refreshRow in class FullCacheLookupTableIOExceptionpublic byte[] toKeyBytes(InternalRow row) throws IOException
toKeyBytes in class FullCacheLookupTableIOExceptionpublic byte[] toValueBytes(InternalRow row) throws IOException
toValueBytes in class FullCacheLookupTableIOExceptionpublic FullCacheLookupTable.TableBulkLoader createBulkLoader()
createBulkLoader in class FullCacheLookupTableCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.