Class FlowFileAttributesSerializer
java.lang.Object
org.apache.nifi.processors.standard.util.FlowFileAttributesSerializer
- All Implemented Interfaces:
Deserializer<Map<String,,String>> Serializer<Map<String,String>>
public class FlowFileAttributesSerializer
extends Object
implements Deserializer<Map<String,String>>, Serializer<Map<String,String>>
Offers serialization and deserialization for flow file attribute maps.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(byte[] input) voidserialize(Map<String, String> value, OutputStream output)
-
Field Details
-
ATTRIBUTE_SEPARATOR
- See Also:
-
-
Constructor Details
-
FlowFileAttributesSerializer
public FlowFileAttributesSerializer()
-
-
Method Details
-
deserialize
- Specified by:
deserializein interfaceDeserializer<Map<String,String>> - Throws:
DeserializationException
-
serialize
public void serialize(Map<String, String> value, OutputStream output) throws SerializationException, IOException- Specified by:
serializein interfaceSerializer<Map<String,String>> - Throws:
SerializationExceptionIOException
-