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() |
default SimpleStats |
getSchemaFieldStats(DataFileMeta dataFileMeta) |
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) |
FileStore<?> |
store() |
boolean |
supportStreamingReadOverwrite() |
FileStoreTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName. |
branchManager, coreOptions, fileIO, location, newScan, newSnapshotReader, snapshotManager, tagManagernewBatchWriteBuilder, newRead, newReadBuilder, newStreamScan, newStreamWriteBuilder, newWriteSelectorcreateBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteBranches, deleteTag, deleteTags, fastForward, fullName, indexManifestFileReader, latestSnapshotId, manifestFileReader, manifestListReader, name, newExpireChangelog, newExpireSnapshots, rollbackTo, rollbackTo, snapshot, statisticsvoid setManifestCache(SegmentsCache<Path> manifestCache)
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()
default SimpleStats getSchemaFieldStats(DataFileMeta dataFileMeta)
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–2024 The Apache Software Foundation. All rights reserved.