Package io.dingodb.sdk.grpc.serializer
Class Reader
java.lang.Object
io.dingodb.sdk.grpc.serializer.Reader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanreadBoolean(com.google.protobuf.CodedInputStream input) static byte[]readBytes(com.google.protobuf.CodedInputStream input) static doublereadDouble(com.google.protobuf.CodedInputStream input) static floatreadFloat(com.google.protobuf.CodedInputStream input) static intreadInt(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 longreadLong(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>
MreadMessage(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream, M> reader) static <M extends Message>
MreadMessage(M message, com.google.protobuf.CodedInputStream input) static intreadNumber(com.google.protobuf.CodedInputStream input) static <T> List<T>readPack(com.google.protobuf.CodedInputStream input, Function<com.google.protobuf.CodedInputStream, T> reader) static StringreadString(com.google.protobuf.CodedInputStream input) static voidskip(com.google.protobuf.CodedInputStream input)
-
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
-
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
-
readPack
-
readList
-
readMap
-
readMap
-