GENERIC SERIALIZER FRAMEWORK
According to some embodiments, a method and apparatus are provided to receive a HTTP request and parse the HTTP request to determine a desired format. An instantiation of a serializer associated with the desired format is created.
1 . A method comprising:
receiving a HTTP request;
parsing the HTTP request to determine a desired format; and
creating, via a processor, an instantiation of a serializer associated with the desired format.
2 . The method of claim 1 , further comprising:
retrieving data associated with the HTTP request from an in-memory database.
3 . The method of claim 1 , wherein the serializer converts the requested data from the database into a serial data stream in the desired format.
4 . The method of claim 1 , further comprising:
determining an availability of the desired format.
5 . The method of claim 1 , further comprising:
retrieving data associated with the HTTP request via a generic data provider that interfaces with an in-memory database.
6 . The method of claim 5 , wherein the generic data provider associates database elements with a service.
7 . The method of claim 1 , wherein the HTTP request is received from a database service.
8 . A non-transitory computer-readable medium comprising instructions that when executed by a processor perform a method, the method comprising:
receiving a HTTP request;
parsing the HTTP request to determine a desired format; and
creating, via a processor, an instantiation of a serializer associated with the desired format.
9 . The medium of claim 8 , the method further comprising:
retrieving data associated with the HTTP request from an in-memory database.
10 . The medium of claim 8 , wherein the serializer converts the requested data from the database into a serial data stream in the desired format.
11 . The medium of claim 8 , the method further comprising:
determining an availability of the desired format.
12 . The medium of claim 8 , the method further comprising:
retrieving data associated with the HTTP request via a generic data provider that interfaces with an in-memory database.
13 . The medium of claim 12 , wherein the generic data provider associates database elements with a service.
14 . The medium of claim 8 , wherein the HTTP request is received from a database service.
15 . An apparatus comprising:
a processor;
a non-transitory computer-readable medium comprising instructions that when executed by the processor perform a method, the method comprising:
receiving a syntax correct query;
analyzing the syntax correct query; and
outputting a message associated with the syntax correct query.
16 . The apparatus of claim 15 , the method further comprising:
retrieving data associated with the HTTP request from an in-memory database.
17 . The apparatus of claim 15 , wherein the serializer converts the requested data from the database into a serial data stream in the desired format.
18 . The apparatus of claim 15 , the method further comprising:
determining an availability of the desired format.
19 . The apparatus of claim 15 , the method further comprising:
retrieving data associated with the HTTP request via a generic data provider that interfaces with an in-memory database.
20 . The apparatus of claim 19 , wherein the generic data provider associates database elements with a service.