Package org.apache.drill.exec.testing
Class InjectionSite.InjectionSiteKeyDeserializer
java.lang.Object
com.fasterxml.jackson.databind.KeyDeserializer
org.apache.drill.exec.testing.InjectionSite.InjectionSiteKeyDeserializer
- Enclosing class:
- InjectionSite
public static class InjectionSite.InjectionSiteKeyDeserializer
extends com.fasterxml.jackson.databind.KeyDeserializer
Key Deserializer for InjectionSite.
Since JSON object keys must be strings, deserialize from a string.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.KeyDeserializer
com.fasterxml.jackson.databind.KeyDeserializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeKey
(String key, com.fasterxml.jackson.databind.DeserializationContext context)
-
Constructor Details
-
InjectionSiteKeyDeserializer
public InjectionSiteKeyDeserializer()
-
-
Method Details
-
deserializeKey
public Object deserializeKey(String key, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException, com.fasterxml.jackson.core.JsonProcessingException - Specified by:
deserializeKey
in classcom.fasterxml.jackson.databind.KeyDeserializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-