JSONAddPartitionMessage insteadpublic class JSONAddPartitionMessage extends AddPartitionMessage
HCatEventMessage.EventTypeeventType| Constructor and Description |
|---|
JSONAddPartitionMessage()
Deprecated.
Default Constructor.
|
JSONAddPartitionMessage(java.lang.String server,
java.lang.String servicePrincipal,
java.lang.String db,
java.lang.String table,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> partitions,
java.lang.Long timestamp)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDB()
Deprecated.
Getter for the name of the Database on which the Metastore operation is done.
|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getPartitions()
Deprecated.
Getter for list of partitions added.
|
java.lang.String |
getServer()
Deprecated.
Getter for HCatalog Server's URL.
|
java.lang.String |
getServicePrincipal()
Deprecated.
Getter for the Kerberos principal of the HCatalog service.
|
java.lang.String |
getTable()
Deprecated.
Getter for name of table (where partitions are added).
|
java.lang.Long |
getTimestamp()
Deprecated.
Getter for the timestamp associated with the operation.
|
java.lang.String |
toString()
Deprecated.
|
checkValidgetEventTypepublic JSONAddPartitionMessage()
public JSONAddPartitionMessage(java.lang.String server,
java.lang.String servicePrincipal,
java.lang.String db,
java.lang.String table,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> partitions,
java.lang.Long timestamp)
public java.lang.String getServer()
HCatEventMessagegetServer in class HCatEventMessagepublic java.lang.String getServicePrincipal()
HCatEventMessagegetServicePrincipal in class HCatEventMessagepublic java.lang.String getDB()
HCatEventMessagegetDB in class HCatEventMessagepublic java.lang.String getTable()
AddPartitionMessagegetTable in class AddPartitionMessagepublic java.lang.Long getTimestamp()
HCatEventMessagegetTimestamp in class HCatEventMessagepublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getPartitions()
AddPartitionMessagegetPartitions in class AddPartitionMessagepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012 The Apache Software Foundation