public abstract class DelegatedFileStoreTable extends Object implements FileStoreTable
FileStoreTable.| Modifier and Type | Field and Description |
|---|---|
protected FileStoreTable |
wrapped |
| Constructor and Description |
|---|
DelegatedFileStoreTable(FileStoreTable wrapped) |
| Modifier and Type | Method and Description |
|---|---|
BranchManager |
branchManager() |
CatalogEnvironment |
catalogEnvironment() |
CoreOptions |
coreOptions() |
void |
createBranch(String branchName)
Create an empty branch.
|
void |
createBranch(String branchName,
String tagName)
Create a branch from given tag.
|
RowKeyExtractor |
createRowKeyExtractor() |
void |
createTag(String tagName)
Create a tag from latest snapshot.
|
void |
createTag(String tagName,
java.time.Duration timeRetained) |
void |
createTag(String tagName,
long fromSnapshotId)
Create a tag from given snapshot.
|
void |
createTag(String tagName,
long fromSnapshotId,
java.time.Duration timeRetained) |
void |
deleteBranch(String branchName)
Delete a branch by branchName.
|
void |
deleteTag(String tagName)
Delete a tag by name.
|
boolean |
equals(Object o) |
void |
fastForward(String branchName)
Merge a branch to main branch.
|
FileIO |
fileIO() |
String |
fullName() |
SimpleFileReader<IndexManifestEntry> |
indexManifestFileReader()
Reader to read index manifest entry from index manifest file.
|
OptionalLong |
latestSnapshotId()
Get the latest snapshot id for this table, or empty if there are no snapshots.
|
Path |
location() |
SimpleFileReader<ManifestEntry> |
manifestFileReader()
Reader to read manifest entry from manifest file.
|
SimpleFileReader<ManifestFileMeta> |
manifestListReader()
Reader to read manifest file meta from manifest list file.
|
String |
name()
A name to identify this table.
|
TableCommitImpl |
newCommit(String commitUser) |
ExpireSnapshots |
newExpireChangelog() |
ExpireSnapshots |
newExpireSnapshots()
Manually expire snapshots, parameters can be controlled independently of table options.
|
LocalTableQuery |
newLocalTableQuery() |
InnerTableRead |
newRead() |
DataTableScan |
newScan() |
SnapshotReader |
newSnapshotReader() |
StreamDataTableScan |
newStreamScan() |
TableWriteImpl<?> |
newWrite(String commitUser) |
TableWriteImpl<?> |
newWrite(String commitUser,
ManifestCacheFilter manifestFilter) |
Optional<WriteSelector> |
newWriteSelector() |
void |
rollbackTo(long snapshotId)
Rollback table's state to a specific snapshot.
|
void |
rollbackTo(String tagName)
Rollback table's state to a specific tag.
|
TableSchema |
schema() |
void |
setManifestCache(SegmentsCache<Path> manifestCache) |
Snapshot |
snapshot(long snapshotId)
Get the
Snapshot from snapshot id. |
SnapshotManager |
snapshotManager() |
Optional<Statistics> |
statistics()
Optional statistics of this table.
|
FileStore<?> |
store() |
boolean |
supportStreamingReadOverwrite() |
TagManager |
tagManager() |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbucketMode, bucketSpec, comment, copy, copy, copyWithLatestSchema, copyWithoutTimeTravel, getSchemaFieldStats, options, partitionKeys, primaryKeys, rowType, switchToBranchnewBatchWriteBuilder, newReadBuilder, newStreamWriteBuilderdeleteBranches, deleteTagsprotected final FileStoreTable wrapped
public DelegatedFileStoreTable(FileStoreTable wrapped)
public SnapshotReader newSnapshotReader()
newSnapshotReader in interface DataTablepublic CoreOptions coreOptions()
coreOptions in interface DataTablepublic SnapshotManager snapshotManager()
snapshotManager in interface DataTablepublic TagManager tagManager()
tagManager in interface DataTablepublic BranchManager branchManager()
branchManager in interface DataTablepublic void setManifestCache(SegmentsCache<Path> manifestCache)
setManifestCache in interface FileStoreTablepublic TableSchema schema()
schema in interface FileStoreTablepublic FileStore<?> store()
store in interface FileStoreTablepublic CatalogEnvironment catalogEnvironment()
catalogEnvironment in interface FileStoreTablepublic Optional<Statistics> statistics()
Tablestatistics in interface Tablepublic OptionalLong latestSnapshotId()
TablelatestSnapshotId in interface Tablepublic Snapshot snapshot(long snapshotId)
TableSnapshot from snapshot id.public SimpleFileReader<ManifestFileMeta> manifestListReader()
TablemanifestListReader in interface Tablepublic SimpleFileReader<ManifestEntry> manifestFileReader()
TablemanifestFileReader in interface Tablepublic SimpleFileReader<IndexManifestEntry> indexManifestFileReader()
TableindexManifestFileReader in interface Tablepublic void rollbackTo(long snapshotId)
TablerollbackTo in interface Tablepublic void createTag(String tagName)
Tablepublic void createTag(String tagName, long fromSnapshotId)
Tablepublic void createTag(String tagName, java.time.Duration timeRetained)
public void createTag(String tagName, long fromSnapshotId, java.time.Duration timeRetained)
public void deleteTag(String tagName)
Tablepublic void rollbackTo(String tagName)
TablerollbackTo in interface Tablepublic void createBranch(String branchName)
TablecreateBranch in interface Tablepublic void createBranch(String branchName, String tagName)
TablecreateBranch in interface Tablepublic void deleteBranch(String branchName)
TabledeleteBranch in interface Tablepublic void fastForward(String branchName)
TablefastForward in interface Tablepublic ExpireSnapshots newExpireSnapshots()
TablenewExpireSnapshots in interface Tablepublic ExpireSnapshots newExpireChangelog()
newExpireChangelog in interface Tablepublic DataTableScan newScan()
newScan in interface DataTablenewScan in interface InnerTablepublic StreamDataTableScan newStreamScan()
newStreamScan in interface InnerTablepublic InnerTableRead newRead()
newRead in interface InnerTablepublic Optional<WriteSelector> newWriteSelector()
newWriteSelector in interface InnerTablepublic TableWriteImpl<?> newWrite(String commitUser)
newWrite in interface FileStoreTablenewWrite in interface InnerTablepublic TableWriteImpl<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter)
newWrite in interface FileStoreTablepublic TableCommitImpl newCommit(String commitUser)
newCommit in interface FileStoreTablenewCommit in interface InnerTablepublic LocalTableQuery newLocalTableQuery()
newLocalTableQuery in interface FileStoreTablepublic boolean supportStreamingReadOverwrite()
supportStreamingReadOverwrite in interface FileStoreTablepublic RowKeyExtractor createRowKeyExtractor()
createRowKeyExtractor in interface FileStoreTableCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.