Top Inners Fields Constructors Methods
com.fasterxml.jackson.datatype.hppc.ser

public Class HppcContainerSerializers

extends Object
Class Inheritance
Imports
java.io.IOException, java.lang.reflect.Type, com.fasterxml.jackson.core.*, com.fasterxml.jackson.core.type.WritableTypeId, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor, .JsonFormatTypes, .JsonFormatVisitorWrapper, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.carrotsearch.hppc.*, com.carrotsearch.hppc.predicates.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
HppcContainerSerializers.BitSetSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
The default implementation is not particularly efficient, as it outputs things as an arrays of boolean values.
pack-priv static class
HppcContainerSerializers.ByteContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Byte containers are handled similar to byte[], meaning that they are actually serialized as base64-encoded Strings by default

Todo

allow specifying other modes (serialize as array?)

pack-priv static class
HppcContainerSerializers.CharContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
This one is bit tricky: could serialize in multiple ways; for example:
  • String that contains all characters (in order)
  • Array that contains single-character Strings
  • Array that contains numbers that represent character codes
pack-priv static class
HppcContainerSerializers.DoubleContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
pack-priv static class
HppcContainerSerializers.FloatContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
pack-priv static class
HppcContainerSerializers.IntContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Handler for HPPC containers that store int values.
pack-priv static class
HppcContainerSerializers.LongContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
pack-priv static class
HppcContainerSerializers.ShortContainerSerializer

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.

Field Summary

Modifier and TypeField and Description
public static final ContainerSerializerBase<?>[]
_primitiveSerializers

References Deprecated ContainerSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static JsonSerializer<?>
getMatchingSerializer(SerializationConfig config, JavaType type)

Method called to see if this serializer (or a serializer this serializer knows) should be used for given type; if not, null is returned.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait