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 main,
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() |
FileStoreTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName. |
branchManager, catalogEnvironment, coreOptions, createBranch, createBranch, createRowKeyExtractor, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, equals, fastForward, fileIO, fullName, indexManifestFileReader, latestSnapshotId, location, manifestFileReader, manifestListReader, name, newCommit, newExpireChangelog, newExpireSnapshots, newLocalTableQuery, newSnapshotReader, newStreamScan, newWrite, newWrite, newWriteSelector, rollbackTo, rollbackTo, schema, setManifestCache, snapshot, snapshotManager, statistics, store, supportStreamingReadOverwrite, tagManagerclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbucketMode, bucketSpec, comment, getSchemaFieldStats, options, partitionKeys, primaryKeys, rowTypenewBatchWriteBuilder, newReadBuilder, newStreamWriteBuilderdeleteBranches, deleteTagspublic FallbackReadFileStoreTable(FileStoreTable main, 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 DataTableScan newScan()
newScan in interface DataTablenewScan in interface InnerTablenewScan in class DelegatedFileStoreTablepublic InnerTableRead newRead()
newRead in interface InnerTablenewRead in class DelegatedFileStoreTableCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.