Package org.elasticsearch.cluster
Class DiffableUtils.StringSetValueSerializer<K>
<>>
org.elasticsearch.cluster.DiffableUtils.StringSetValueSerializer<K>
- Type Parameters:
K
- type of map key
- All Implemented Interfaces:
<>>
- Enclosing class:
- DiffableUtils
public static class DiffableUtils.StringSetValueSerializer<K>
extends <>>
Implementation of ValueSerializer that serializes immutable sets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K> DiffableUtils.StringSetValueSerializer<K>
<>
read(StreamInput in, K key)
Reads value from stream.void
<> value, StreamOutput out)
Writes value to streamMethods inherited from class org.elasticsearch.cluster.DiffableUtils.NonDiffableValueSerializer
diff, readDiff, supportsDiffableValues, writeDiff
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.cluster.DiffableUtils.ValueSerializer
supportsVersion, supportsVersion
-
Constructor Details
-
StringSetValueSerializer
public StringSetValueSerializer()
-
-
Method Details
-
getInstance
-
write
Description copied from interface:DiffableUtils.ValueSerializer
Writes value to stream- Throws:
-
read
Description copied from interface:DiffableUtils.ValueSerializer
Reads value from stream. Reading operation can be made dependent on map key.- Throws:
-