public class CompactBucketsTable extends Object implements DataTable, ReadonlyTable
Only used internally by dedicated compact job sources.
| Constructor and Description |
|---|
CompactBucketsTable(FileStoreTable wrapped,
boolean isContinuous) |
CompactBucketsTable(FileStoreTable wrapped,
boolean isContinuous,
String databaseName) |
| Modifier and Type | Method and Description |
|---|---|
BranchManager |
branchManager() |
CompactBucketsTable |
copy(Map<String,String> dynamicOptions)
Copy this table with adding dynamic options.
|
CoreOptions |
coreOptions() |
FileIO |
fileIO() |
static RowType |
getRowType() |
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.
|
InnerTableRead |
newRead() |
DataTableScan |
newScan() |
SnapshotReader |
newSnapshotReader() |
StreamDataTableScan |
newStreamScan() |
Map<String,String> |
options()
Options of this table.
|
List<String> |
primaryKeys()
Primary keys of this table.
|
RowType |
rowType()
Returns the row type of this table.
|
Snapshot |
snapshot(long snapshotId)
Get the
Snapshot from snapshot id. |
SnapshotManager |
snapshotManager() |
DataTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName. |
TagManager |
tagManager() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomment, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, fastForward, newBatchWriteBuilder, newCommit, newExpireChangelog, newExpireSnapshots, newStreamWriteBuilder, newWrite, newWriteSelector, partitionKeys, rollbackTo, rollbackTo, statisticsnewReadBuilderdeleteBranches, deleteTags, fullNamepublic CompactBucketsTable(FileStoreTable wrapped, boolean isContinuous)
public CompactBucketsTable(FileStoreTable wrapped, boolean isContinuous, String databaseName)
public OptionalLong latestSnapshotId()
TablelatestSnapshotId in interface ReadonlyTablelatestSnapshotId in interface Tablepublic Snapshot snapshot(long snapshotId)
TableSnapshot from snapshot id.snapshot in interface ReadonlyTablesnapshot in interface Tablepublic SimpleFileReader<ManifestFileMeta> manifestListReader()
TablemanifestListReader in interface ReadonlyTablemanifestListReader in interface Tablepublic SimpleFileReader<ManifestEntry> manifestFileReader()
TablemanifestFileReader in interface ReadonlyTablemanifestFileReader in interface Tablepublic SimpleFileReader<IndexManifestEntry> indexManifestFileReader()
TableindexManifestFileReader in interface ReadonlyTableindexManifestFileReader in interface Tablepublic SnapshotManager snapshotManager()
snapshotManager in interface DataTablepublic TagManager tagManager()
tagManager in interface DataTablepublic BranchManager branchManager()
branchManager in interface DataTablepublic DataTable switchToBranch(String branchName)
DataTableDataTable with branch identified by branchName. Note that this method
does not keep dynamic options in current table.switchToBranch in interface DataTablepublic RowType rowType()
Tablepublic Map<String,String> options()
Tableoptions in interface ReadonlyTableoptions in interface Tablepublic List<String> primaryKeys()
TableprimaryKeys in interface Tablepublic SnapshotReader newSnapshotReader()
newSnapshotReader in interface DataTablepublic DataTableScan newScan()
newScan in interface DataTablenewScan in interface InnerTablepublic StreamDataTableScan newStreamScan()
newStreamScan in interface InnerTablenewStreamScan in interface ReadonlyTablepublic CoreOptions coreOptions()
coreOptions in interface DataTablepublic InnerTableRead newRead()
newRead in interface InnerTablepublic CompactBucketsTable copy(Map<String,String> dynamicOptions)
Tablepublic static RowType getRowType()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.