Class DeterministicMapOrderSpecificDatumWriter<T>

    • Constructor Detail

      • DeterministicMapOrderSpecificDatumWriter

        public DeterministicMapOrderSpecificDatumWriter()
      • DeterministicMapOrderSpecificDatumWriter

        public DeterministicMapOrderSpecificDatumWriter​(java.lang.Class<T> c)
      • DeterministicMapOrderSpecificDatumWriter

        public DeterministicMapOrderSpecificDatumWriter​(org.apache.avro.Schema schema)
      • DeterministicMapOrderSpecificDatumWriter

        public DeterministicMapOrderSpecificDatumWriter​(org.apache.avro.Schema root,
                                                        org.apache.avro.specific.SpecificData specificData)
      • DeterministicMapOrderSpecificDatumWriter

        protected DeterministicMapOrderSpecificDatumWriter​(org.apache.avro.specific.SpecificData specificData)
    • Method Detail

      • getSpecificData

        public org.apache.avro.specific.SpecificData getSpecificData()
        Returns the SpecificData implementation used by this writer.
        Overrides:
        getSpecificData in class org.apache.avro.specific.SpecificDatumWriter<T>
      • internalWrite

        public void internalWrite​(org.apache.avro.Schema schema,
                                  java.lang.Object datum,
                                  org.apache.avro.io.Encoder out)
                           throws java.io.IOException
        Specified by:
        internalWrite in interface DeterministicMapOrderDatumWriter
        Throws:
        java.io.IOException
      • writeMap

        protected void writeMap​(org.apache.avro.Schema schema,
                                java.lang.Object datum,
                                org.apache.avro.io.Encoder out)
                         throws java.io.IOException
        Overrides:
        writeMap in class org.apache.avro.generic.GenericDatumWriter<T>
        Throws:
        java.io.IOException