JSONMessageFactory
insteadpublic class JSONMessageFactory extends MessageFactory
HCAT_SERVER_URL, HCAT_SERVICE_PRINCIPAL, hiveConf
Constructor and Description |
---|
JSONMessageFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AddPartitionMessage |
buildAddPartitionMessage(Table table,
Partition partition)
Deprecated.
Factory method for AddPartitionMessage.
|
CreateDatabaseMessage |
buildCreateDatabaseMessage(Database db)
Deprecated.
Factory method for CreateDatabaseMessage.
|
CreateTableMessage |
buildCreateTableMessage(Table table)
Deprecated.
Factory method for CreateTableMessage.
|
DropDatabaseMessage |
buildDropDatabaseMessage(Database db)
Deprecated.
Factory method for DropDatabaseMessage.
|
DropPartitionMessage |
buildDropPartitionMessage(Table table,
Partition partition)
Deprecated.
Factory method for DropPartitionMessage.
|
DropTableMessage |
buildDropTableMessage(Table table)
Deprecated.
Factory method for DropTableMessage.
|
MessageDeserializer |
getDeserializer()
Deprecated.
|
java.lang.String |
getMessageFormat()
Deprecated.
Getter for message-format.
|
java.lang.String |
getVersion()
Deprecated.
Getter for version-string, corresponding to all constructed messages.
|
getDeserializer, getInstance
public MessageDeserializer getDeserializer()
getDeserializer
in class MessageFactory
public java.lang.String getVersion()
MessageFactory
getVersion
in class MessageFactory
public java.lang.String getMessageFormat()
MessageFactory
getMessageFormat
in class MessageFactory
public CreateDatabaseMessage buildCreateDatabaseMessage(Database db)
MessageFactory
buildCreateDatabaseMessage
in class MessageFactory
db
- The Database being added.public DropDatabaseMessage buildDropDatabaseMessage(Database db)
MessageFactory
buildDropDatabaseMessage
in class MessageFactory
db
- The Database being dropped.public CreateTableMessage buildCreateTableMessage(Table table)
MessageFactory
buildCreateTableMessage
in class MessageFactory
table
- The Table being created.public DropTableMessage buildDropTableMessage(Table table)
MessageFactory
buildDropTableMessage
in class MessageFactory
table
- The Table being dropped.public AddPartitionMessage buildAddPartitionMessage(Table table, Partition partition)
MessageFactory
buildAddPartitionMessage
in class MessageFactory
table
- The Table to which the partition is added.partition
- The Partition being added.public DropPartitionMessage buildDropPartitionMessage(Table table, Partition partition)
MessageFactory
buildDropPartitionMessage
in class MessageFactory
table
- The Table from which the partition is dropped.partition
- The Partition being dropped.Copyright © 2012 The Apache Software Foundation