public class JSONInsertMessage extends InsertMessage
HCatEventMessage.EventType
eventType
Constructor and Description |
---|
JSONInsertMessage()
Default constructor, needed for Jackson.
|
JSONInsertMessage(String server,
String servicePrincipal,
String db,
String table,
Map<String,String> partKeyVals,
List<String> files,
Long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getDB()
Getter for the name of the Database on which the Metastore operation is done.
|
List<String> |
getFiles()
Get the list of files created as a result of this DML operation.
|
Map<String,String> |
getPartitionKeyValues()
Get the map of partition keyvalues.
|
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 the table being insert into.
|
Long |
getTimestamp()
Getter for the timestamp associated with the operation.
|
String |
toString() |
checkValid
getEventType
public JSONInsertMessage()
public String getTable()
InsertMessage
getTable
in class InsertMessage
public String getServer()
HCatEventMessage
getServer
in class HCatEventMessage
public Map<String,String> getPartitionKeyValues()
InsertMessage
getPartitionKeyValues
in class InsertMessage
public List<String> getFiles()
InsertMessage
getFiles
in class InsertMessage
public String getServicePrincipal()
HCatEventMessage
getServicePrincipal
in class HCatEventMessage
public String getDB()
HCatEventMessage
getDB
in class HCatEventMessage
public Long getTimestamp()
HCatEventMessage
getTimestamp
in class HCatEventMessage
Copyright © 2017 The Apache Software Foundation. All rights reserved.