public class AllTableOptionsTable extends Object implements ReadonlyTable
For example:
If we select * from sys.all_table_options, we will get
databasename tablename key value
default test0 a b
my_db test1 c d
... ... ... ...
We can write sql to fetch the information we need.
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_TABLE_OPTIONS |
| Constructor and Description |
|---|
AllTableOptionsTable(Map<Identifier,Map<String,String>> allOptions) |
| Modifier and Type | Method and Description |
|---|---|
Table |
copy(Map<String,String> dynamicOptions)
Copy this table with adding dynamic options.
|
FileIO |
fileIO()
File io of this table.
|
String |
name()
A name to identify this table.
|
InnerTableRead |
newRead() |
InnerTableScan |
newScan() |
List<String> |
primaryKeys()
Primary keys of this table.
|
RowType |
rowType()
Returns the row type of this table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomment, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, fastForward, indexManifestFileReader, latestSnapshot, manifestFileReader, manifestListReader, newBatchWriteBuilder, newCommit, newExpireChangelog, newExpireSnapshots, newStreamScan, newStreamWriteBuilder, newWrite, newWriteSelector, options, partitionKeys, renameTag, replaceTag, rollbackTo, rollbackTo, snapshot, statisticsnewReadBuilderdeleteBranches, deleteTags, fullName, uuidpublic static final String ALL_TABLE_OPTIONS
public AllTableOptionsTable(Map<Identifier,Map<String,String>> allOptions)
public RowType rowType()
Tablepublic List<String> primaryKeys()
TableprimaryKeys in interface Tablepublic InnerTableScan newScan()
newScan in interface InnerTablepublic InnerTableRead newRead()
newRead in interface InnerTableCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.