Interface Deserializer
- All Known Implementing Classes:
InternalJacksonSerDes,JacksonDeserializer
Converts query result rows into Java objects.
-
Method Summary
Modifier and TypeMethodDescription<T> @Nullable Tdeserialize(TypeRef<T> target, byte[] input) Deserializes raw input into the target type.<T> @Nullable Tdeserialize(Class<T> target, byte[] input) Deserializes raw input into the target class.
-
Method Details
-
deserialize
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
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
-