public class CacheClientSerde extends Object
| Constructor and Description |
|---|
CacheClientSerde() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collection<byte[]> |
serialize(Set<T> values,
Serializer<T> serializer)
Serialize a collection of values of the given type.
|
static <T> byte[] |
serialize(T value,
Serializer<T> serializer)
Serialize a value of the given type.
|
public static <T> byte[] serialize(T value,
Serializer<T> serializer)
throws IOException
T - the value typevalue - the value to be serializedserializer - the serializer for the input valueIOException - on serialization failurepublic static <T> Collection<byte[]> serialize(Set<T> values, Serializer<T> serializer) throws IOException
T - the value typevalues - the values to be serializedserializer - the serializer for the input valuesIOException - on serialization failureCopyright © 2022 Apache NiFi Project. All rights reserved.