public class RemoteTableQuery extends Object implements TableQuery
TableQuery to lookup data from remote service.| Constructor and Description |
|---|
RemoteTableQuery(Table table) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
cancel() |
void |
close() |
InternalRowSerializer |
createValueSerializer() |
static boolean |
isRemoteServiceAvailable(FileStoreTable table) |
InternalRow |
lookup(BinaryRow partition,
int bucket,
InternalRow key) |
RemoteTableQuery |
withValueProjection(int[] projection) |
public RemoteTableQuery(Table table)
public static boolean isRemoteServiceAvailable(FileStoreTable table)
@Nullable public InternalRow lookup(BinaryRow partition, int bucket, InternalRow key) throws IOException
lookup in interface TableQueryIOExceptionpublic RemoteTableQuery withValueProjection(int[] projection)
withValueProjection in interface TableQuerypublic InternalRowSerializer createValueSerializer()
createValueSerializer in interface TableQuerypublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException@VisibleForTesting public CompletableFuture<Void> cancel()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.