Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Decoder using the WakeTuple protocol buffer (class name and bytes) More...
Inherits Org.Apache.REEF.Wake.Remote.IDecoder< T >.
Public Member Functions | |
MultiDecoder () | |
Constructs a decoder that decodes bytes based on the class type More... | |
void | Register< U > (IDecoder< U > decoder) |
Register the decoder for objects of type U More... | |
void | Register< U > (IDecoder< U > decoder, string name) |
Register the decoder for objects of type U More... | |
T | Decode (byte[] data) |
Decodes byte array according to the underlying object type. More... | |
Decoder using the WakeTuple protocol buffer (class name and bytes)
|
inline |
Constructs a decoder that decodes bytes based on the class type
|
inline |
Decodes byte array according to the underlying object type.
data | The data to decode |
Implements Org.Apache.REEF.Wake.Remote.IDecoder< T >.
|
inline |
Register the decoder for objects of type U
U | The type of decoder to use when decoding objects of this type |
decoder | The decoder to use when decoding objects of this type |
U | : | T |
|
inline |
Register the decoder for objects of type U
U | The type of decoder to use when decoding objects of this type |
decoder | The decoder to use when decoding objects of this type |
name | The name of the class to decode |
U | : | T |