Translating Identifier in Request into Data Structure
First Claim
1. A method implemented at least in part by a computer, the method comprising:
- receiving a request to access data, the request including an identifier associated with the data, the identifier indicating information including a service to use to access the data and a path to the data, the path indicating one or more of;
one or more entities of a first entity set, a key to identify a particular entity in the entity set, and a link identifying a second entity set associated with the first entity set;
creating an intermediate data structure based at least in part on the identifier, the intermediate data structure representing query operations that define the data; and
providing the intermediate data structure to one of a plurality of components, each of the components operable to translate information in the data structure into one or more data access operations suitable for accessing the data in a data store associated with the component.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to translating an identifier in a request into a data structure. In aspects, a client sends a data access request that includes a URI formatted according to the HTTP protocol. The data access request may include a request to create, change, retrieve, or delete one or more resources. The URI is received by a server that has components to translate the URI into a data structure that defines one or more resources indicated by the URI. This data structure is passed to a data source adapter that translates the data structure into operations used to access data on the data source associated with the data source adapter. There may be a plurality of data source adapters with each data source adapter structured to access data on a particular data source using the data structure to define the resources to access.
-
Citations
20 Claims
-
1. A method implemented at least in part by a computer, the method comprising:
-
receiving a request to access data, the request including an identifier associated with the data, the identifier indicating information including a service to use to access the data and a path to the data, the path indicating one or more of;
one or more entities of a first entity set, a key to identify a particular entity in the entity set, and a link identifying a second entity set associated with the first entity set;creating an intermediate data structure based at least in part on the identifier, the intermediate data structure representing query operations that define the data; and providing the intermediate data structure to one of a plurality of components, each of the components operable to translate information in the data structure into one or more data access operations suitable for accessing the data in a data store associated with the component. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computing environment, an apparatus, comprising:
-
a request processor operable to receive a request for access to at least one resource and to return a response the request, the request including an identifier associated with the at least one resource; an identifier translator operable to parse the request to create a data structure that represents a data query corresponding to the identifier, the identifier translator further operable to translate components of the identifier that correspond to single entities into key-based access operators and components of the identifier that correspond to sets of entities into member access operators; a data access interface operable to receive the request and to present the data structure to a data source adapter; and a data source adapter operable to use the data structure to access the at least one resource. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer storage medium having computer-executable instructions, which when executed perform actions, comprising:
-
sending a request to access data to a Web server, the request including an identifier, the identifier indicating information including a service to use to access the data and a path to the data, the path indicating one or more of a first entity set, a key to identify a particular entity in the entity set, and a link identifying a second entity set associated with the first entity set, the path including components that correspond to a member operators and key-based operators; sending an indication of a format in which a response to the request is to be; and receiving a response formatted according to the format. - View Dependent Claims (18, 19, 20)
-
Specification