Class Reader

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

public class Reader extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    readBoolean(com.google.protobuf.CodedInputStream input)
     
    static byte[]
    readBytes(com.google.protobuf.CodedInputStream input)
     
    static double
    readDouble(com.google.protobuf.CodedInputStream input)
     
    static float
    readFloat(com.google.protobuf.CodedInputStream input)
     
    static int
    readInt(com.google.protobuf.CodedInputStream input)
     
    static <T> List<T>
    readList(List<T> current, com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,T> reader)
     
    static long
    readLong(com.google.protobuf.CodedInputStream input)
     
    static <K, V> Map<K,V>
    readMap(int number, Map<K,V> current, com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,K> keyReader, Function<com.google.protobuf.CodedInputStream,V> valueReader)
     
    static <K, V> Map.Entry<K,V>
    readMap(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,K> keyReader, Function<com.google.protobuf.CodedInputStream,V> valueReader)
     
    static <M extends Message>
    M
    readMessage(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,M> reader)
     
    static <M extends Message>
    M
    readMessage(M message, com.google.protobuf.CodedInputStream input)
     
    static int
    readNumber(com.google.protobuf.CodedInputStream input)
     
    static <T> List<T>
    readPack(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,T> reader)
     
    static String
    readString(com.google.protobuf.CodedInputStream input)
     
    static void
    skip(com.google.protobuf.CodedInputStream input)
     

    Methods inherited from class java.lang.Object

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

    • Reader

      public Reader()
  • Method Details

    • readNumber

      public static int readNumber(com.google.protobuf.CodedInputStream input)
    • readBoolean

      public static boolean readBoolean(com.google.protobuf.CodedInputStream input)
    • readInt

      public static int readInt(com.google.protobuf.CodedInputStream input)
    • readLong

      public static long readLong(com.google.protobuf.CodedInputStream input)
    • readFloat

      public static float readFloat(com.google.protobuf.CodedInputStream input)
    • readDouble

      public static double readDouble(com.google.protobuf.CodedInputStream input)
    • readBytes

      public static byte[] readBytes(com.google.protobuf.CodedInputStream input)
    • readString

      public static String readString(com.google.protobuf.CodedInputStream input)
    • skip

      public static void skip(com.google.protobuf.CodedInputStream input)
    • readMessage

      public static <M extends Message> M readMessage(M message, com.google.protobuf.CodedInputStream input)
    • readMessage

      public static <M extends Message> M readMessage(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,M> reader)
    • readPack

      public static <T> List<T> readPack(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,T> reader)
    • readList

      public static <T> List<T> readList(List<T> current, com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,T> reader)
    • readMap

      public static <K, V> Map<K,V> readMap(int number, Map<K,V> current, com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,K> keyReader, Function<com.google.protobuf.CodedInputStream,V> valueReader)
    • readMap

      public static <K, V> Map.Entry<K,V> readMap(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream,K> keyReader, Function<com.google.protobuf.CodedInputStream,V> valueReader)