public class AcidTable extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
createPartitions() |
String |
getDatabaseName() |
String |
getOutputFormatName()
Returns
null until such a time that the table described by the database_name
. table_name has been resolved with the meta store database (when
MutatorClient.connect() exits), at which point this will then return the corresponding
OutputFormat . |
String |
getQualifiedName() |
Table |
getTable()
Returns
null until such a time that the table described by the database_name
. table_name has been resolved with the meta store database (when
MutatorClient.connect() exits), at which point this will then return the corresponding Table . |
String |
getTableName() |
TableType |
getTableType() |
int |
getTotalBuckets()
Returns
0 until such a time that the table described by the database_name
. table_name has been resolved with the meta store database (when
MutatorClient.connect() exits), at which point this will then return the corresponding
total bucket count . |
long |
getTransactionId()
Returns
0 until such a time that a Transaction has been acquired (when
MutatorClient.newTransaction() exits), at which point this will return the
transaction id . |
String |
toString() |
public long getTransactionId()
0
until such a time that a Transaction
has been acquired (when
MutatorClient.newTransaction()
exits), at which point this will return the
transaction id
.public String getDatabaseName()
public String getTableName()
public boolean createPartitions()
public String getOutputFormatName()
null
until such a time that the table described by the database_name
.
table_name
has been resolved with the meta store database (when
MutatorClient.connect()
exits), at which point this will then return the corresponding
OutputFormat
.public int getTotalBuckets()
0
until such a time that the table described by the database_name
.
table_name
has been resolved with the meta store database (when
MutatorClient.connect()
exits), at which point this will then return the corresponding
total bucket count
.public TableType getTableType()
public String getQualifiedName()
public Table getTable()
null
until such a time that the table described by the database_name
.
table_name
has been resolved with the meta store database (when
MutatorClient.connect()
exits), at which point this will then return the corresponding Table
.
Provided as a convenience to API users who may wish to gather further meta data regarding the table without
connecting with the meta store once more.Copyright © 2021 The Apache Software Foundation. All rights reserved.