public class JSONMessageDeserializer extends MessageDeserializer
Constructor and Description |
---|
JSONMessageDeserializer() |
Modifier and Type | Method and Description |
---|---|
AddPartitionMessage |
getAddPartitionMessage(String messageBody)
Method to de-serialize AddPartitionMessage instance.
|
AlterPartitionMessage |
getAlterPartitionMessage(String messageBody)
Method to deserialize AlterPartitionMessage
|
AlterTableMessage |
getAlterTableMessage(String messageBody)
Method to de-serialize AlterTableMessge
|
CreateDatabaseMessage |
getCreateDatabaseMessage(String messageBody)
Method to de-serialize CreateDatabaseMessage instance.
|
CreateTableMessage |
getCreateTableMessage(String messageBody)
Method to de-serialize CreateTableMessage instance.
|
DropDatabaseMessage |
getDropDatabaseMessage(String messageBody)
Method to de-serialize DropDatabaseMessage instance.
|
DropPartitionMessage |
getDropPartitionMessage(String messageBody)
Method to de-serialize DropPartitionMessage instance.
|
DropTableMessage |
getDropTableMessage(String messageBody)
Method to de-serialize DropTableMessage instance.
|
InsertMessage |
getInsertMessage(String messageBody)
Method to deserialize InsertMessage
|
getHCatEventMessage
public CreateDatabaseMessage getCreateDatabaseMessage(String messageBody)
MessageDeserializer
getCreateDatabaseMessage
in class MessageDeserializer
public DropDatabaseMessage getDropDatabaseMessage(String messageBody)
MessageDeserializer
getDropDatabaseMessage
in class MessageDeserializer
public CreateTableMessage getCreateTableMessage(String messageBody)
MessageDeserializer
getCreateTableMessage
in class MessageDeserializer
public AlterTableMessage getAlterTableMessage(String messageBody)
MessageDeserializer
getAlterTableMessage
in class MessageDeserializer
messageBody
- string messagepublic DropTableMessage getDropTableMessage(String messageBody)
MessageDeserializer
getDropTableMessage
in class MessageDeserializer
public AddPartitionMessage getAddPartitionMessage(String messageBody)
MessageDeserializer
getAddPartitionMessage
in class MessageDeserializer
public AlterPartitionMessage getAlterPartitionMessage(String messageBody)
MessageDeserializer
getAlterPartitionMessage
in class MessageDeserializer
messageBody
- the message in serialized formpublic DropPartitionMessage getDropPartitionMessage(String messageBody)
MessageDeserializer
getDropPartitionMessage
in class MessageDeserializer
public InsertMessage getInsertMessage(String messageBody)
MessageDeserializer
getInsertMessage
in class MessageDeserializer
messageBody
- the message in serialized formCopyright © 2017 The Apache Software Foundation. All rights reserved.