All Known Implementing Classes:
InternalJacksonSerDes, JacksonDeserializer

@ThreadSafe public interface Deserializer
Converts query result rows into Java objects.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    <T> @Nullable T
    deserialize(TypeRef<T> target, byte[] input)
    Deserializes raw input into the target type.
    <T> @Nullable T
    deserialize(Class<T> target, byte[] input)
    Deserializes raw input into the target class.
  • Method Details Link icon

    • deserialize Link icon

      <T> @Nullable T deserialize(Class<T> target, byte[] input) throws IOException
      Deserializes raw input into the target class.
      Type Parameters:
      T - the generic type to deserialize into.
      Parameters:
      target - the target class.
      input - the raw input.
      Returns:
      the deserialized output.
      Throws:
      IOException
    • deserialize Link icon

      <T> @Nullable T deserialize(TypeRef<T> target, byte[] input) throws IOException
      Deserializes raw input into the target type.
      Type Parameters:
      T - the type to deserialize into.
      Parameters:
      target - the target type.
      input - the raw input.
      Returns:
      the deserialized output.
      Throws:
      IOException