public static class ObjectTable.ObjectTableImpl extends DelegatedFileStoreTable implements ObjectTable
ObjectTable
.ObjectTable.Builder, ObjectTable.ObjectTableImpl
wrapped
SCHEMA
Constructor and Description |
---|
ObjectTableImpl(FileStoreTable underlyingTable,
FileIO objectFileIO,
String objectLocation) |
Modifier and Type | Method and Description |
---|---|
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.
|
BatchWriteBuilder |
newBatchWriteBuilder()
Returns a new batch write builder.
|
TableCommitImpl |
newCommit(String commitUser) |
StreamWriteBuilder |
newStreamWriteBuilder()
Returns a new stream write builder.
|
TableWriteImpl<?> |
newWrite(String commitUser) |
TableWriteImpl<?> |
newWrite(String commitUser,
ManifestCacheFilter manifestFilter) |
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.
|
branchManager, catalogEnvironment, coreOptions, createBranch, createBranch, createRowKeyExtractor, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, equals, fastForward, fileIO, fullName, indexManifestFileReader, latestSnapshotId, location, manifestFileReader, manifestListReader, name, newExpireChangelog, newExpireSnapshots, newLocalTableQuery, newRead, newScan, newSnapshotReader, newStreamScan, newWriteSelector, renameTag, replaceTag, rollbackTo, rollbackTo, schema, schemaManager, setManifestCache, setSnapshotCache, snapshot, snapshotManager, statistics, store, supportStreamingReadOverwrite, tagManager, uuid, wrapped
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder
bucketMode, bucketSpec, catalogEnvironment, comment, createRowKeyExtractor, newLocalTableQuery, options, partitionKeys, primaryKeys, rowType, schema, setManifestCache, setSnapshotCache, store, supportStreamingReadOverwrite
branchManager, coreOptions, fileIO, location, newScan, newSnapshotReader, schemaManager, snapshotManager, tagManager
newRead, newReadBuilder, newStreamScan, 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
public ObjectTableImpl(FileStoreTable underlyingTable, FileIO objectFileIO, String objectLocation)
public BatchWriteBuilder newBatchWriteBuilder()
Table
newBatchWriteBuilder
in interface InnerTable
newBatchWriteBuilder
in interface Table
public StreamWriteBuilder newStreamWriteBuilder()
Table
newStreamWriteBuilder
in interface InnerTable
newStreamWriteBuilder
in interface Table
public TableWriteImpl<?> newWrite(String commitUser)
newWrite
in interface FileStoreTable
newWrite
in interface InnerTable
newWrite
in class DelegatedFileStoreTable
public TableWriteImpl<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter)
newWrite
in interface FileStoreTable
newWrite
in class DelegatedFileStoreTable
public TableCommitImpl newCommit(String commitUser)
newCommit
in interface FileStoreTable
newCommit
in interface InnerTable
newCommit
in class DelegatedFileStoreTable
public String objectLocation()
ObjectTable
objectLocation
in interface ObjectTable
public FileStoreTable underlyingTable()
ObjectTable
underlyingTable
in interface ObjectTable
public FileIO objectFileIO()
ObjectTable
objectFileIO
in interface ObjectTable
public long refresh()
refresh
in interface ObjectTable
public ObjectTable copy(Map<String,String> dynamicOptions)
Table
copy
in interface FileStoreTable
copy
in interface ObjectTable
copy
in interface Table
public ObjectTable copy(TableSchema newTableSchema)
copy
in interface FileStoreTable
copy
in interface ObjectTable
public ObjectTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable
copyWithoutTimeTravel
in interface FileStoreTable
copyWithoutTimeTravel
in interface ObjectTable
public ObjectTable copyWithLatestSchema()
FileStoreTable
copyWithLatestSchema
in interface FileStoreTable
copyWithLatestSchema
in interface ObjectTable
public 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
switchToBranch
in interface ObjectTable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.