Class SchemaSerDe


  • @Deprecated
    public class SchemaSerDe
    extends Object
    Deprecated.
    SchemaSerDeV3 should be used instead
    Used to serialize and deserialize Apache Arrow Schema objects.
    • Constructor Detail

      • SchemaSerDe

        public SchemaSerDe()
        Deprecated.
    • Method Detail

      • serialize

        public void serialize​(org.apache.arrow.vector.types.pojo.Schema schema,
                              OutputStream out)
                       throws IOException
        Deprecated.
        Serialized the provided Schema to the provided OutputStream.
        Parameters:
        schema - The Schema to serialize.
        out - The OutputStream to write to.
        Throws:
        IOException
      • deserialize

        public org.apache.arrow.vector.types.pojo.Schema deserialize​(InputStream in)
                                                              throws IOException
        Deprecated.
        Attempts to deserialize a Schema from the provided InputStream.
        Parameters:
        in - The InputStream that is expected to contain a serialized Schema.
        Returns:
        The resulting Schema if the InputStream contains a valid Schema.
        Throws:
        IOException