Querying an object for properties
First Claim
Patent Images
1. An application programming interface exposing an AdHocQueryCriteria method to specify a query of data in a relational database in terms of entity properties and fields, the method receiving a plurality of parameters to specify the query, comprising:
- an entityAliasList parameter;
a JoinList parameter;
a selectList parameter;
a whereExpression parameter; and
an orderByList parameter.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention is a method and system for querying a database system. An object query identifies a partial set of properties of an object to be returned. A portion of the relational database containing those properties is identified and only those properties are returned.
-
Citations
55 Claims
-
1. An application programming interface exposing an AdHocQueryCriteria method to specify a query of data in a relational database in terms of entity properties and fields, the method receiving a plurality of parameters to specify the query, comprising:
-
an entityAliasList parameter;
a JoinList parameter;
a selectList parameter;
a whereExpression parameter; and
an orderByList parameter.
-
-
2. An application programming interface exposing an operator method to implement arithmetic operations, the method receiving a plurality of parameters to specify the arithmetic operation, comprising:
-
a left parameter indicating an item to a left of an arithmetic operator;
a right parameter indicating an item to a right of the arithmetic operator; and
the method returning an ArithmeticExpression parameter based on the operator and the left and right parameters. - View Dependent Claims (3, 4, 5)
-
-
6. An application programming interface exposing an operator method to implement arithmetic operations, the method receiving a plurality of parameters to specify the arithmetic operation, comprising:
-
a left parameter indicating-an item to a left of an arithmetic operator;
a right parameter indicating an item to a right of the arithmetic operator; and
the method returning a BooleanExpression parameter based on the operator and the left and right parameters.
-
- 7. An application programming interface (API) exposing an AssignmentExpression method to represent an expression to be assigned to a property of an entity, the method receiving an expression parameter to specify the expression to be assigned.
-
10. An application programming interface (API) exposing a CollectionCriteria method to specify a collection query of data in a relational database in terms of entity properties and fields, the method receiving a plurality of parameters to specify the collection query, comprising:
-
an entityCollectionType parameter;
an entityAliasList parameter;
a JoinList parameter;
a whereExpression parameter; and
an orderByList parameter.
-
-
11. An application programming interface (API) exposing an AdHocQueryCriteria method to return an AdHocQueryCriteria parameter based on a plurality of received parameters to specify the AdHocQueryCriteria parameter, comprising:
-
an entityAliasList parameter; and
a SelectList parameter. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. An application programming interface (API) exposing a CollectionCriteria method to return a CollectionCriteria parameter based on a received parameter to specify the CollectionCriteria parameter to return, the received parameter comprising:
an entityAlias parameter. - View Dependent Claims (19, 20)
-
21. An application programming interface (API) exposing a CollectionCriteria method to return a CollectionCriteria parameter based on at least one received parameter to specify the CollectionCriteria parameter to return, the received parameter comprising:
an entityAlias parameter. - View Dependent Claims (22, 23, 24, 25)
-
26. An application programming interface (API) exposing a CollectionCriteria method to return a CollectionCriteria parameter based on at least one received parameter to specify the CollectionCriteria parameter to return, the received parameter comprising:
an entityAliasList parameter. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
-
38. An application programming interface (API) exposing an EntityAlias method to return an EntityAlias parameter based on at least one received parameter to specify the EntityAlias parameter to return, the received parameter comprising:
-
a parentKey parameter; and
an entityType parameter. - View Dependent Claims (39, 40)
-
-
41. An application programming interface (API) exposing an EntityAliases method to return an EntityAliasList parameter based on at least one received parameter to specify the EntityAliasList parameter to return, the received parameter comprising:
an entityAliases parameter.
-
42. An application programming interface (API) exposing an EntityCriteria method to return an EntityCriteria parameter based on at least one received parameter to specify the EntityCriteria parameter to return, the received parameter comprising:
an entityKey parameter.
-
43. An application programming interface (API) exposing an EntityCriteria method to return an EntityCriteria parameter based on at least one received parameter to specify the EntityCriteria parameter to return, the received parameter comprising:
-
an entityAlias parameter; and
a whereExpression parameter.
-
-
44. An application programming interface (API) exposing an EntityCriteria method to return an EntityCriteria parameter based on at least one received parameter to specify the EntityCriteria parameter to return, the received parameter comprising:
-
an entityAliasList parameter; and
a whereExpression parameter. - View Dependent Claims (45)
-
-
46. An application programming interface (API) exposing an EntitySetUpdateCriteria method to return an EntitySetUpdateCriteria parameter based on at least one received parameter to specify the EntityCriteria parameter to return, the received parameter comprising:
-
an entityAliasList parameter; and
a propertyAssignmentList. - View Dependent Claims (47)
-
-
48. An application programming interface (API) exposing an InnerJoin method to return a JoinExpression parameter based on at least one received parameter to specify the JoinExpression parameter to return, the received parameter comprising:
-
a leftEntityAlias parameter;
a rightEntityAlias parameter; and
a boolExpression parameter.
-
-
49. An application programming interface (API) exposing a LeftJoin method to return a JoinExpression parameter based on at least one received parameter to specify the JoinExpression parameter to return, the received parameter comprising:
-
a leftEntityAlias parameter;
a rightEntityAlias parameter; and
a boolExpression parameter.
-
-
50. An application programming interface (API) exposing an OrderBy method to return an OrderByList parameter based on at least one received parameter to specify the OrderByList parameter to return, the received parameter comprising:
an arguments parameter.
-
51. An application programming interface (API) exposing an OrderByExpression method to return an OrderByExpression parameter based on at least one received parameter to specify the OrderByExpression parameter to return, the received parameter comprising:
a property parameter. - View Dependent Claims (52)
-
53. An application programming interface (API) exposing a RightJoin method to return a JoinExpression parameter based on at least one received parameter to specify the JoinExpression parameter to return, the received parameter comprising:
-
a leftEntityAlias parameter;
a rightEntityAlias parameter; and
a boolExpression parameter.
-
-
54. An application programming interface (API) exposing a CriteriaWithOrderBy method to return an entityAliasList parameter based on at least one received parameter to specify the entityAliasList parameter to return, the received parameter comprising:
-
a joinList parameter;
a whereExpression parameter; and
an orderByList parameter.
-
-
55. An application programming interface (API) exposing a JoinExpression method to define a join operation, on entities represented by data in a data store, based on at least one received parameter, the received parameter comprising:
-
a joinType parameter;
a leftEntityAlias parameter;
a rightEntityAlias parameter; and
a booleanExpression parameter.
-
Specification