public interface FileStoreTable extends DataTable
FileStore to provide reading and writing of InternalRow.| Modifier and Type | Method and Description |
|---|---|
default BucketMode |
bucketMode() |
default BucketSpec |
bucketSpec() |
CatalogEnvironment |
catalogEnvironment() |
default Optional<String> |
comment()
Optional comment of this table.
|
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.
|
RowKeyExtractor |
createRowKeyExtractor() |
TableCommitImpl |
newCommit(String commitUser) |
LocalTableQuery |
newLocalTableQuery() |
TableWriteImpl<?> |
newWrite(String commitUser) |
TableWriteImpl<?> |
newWrite(String commitUser,
ManifestCacheFilter manifestFilter) |
default Map<String,String> |
options()
Options of this table.
|
default List<String> |
partitionKeys()
Partition keys of this table.
|
default List<String> |
primaryKeys()
Primary keys of this table.
|
default void |
purgeFiles()
Purge all files in this table.
|
default RowType |
rowType()
Returns the row type of this table.
|
TableSchema |
schema() |
void |
setManifestCache(SegmentsCache<Path> manifestCache) |
void |
setSnapshotCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<Path,Snapshot> cache) |
void |
setStatsCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<String,Statistics> cache) |
FileStore<?> |
store() |
boolean |
supportStreamingReadOverwrite() |
FileStoreTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName. |
branchManager, changelogManager, consumerManager, coreOptions, location, newScan, newSnapshotReader, schemaManager, snapshotManager, tagManagernewBatchWriteBuilder, newRead, newReadBuilder, newStreamScan, newStreamWriteBuilder, newWriteSelectorcreateBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteBranches, deleteTag, deleteTags, fastForward, fileIO, fullName, indexManifestFileReader, latestSnapshot, manifestFileReader, manifestListReader, name, newExpireChangelog, newExpireSnapshots, renameTag, replaceTag, rollbackTo, rollbackTo, snapshot, statistics, uuidvoid setManifestCache(SegmentsCache<Path> manifestCache)
void setSnapshotCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<Path,Snapshot> cache)
void setStatsCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<String,Statistics> cache)
default RowType rowType()
Tabledefault List<String> partitionKeys()
TablepartitionKeys in interface Tabledefault List<String> primaryKeys()
TableprimaryKeys in interface Tabledefault BucketSpec bucketSpec()
default BucketMode bucketMode()
default Map<String,String> options()
Tabledefault Optional<String> comment()
TableTableSchema schema()
FileStore<?> store()
CatalogEnvironment catalogEnvironment()
FileStoreTable copy(Map<String,String> dynamicOptions)
TableFileStoreTable copy(TableSchema newTableSchema)
FileStoreTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable copyWithLatestSchema()
TableWriteImpl<?> newWrite(String commitUser)
newWrite in interface InnerTableTableWriteImpl<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter)
TableCommitImpl newCommit(String commitUser)
newCommit in interface InnerTableLocalTableQuery newLocalTableQuery()
boolean supportStreamingReadOverwrite()
RowKeyExtractor createRowKeyExtractor()
FileStoreTable switchToBranch(String branchName)
DataTable with branch identified by branchName. Note that this method
does not keep dynamic options in current table.switchToBranch in interface DataTableCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.