Patent ID: 8484189

Claim:
A method for generating a filter expression using tree par leers, the method comprising: binding multiple data items to a tree parameter to form a received expression, wherein forming the received expression further comprises: defining a parameter value type, wherein the parameter value type stores correlated data values as a forest; defining operators of the received expression for implicit creation of parameters of the parameter value type, wherein the operators of the received expression provide a capability of binding multiple data items to the tree parameter; receiving the metadata for the tree parameter; and generating the filter expression using the tree parameter, wherein the filter expression provides a capability to modify a query and wherein generating the filter expression using the tree parameter further comprises generating a vector product using the operators of the expression to enable filtering based on the vector product of a general form of ((DI 1 , . . . , DI i )×(DI i+1 , . . . , DI N )) in ?Parameter?; generating a default prompt control using received metadata and the received expression; receiving selected values in response to the default prompt control to form received values; and generating a native database query using the received expression with the tree parameter and the received values.