Package com.fauna.codec
The
com.fauna.codec
package provides classes and interfaces for encoding and decoding data types used in
Fauna.
Key classes and interfaces:
Codec
- An interface for implementing codecs that define encoding and decoding behavior.CodecProvider
- Provides codecs, allowing retrieval based on class and type arguments.CodecRegistry
- A registry for managing codecs.- - A custom parser for reading Fauna's tagged format.
UTF8FaunaGenerator
- A generator for writing data in Fauna's tagged format.DefaultCodecProvider
- A standard codec provider implementation.Generic
- A utility class for generating codecs for generic types.
-
Interface Summary Interface Description Codec<T> Interface for codecs, which handle the serialization and deserialization of specific types.CodecProvider Interface for providing codecs.CodecRegistry Interface defining a registry for codecs, which manage the serialization and deserialization of objects. -
Class Summary Class Description CodecRegistryKey Represents a unique key in the codec registry.DefaultCodecProvider Provides codecs for serialization and deserialization of various data types in Fauna.DefaultCodecRegistry The default codec registry for Fauna serialization and deserialization.Generic A helper class for providing static access to parameterized generic types, aiding in deserialization by circumventing type erasure.ListOf<E> Represents aList
with a specified element type, allowing for retention of the generic typeE
during deserialization by circumventing type erasure.MapOf<K extends java.lang.String,V> Represents aMap
withString
keys and a specified value type, allowing for retention of the generic typeV
during deserialization by circumventing type erasure.NullableDocumentOf<E> Represents aNullableDocument
with a specified value type, allowing for retention of the generic typeE
during deserialization by circumventing type erasure.OptionalOf<V> Represents anOptional
with a specified element type, allowing for retention of the generic typeV
during deserialization by circumventing type erasure.PageOf<V> Represents aPage
with a specified element type, allowing for retention of the generic typeV
during deserialization by circumventing type erasure.ParameterizedOf<T> A utility class that implementsParameterizedType
to represent a type with specified type arguments at runtime.UTF8FaunaGenerator A generator for encoding JSON with Fauna-specific tagged values and other data types.UTF8FaunaParser Represents a reader that provides fast, non-cached, forward-only access to serialized data. -
Enum Summary Enum Description FaunaTokenType Enumeration representing token types for Fauna serialization.FaunaType Enum representing various FQL data types used by Fauna for data storage and retrieval.