Class SchemaSerDe
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.data.SchemaSerDe
-
@Deprecated public class SchemaSerDe extends Object
Deprecated.SchemaSerDeV3
should be used insteadUsed to serialize and deserialize Apache Arrow Schema objects.
-
-
Constructor Summary
Constructors Constructor Description SchemaSerDe()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.arrow.vector.types.pojo.Schema
deserialize(InputStream in)
Deprecated.Attempts to deserialize a Schema from the provided InputStream.void
serialize(org.apache.arrow.vector.types.pojo.Schema schema, OutputStream out)
Deprecated.Serialized the provided Schema to the provided OutputStream.
-
-
-
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
-
-