Patent Document ID: 9851958
Application ID: 14571483
Patent Flag: 1

Claim One:
1. A method for generating at least one of a serializer and a deserializer for compiling a query, the method comprising: inferring, by one or more processors, a type of serialization for each generation site of compiling a query; executing, by one or more processors, the inferred type of serialization, while transcribing identification information assigned to each generation site to a type as an annotation; specializing, by one or more processors, a serializer for each generation site based on the inferred type of serialization and a type of serialization that is actually used at a generation site; recursively, by one or more processors, comparing the inferred type of serialization and the type of serialization that is actually used at a generation site; and serializing, by one or more processors, a data value using the specialized serializer for each generation site.