Top Inners Fields Constructors Methods
tools.jackson.datatype.hppc.ser

public Class HppcContainerSerializers

extends Object
Class Inheritance
Imports
tools.jackson.core.*, tools.jackson.core.type.WritableTypeId, tools.jackson.databind.*, tools.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor, .JsonFormatTypes, .JsonFormatVisitorWrapper, tools.jackson.databind.jsontype.TypeSerializer, com.carrotsearch.hppc.*, com.carrotsearch.hppc.procedures.DoubleProcedure, .FloatProcedure, .IntProcedure, .LongProcedure, .ShortProcedure

Nested and Inner Type Summary

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

The default implementation is not particularly efficient, as it outputs things as an arrays of boolean values.

pack-priv static class
HppcContainerSerializers.ByteContainerSerializer

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

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
pack-priv static class
pack-priv static class
HppcContainerSerializers.IntContainerSerializer

Handler for HPPC containers that store int values.

pack-priv static class
pack-priv static class

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ValueSerializer<?>
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