public class JSONAlterTableMessage extends AlterTableMessage
EventMessage.EventType
eventType
Constructor and Description |
---|
JSONAlterTableMessage()
Default constructor, needed for Jackson.
|
JSONAlterTableMessage(String server,
String servicePrincipal,
Table tableObjBefore,
Table tableObjAfter,
Long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
String |
getServer()
Getter for HCatalog Server's URL.
|
String |
getServicePrincipal()
Getter for the Kerberos principal of the HCatalog service.
|
String |
getTable() |
Table |
getTableObjAfter() |
String |
getTableObjAfterJson() |
Table |
getTableObjBefore() |
String |
getTableObjBeforeJson() |
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public JSONAlterTableMessage()
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()
getTable
in class AlterTableMessage
public Table getTableObjBefore() throws Exception
getTableObjBefore
in class AlterTableMessage
Exception
public Table getTableObjAfter() throws Exception
getTableObjAfter
in class AlterTableMessage
Exception
public String getTableObjBeforeJson()
public String getTableObjAfterJson()
Copyright © 2021 The Apache Software Foundation. All rights reserved.