Interface Codec<T>

    • Method Detail

      • decode

        T decode​(UTF8FaunaParser parser)
          throws CodecException
        Decodes an object from the provided UTF8FaunaParser.
        Parameters:
        parser - The parser to use for reading and decoding the data.
        Returns:
        The decoded object of type T.
        Throws:
        CodecException - If an error occurs during decoding.
      • getCodecClass

        java.lang.Class<?> getCodecClass()
        Gets the class associated with this codec.
        Returns:
        The Class type that this codec handles.
      • getSupportedTypes

        FaunaType[] getSupportedTypes()
        Gets the set of supported Fauna data types for this codec.
        Returns:
        An array of FaunaType values representing the supported types.