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.
|
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, wait
comment, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, fastForward, indexManifestFileReader, latestSnapshotId, manifestFileReader, manifestListReader, newBatchWriteBuilder, newCommit, newExpireChangelog, newExpireSnapshots, newStreamScan, newStreamWriteBuilder, newWrite, newWriteSelector, options, partitionKeys, renameTag, replaceTag, rollbackTo, rollbackTo, snapshot, statistics
newReadBuilder
deleteBranches, deleteTags, fullName, uuid
public static final String ALL_TABLE_OPTIONS
public AllTableOptionsTable(Map<Identifier,Map<String,String>> allOptions)
public RowType rowType()
Table
public List<String> primaryKeys()
Table
primaryKeys
in interface Table
public InnerTableScan newScan()
newScan
in interface InnerTable
public InnerTableRead newRead()
newRead
in interface InnerTable
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.