public class PrivilegedObjectTable extends PrivilegedFileStoreTable implements ObjectTable
ObjectTable.Builder, ObjectTable.ObjectTableImpl
identifier, privilegeChecker
wrapped
SCHEMA
Modifier | Constructor and Description |
---|---|
protected |
PrivilegedObjectTable(ObjectTable wrapped,
PrivilegeChecker privilegeChecker,
Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
PrivilegedObjectTable |
copy(Map<String,String> dynamicOptions)
Copy this table with adding dynamic options.
|
PrivilegedObjectTable |
copy(TableSchema newTableSchema) |
PrivilegedObjectTable |
copyWithLatestSchema()
TODO: this method is weird, old options will overwrite new options.
|
PrivilegedObjectTable |
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() |
PrivilegedObjectTable |
switchToBranch(String branchName)
Get
DataTable with branch identified by branchName . |
FileStoreTable |
underlyingTable()
Underlying table to store metadata.
|
branchManager, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, equals, fastForward, latestSnapshotId, newCommit, newExpireChangelog, newExpireSnapshots, newLocalTableQuery, newRead, newScan, newSnapshotReader, newStreamScan, newWrite, newWrite, newWriteSelector, renameTag, rollbackTo, rollbackTo, snapshot, snapshotManager, statistics, store, tagManager, wrap
catalogEnvironment, coreOptions, createRowKeyExtractor, fileIO, fullName, indexManifestFileReader, location, manifestFileReader, manifestListReader, name, replaceTag, schema, schemaManager, setManifestCache, setSnapshotCache, setStatsCache, supportStreamingReadOverwrite, uuid, wrapped
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder
bucketMode, bucketSpec, catalogEnvironment, comment, createRowKeyExtractor, newCommit, newLocalTableQuery, newWrite, newWrite, options, partitionKeys, primaryKeys, rowType, schema, setManifestCache, setSnapshotCache, setStatsCache, 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
protected PrivilegedObjectTable(ObjectTable wrapped, PrivilegeChecker privilegeChecker, Identifier identifier)
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 PrivilegedObjectTable copy(Map<String,String> dynamicOptions)
Table
copy
in interface FileStoreTable
copy
in interface ObjectTable
copy
in interface Table
copy
in class PrivilegedFileStoreTable
public PrivilegedObjectTable copy(TableSchema newTableSchema)
copy
in interface FileStoreTable
copy
in interface ObjectTable
copy
in class PrivilegedFileStoreTable
public PrivilegedObjectTable copyWithoutTimeTravel(Map<String,String> dynamicOptions)
FileStoreTable
copyWithoutTimeTravel
in interface FileStoreTable
copyWithoutTimeTravel
in interface ObjectTable
copyWithoutTimeTravel
in class PrivilegedFileStoreTable
public PrivilegedObjectTable copyWithLatestSchema()
FileStoreTable
copyWithLatestSchema
in interface FileStoreTable
copyWithLatestSchema
in interface ObjectTable
copyWithLatestSchema
in class PrivilegedFileStoreTable
public PrivilegedObjectTable 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
switchToBranch
in class PrivilegedFileStoreTable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.