Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.facebook.presto.hive.$internal.org.codehaus.jackson.map.ser.std;
import java.io.IOException;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.*;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.*;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.map.*;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.map.annotate.JacksonStdImpl;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.map.util.EnumValues;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.type.JavaType;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.node.JsonNodeFactory;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.node.ObjectNode;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.schema.JsonSchema;
import com.facebook.presto.hive.$internal.org.codehaus.jackson.schema.SchemaAware;
/**
* Specialized serializer for {@link EnumMap}s. Somewhat tricky to
* implement because actual Enum value type may not be available;
* and if not, it can only be gotten from actual instance.
*/
@JacksonStdImpl
public class EnumMapSerializer
extends ContainerSerializerBase, ?>>
implements ResolvableSerializer
{
protected final boolean _staticTyping;
/**
* If we know enumeration used as key, this will contain
* value set to use for serialization
*/
protected final EnumValues _keyEnums;
protected final JavaType _valueType;
/**
* Property being serialized with this instance
*
* @since 1.7
*/
protected final BeanProperty _property;
/**
* Value serializer to use, if it can be statically determined
*
* @since 1.5
*/
protected JsonSerializer