Class ValueWriters


  • public class ValueWriters
    extends java.lang.Object
    • Method Detail

      • nulls

        public static ValueWriter<java.lang.Void> nulls()
      • booleans

        public static ValueWriter<java.lang.Boolean> booleans()
      • tinyints

        public static ValueWriter<java.lang.Byte> tinyints()
      • shorts

        public static ValueWriter<java.lang.Short> shorts()
      • ints

        public static ValueWriter<java.lang.Integer> ints()
      • longs

        public static ValueWriter<java.lang.Long> longs()
      • floats

        public static ValueWriter<java.lang.Float> floats()
      • doubles

        public static ValueWriter<java.lang.Double> doubles()
      • strings

        public static ValueWriter<java.lang.Object> strings()
      • utf8s

        public static ValueWriter<org.apache.avro.util.Utf8> utf8s()
      • uuids

        public static ValueWriter<java.util.UUID> uuids()
      • fixed

        public static ValueWriter<byte[]> fixed​(int length)
      • genericFixed

        public static ValueWriter<org.apache.avro.generic.GenericData.Fixed> genericFixed​(int length)
      • byteBuffers

        public static ValueWriter<java.nio.ByteBuffer> byteBuffers()
      • decimal

        public static ValueWriter<java.math.BigDecimal> decimal​(int precision,
                                                                int scale)
      • record

        public static ValueWriter<org.apache.avro.generic.IndexedRecord> record​(java.util.List<ValueWriter<?>> writers)