Presentation is loading. Please wait.

Presentation is loading. Please wait.

Query Module The Query module can be used to create complex queries (by algorithms) and get count for the given pattern in the following Grammar Syntax.

Similar presentations


Presentation on theme: "Query Module The Query module can be used to create complex queries (by algorithms) and get count for the given pattern in the following Grammar Syntax."— Presentation transcript:

1 Query Module The Query module can be used to create complex queries (by algorithms) and get count for the given pattern in the following Grammar Syntax

2 S --> S AND S | S OR S | NOT S | (S) | a a --> DataSourceID [ AttributeIndex, BitIndex ] AND --> & OR --> | NOT --> ! Query Grammar Syntax::-

3 Example query ::- id[0,0] & (id[1,0] | id[2,0] | !id[3,0]) & id[4,0]

4 Use Of Query API Olap olap; //create Olap object Query* query=new Query("id[1,2]&!id[1,2]"); //create a query int countValue = olap.count(query); //get count of the pattern given by the query delete query; //remove garbage


Download ppt "Query Module The Query module can be used to create complex queries (by algorithms) and get count for the given pattern in the following Grammar Syntax."

Similar presentations


Ads by Google