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, tagManager
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bucketMode, bucketSpec, comment, getSchemaFieldStats, options, partitionKeys, primaryKeys, rowType
newBatchWriteBuilder, newReadBuilder, newStreamWriteBuilder
deleteBranches, deleteTags
public FallbackReadFileStoreTable(FileStoreTable main, FileStoreTable fallback)
public FileStoreTable copy(Map<String,String> dynamicOptions)
Table
public FileStoreTable copy(TableSchema newTableSchema)
public FileStoreTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable
public FileStoreTable copyWithLatestSchema()
FileStoreTable
public FileStoreTable switchToBranch(String branchName)
FileStoreTable
DataTable
with branch identified by branchName
. Note that this method
does not keep dynamic options in current table.public DataTableScan newScan()
newScan
in interface DataTable
newScan
in interface InnerTable
newScan
in class DelegatedFileStoreTable
public InnerTableRead newRead()
newRead
in interface InnerTable
newRead
in class DelegatedFileStoreTable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.