public class JSONCreateTableMessage extends CreateTableMessage
EventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONCreateTableMessage()
Default constructor, needed for Jackson.
|
JSONCreateTableMessage(String server,
String servicePrincipal,
String db,
String table,
Long timestamp) |
JSONCreateTableMessage(String server,
String servicePrincipal,
String db,
String table,
String tableType,
Long timestamp) |
JSONCreateTableMessage(String server,
String servicePrincipal,
org.apache.hadoop.hive.metastore.api.Table tableObj,
Iterator<String> fileIter,
Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
Iterable<String> |
getFiles()
Get list of files created as a result of this DML operation
|
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable()
Getter for the name of table created
|
org.apache.hadoop.hive.metastore.api.Table |
getTableObj() |
String |
getTableObjJson() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValidgetEventTypepublic JSONCreateTableMessage()
public JSONCreateTableMessage(String server, String servicePrincipal, String db, String table, String tableType, Long timestamp)
public JSONCreateTableMessage(String server, String servicePrincipal, String db, String table, Long timestamp)
public String getServer()
EventMessagegetServer in class EventMessagepublic String getServicePrincipal()
EventMessagegetServicePrincipal in class EventMessagepublic String getDB()
EventMessagegetDB in class EventMessagepublic Long getTimestamp()
EventMessagegetTimestamp in class EventMessagepublic String getTable()
CreateTableMessagegetTable in class CreateTableMessagepublic String getTableType()
getTableType in class CreateTableMessagepublic org.apache.hadoop.hive.metastore.api.Table getTableObj()
throws Exception
getTableObj in class CreateTableMessageExceptionpublic String getTableObjJson()
public Iterable<String> getFiles()
CreateTableMessagegetFiles in class CreateTableMessageCopyright © 2019 The Apache Software Foundation. All Rights Reserved.