public class PrimaryKeyPartialLookupTable extends Object implements LookupTable
Modifier and Type | Method and Description |
---|---|
void |
close() |
static PrimaryKeyPartialLookupTable |
createLocalTable(FileStoreTable table,
int[] projection,
File tempPath,
List<String> joinKey,
Set<Integer> requireCachedBucketIds) |
static PrimaryKeyPartialLookupTable |
createRemoteTable(FileStoreTable table,
int[] projection,
List<String> joinKey) |
List<InternalRow> |
get(InternalRow key) |
void |
open() |
void |
refresh() |
void |
specificPartitionFilter(Predicate filter) |
void |
specifyCacheRowFilter(Filter<InternalRow> filter) |
public void specificPartitionFilter(Predicate filter)
specificPartitionFilter
in interface LookupTable
public void open() throws Exception
open
in interface LookupTable
Exception
public List<InternalRow> get(InternalRow key) throws IOException
get
in interface LookupTable
IOException
public void refresh()
refresh
in interface LookupTable
public void specifyCacheRowFilter(Filter<InternalRow> filter)
specifyCacheRowFilter
in interface LookupTable
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public static PrimaryKeyPartialLookupTable createLocalTable(FileStoreTable table, int[] projection, File tempPath, List<String> joinKey, Set<Integer> requireCachedBucketIds)
public static PrimaryKeyPartialLookupTable createRemoteTable(FileStoreTable table, int[] projection, List<String> joinKey)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.