Package org.apache.avro.generic
Interface DeterministicMapOrderDatumWriter
- All Known Implementing Classes:
DeterministicMapOrderGenericDatumWriter
,DeterministicMapOrderSpecificDatumWriter
public interface DeterministicMapOrderDatumWriter
This interface provides method to write map entries in a deterministic order. By default, the "deterministic order" is
the same as natural ordering of map keys.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
internalWrite
(org.apache.avro.Schema schema, Object datum, org.apache.avro.io.Encoder out) default void
writeMapWithDeterministicOrder
(org.apache.avro.Schema schema, Object datum, org.apache.avro.io.Encoder out)
-
Field Details
-
COMPARATOR
-
-
Method Details
-
internalWrite
void internalWrite(org.apache.avro.Schema schema, Object datum, org.apache.avro.io.Encoder out) throws IOException - Throws:
IOException
-
writeMapWithDeterministicOrder
default void writeMapWithDeterministicOrder(org.apache.avro.Schema schema, Object datum, org.apache.avro.io.Encoder out) throws IOException - Throws:
IOException
-