IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > WebSphere eXtreme Scale V6.1 User Guide > ... > ObjectGrid Query APIs > ObjectGrid query language reference
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
ObjectGrid query language reference
Added by Chris.D.Johnson, last edited by CarrieMiller on May 31, 2007  (view change)
Labels: 
(None)

Getting Started Examples Reference API documentation

See the WebSphere eXtreme Scale Wiki for links to eXtreme Scale Version 7.0 documentation.
If you log in with your developerWorks ID, you can leave comments and feedback for the development team.

With the ObjectGrid query engine, you can use a single query language for searching the ObjectGrid cache. This query language can query Java objects that are stored in ObjectMaps, and it can query Entity objects. Use the following syntax for creating a query string.

An ObjectGrid query is a string that contains the following elements:

  • A SELECT clause that specifies the objects or values to return.
  • A FROM clause that names the object collections.
  • An optional WHERE clause that contains search predicates over the collections.
  • An optional GROUP BY and HAVING clause (see ObjectGrid query aggregation functions).
  • An optional ORDER BY clause that specifies the ordering of the result collection.

Collections of Java objects are identified in queries through the use of their name in the query FROM clause.

The elements of query language are discussed in more detail in the following related topics:

Wiki Disclaimer and License
© Copyright IBM Corporation 2007,2009. All Rights Reserved.
Docs ObjectGrid query aggregation functions (WebSphere eXtreme Scale V6.1 User Guide)
Docs ObjectGrid query BNF (WebSphere eXtreme Scale V6.1 User Guide)
Docs ObjectGrid query FROM clause (WebSphere eXtreme Scale V6.1 User Guide)
Docs ObjectGrid query ORDER BY clause (WebSphere eXtreme Scale V6.1 User Guide)
Docs ObjectGrid query SELECT clause (WebSphere eXtreme Scale V6.1 User Guide)
Docs ObjectGrid query WHERE clause (WebSphere eXtreme Scale V6.1 User Guide)


 
    About IBM Privacy Contact