Class ProcedureUtil.CompatStateSerializer
java.lang.Object
org.apache.hadoop.hbase.procedure2.ProcedureUtil.CompatStateSerializer
- All Implemented Interfaces:
ProcedureStateSerializer
- Enclosing class:
- ProcedureUtil
private static class ProcedureUtil.CompatStateSerializer
extends Object
implements ProcedureStateSerializer
A serializer (deserializer) for those Procedures which were serialized before this patch. It
deserializes the old, binary stateData field.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<M extends org.apache.hbase.thirdparty.com.google.protobuf.Message>
Mdeserialize
(Class<M> clazz) void
serialize
(org.apache.hbase.thirdparty.com.google.protobuf.Message message)
-
Field Details
-
inputStream
-
-
Constructor Details
-
CompatStateSerializer
-
-
Method Details
-
serialize
public void serialize(org.apache.hbase.thirdparty.com.google.protobuf.Message message) throws IOException - Specified by:
serialize
in interfaceProcedureStateSerializer
- Throws:
IOException
-
deserialize
public <M extends org.apache.hbase.thirdparty.com.google.protobuf.Message> M deserialize(Class<M> clazz) throws IOException - Specified by:
deserialize
in interfaceProcedureStateSerializer
- Throws:
IOException
-