Class Writer

java.lang.Object
io.dingodb.sdk.grpc.serializer.Writer

public class Writer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    write(byte[] value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Message value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Numeric value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Numeric numeric, Message value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Boolean value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Double value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Float value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, byte[] value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Message value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Numeric value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Boolean value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Double value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Float value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Integer value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, Long value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(Integer number, String value, com.google.protobuf.CodedOutputStream out)
     
    static <M> void
    write(Integer number, List<M> value, BiConsumer<Integer,M> serializer)
     
    static <T> void
    write(Integer number, List<T> value, com.google.protobuf.CodedOutputStream out, BiConsumer<T,com.google.protobuf.CodedOutputStream> serializer, Function<T,Integer> sizeComputer)
     
    static <K, V> void
    write(Integer number, Map<K,V> value, com.google.protobuf.CodedOutputStream out, BiConsumer<Integer,K> keySerializer, BiConsumer<Integer,V> valueSerializer, Function<K,Integer> keySizeComputer, Function<V,Integer> valueSizeComputer)
     
    static void
    write(Long value, com.google.protobuf.CodedOutputStream out)
     
    static void
    write(String value, com.google.protobuf.CodedOutputStream out)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Writer

      public Writer()
  • Method Details

    • write

      public static void write(Boolean value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Long value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Float value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Double value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Numeric value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(String value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(byte[] value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Message value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Boolean value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Integer value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Long value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Float value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Double value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Numeric value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, String value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, byte[] value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Integer number, Message value, com.google.protobuf.CodedOutputStream out)
    • write

      public static void write(Numeric numeric, Message value, com.google.protobuf.CodedOutputStream out)
    • write

      public static <M> void write(Integer number, List<M> value, BiConsumer<Integer,M> serializer)
    • write

      public static <T> void write(Integer number, List<T> value, com.google.protobuf.CodedOutputStream out, BiConsumer<T,com.google.protobuf.CodedOutputStream> serializer, Function<T,Integer> sizeComputer)
    • write

      public static <K, V> void write(Integer number, Map<K,V> value, com.google.protobuf.CodedOutputStream out, BiConsumer<Integer,K> keySerializer, BiConsumer<Integer,V> valueSerializer, Function<K,Integer> keySizeComputer, Function<V,Integer> valueSizeComputer)