Download presentation
Presentation is loading. Please wait.
Published byIsaac Haynes Modified over 8 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.