public class FallbackReadFileStoreTable extends DelegatedFileStoreTable
FileStoreTable which mainly read from the current branch. However, if the current
branch does not have a partition, it will read that partition from the fallback branch.wrapped| Constructor and Description |
|---|
FallbackReadFileStoreTable(FileStoreTable wrapped,
FileStoreTable fallback) |
| Modifier and Type | Method and Description |
|---|---|
FileStoreTable |
copy(Map<String,String> dynamicOptions)
Copy this table with adding dynamic options.
|
FileStoreTable |
copy(TableSchema newTableSchema) |
FileStoreTable |
copyWithLatestSchema()
TODO: this method is weird, old options will overwrite new options.
|
FileStoreTable |
copyWithoutTimeTravel(Map<String,String> dynamicOptions)
Doesn't change table schema even when there exists time travel scan options.
|
InnerTableRead |
newRead() |
DataTableScan |
newScan() |
void |
setManifestCache(SegmentsCache<Path> manifestCache) |
FileStoreTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName. |
branchManager, catalogEnvironment, changelogManager, consumerManager, coreOptions, createBranch, createBranch, createRowKeyExtractor, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, equals, fastForward, fileIO, fullName, indexManifestFileReader, latestSnapshot, location, manifestFileReader, manifestListReader, name, newCommit, newExpireChangelog, newExpireSnapshots, newLocalTableQuery, newSnapshotReader, newStreamScan, newWrite, newWrite, newWriteSelector, renameTag, replaceTag, rollbackTo, rollbackTo, schema, schemaManager, setSnapshotCache, setStatsCache, snapshot, snapshotManager, statistics, store, supportStreamingReadOverwrite, tagManager, uuid, wrappedclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbucketMode, bucketSpec, comment, options, partitionKeys, primaryKeys, purgeFiles, rowTypenewBatchWriteBuilder, newReadBuilder, newStreamWriteBuilderdeleteBranches, deleteTagspublic FallbackReadFileStoreTable(FileStoreTable wrapped, FileStoreTable fallback)
public FileStoreTable copy(Map<String,String> dynamicOptions)
Tablepublic FileStoreTable copy(TableSchema newTableSchema)
public FileStoreTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTablepublic FileStoreTable copyWithLatestSchema()
FileStoreTablepublic FileStoreTable switchToBranch(String branchName)
FileStoreTableDataTable with branch identified by branchName. Note that this method
does not keep dynamic options in current table.public void setManifestCache(SegmentsCache<Path> manifestCache)
setManifestCache in interface FileStoreTablesetManifestCache in class DelegatedFileStoreTablepublic DataTableScan newScan()
newScan in interface DataTablenewScan in interface InnerTablenewScan in class DelegatedFileStoreTablepublic InnerTableRead newRead()
newRead in interface InnerTablenewRead in class DelegatedFileStoreTableCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.