public class JSONCreateTableMessage extends CreateTableMessage
EventMessage.EventType
eventType
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,
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
|
Table |
getTableObj() |
String |
getTableObjJson() |
String |
getTableType() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public 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()
EventMessage
getServer
in class EventMessage
public String getServicePrincipal()
EventMessage
getServicePrincipal
in class EventMessage
public String getDB()
EventMessage
getDB
in class EventMessage
public Long getTimestamp()
EventMessage
getTimestamp
in class EventMessage
public String getTable()
CreateTableMessage
getTable
in class CreateTableMessage
public String getTableType()
getTableType
in class CreateTableMessage
public Table getTableObj() throws Exception
getTableObj
in class CreateTableMessage
Exception
public String getTableObjJson()
public Iterable<String> getFiles()
CreateTableMessage
getFiles
in class CreateTableMessage
Copyright © 2019 The Apache Software Foundation. All rights reserved.