public interface ObjectTable extends FileStoreTable
Object Table stores the metadata of objects in the underlying table.
Modifier and Type | Interface and Description |
---|---|
static class |
ObjectTable.Builder
Builder for
ObjectTable . |
static class |
ObjectTable.ObjectTableImpl
An implementation for
ObjectTable . |
Modifier and Type | Method and Description |
---|---|
static ObjectTable.Builder |
builder()
Create a new builder for
ObjectTable . |
ObjectTable |
copy(Map<String,String> dynamicOptions)
Copy this table with adding dynamic options.
|
ObjectTable |
copy(TableSchema newTableSchema) |
ObjectTable |
copyWithLatestSchema()
TODO: this method is weird, old options will overwrite new options.
|
ObjectTable |
copyWithoutTimeTravel(Map<String,String> dynamicOptions)
Doesn't change table schema even when there exists time travel scan options.
|
FileIO |
objectFileIO()
File io for object file system.
|
String |
objectLocation()
Object location in file system.
|
long |
refresh() |
ObjectTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName . |
FileStoreTable |
underlyingTable()
Underlying table to store metadata.
|
bucketMode, bucketSpec, catalogEnvironment, comment, createRowKeyExtractor, newCommit, newLocalTableQuery, newWrite, newWrite, options, partitionKeys, primaryKeys, rowType, schema, setManifestCache, setSnapshotCache, store, supportStreamingReadOverwrite
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
static final RowType SCHEMA
String objectLocation()
FileStoreTable underlyingTable()
FileIO objectFileIO()
long refresh()
ObjectTable copy(Map<String,String> dynamicOptions)
Table
copy
in interface FileStoreTable
copy
in interface Table
ObjectTable copy(TableSchema newTableSchema)
copy
in interface FileStoreTable
ObjectTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable
copyWithoutTimeTravel
in interface FileStoreTable
ObjectTable copyWithLatestSchema()
FileStoreTable
copyWithLatestSchema
in interface FileStoreTable
ObjectTable switchToBranch(String branchName)
FileStoreTable
DataTable
with branch identified by branchName
. Note that this method
does not keep dynamic options in current table.switchToBranch
in interface DataTable
switchToBranch
in interface FileStoreTable
static ObjectTable.Builder builder()
ObjectTable
.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.