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 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) |
FileStore<?> |
store() |
boolean |
supportStreamingReadOverwrite() |
FileStoreTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName . |
branchManager, coreOptions, fileIO, location, newScan, newSnapshotReader, schemaManager, snapshotManager, tagManager
newBatchWriteBuilder, newRead, newReadBuilder, newStreamScan, newStreamWriteBuilder, newWriteSelector
createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteBranches, deleteTag, deleteTags, fastForward, fullName, indexManifestFileReader, latestSnapshotId, manifestFileReader, manifestListReader, name, newExpireChangelog, newExpireSnapshots, renameTag, replaceTag, rollbackTo, rollbackTo, snapshot, statistics, uuid
void setManifestCache(SegmentsCache<Path> manifestCache)
void setSnapshotCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<Path,Snapshot> cache)
default RowType rowType()
Table
default List<String> partitionKeys()
Table
partitionKeys
in interface Table
default List<String> primaryKeys()
Table
primaryKeys
in interface Table
default BucketSpec bucketSpec()
default BucketMode bucketMode()
default Map<String,String> options()
Table
default Optional<String> comment()
Table
TableSchema schema()
FileStore<?> store()
CatalogEnvironment catalogEnvironment()
FileStoreTable copy(Map<String,String> dynamicOptions)
Table
FileStoreTable copy(TableSchema newTableSchema)
FileStoreTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable copyWithLatestSchema()
TableWriteImpl<?> newWrite(String commitUser)
newWrite
in interface InnerTable
TableWriteImpl<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter)
TableCommitImpl newCommit(String commitUser)
newCommit
in interface InnerTable
LocalTableQuery 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 DataTable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.