System and method for supporting non-native data types in a database API
First Claim
1. A method for exchanging at least one instance of a non-native data type between a database and a client, wherein the client requests data by calling an application programming interface (API), comprising:
- requesting by the client the at least one instance of a non-native data type, wherein said non-native data type conforms to a type system shared by said database and said client;
receiving by the API metadata that references the non-native data type in a client type library;
receiving by the API a serialized instance of the non-native data type;
deserializing by the API the serialized instance of the non-native data type using said metadata.
2 Assignments
0 Petitions
Accused Products
Abstract
A database API is presented that can expose data of non-native data-types, i.e., types that are unknown at API design-time. A broad type-system is used that is understood by both a server and a client. The API can dynamically discover, at run-time, data types that were defined using this broad type-system. The API can retrieve metadata that references a non-native data type in a client type library. A retrieved instance of the non-native data type, in serialized form, may be deserialized using the metadata.
-
Citations
20 Claims
-
1. A method for exchanging at least one instance of a non-native data type between a database and a client, wherein the client requests data by calling an application programming interface (API), comprising:
-
requesting by the client the at least one instance of a non-native data type, wherein said non-native data type conforms to a type system shared by said database and said client;
receiving by the API metadata that references the non-native data type in a client type library;
receiving by the API a serialized instance of the non-native data type;
deserializing by the API the serialized instance of the non-native data type using said metadata. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer system comprising means for exchanging at least one instance of a non-native data type between the computer system and a database, comprising:
-
means for requesting the at least one instance of a non-native data type, wherein said non-native data type conforms to a type system shared by said database and said computer;
means for receiving metadata that references the non-native data type in a client type library;
means for receiving a serialized instance of the non-native data type;
means for deserializing the serialized instance of the non-native data type using said metadata. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer readable medium bearing instructions for exchanging at least one instance of a non-native data type between a database and a client, comprising:
-
instructions for requesting the at least one instance of a non-native data type, wherein said non-native data type conforms to a type system shared by said database and said client;
instructions for receiving metadata that references the non-native data type in a client type library;
instructions for receiving a serialized instance of the non-native data type;
instructions for deserializing the serialized instance of the non-native data type using said metadata. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification