This page describes an older version of the product. The latest stable version is 16.2.1.
Querying the Space
This section explains the various mechanisms offered by GigaSpaces XAP to query the space for data, as well as related topics, such as how to use indexing to boost query performance and how the space can be iterated to fetch entries more efficiently.
Id Based query - Primary Key based object retrieval from space.
Query by template
Template matching (a.k.a. Match by example) is a simple way to query the space.
The SQLQuery class is used to query the space using SQL-like syntax.
You can query the Space using built in functions and user defined functions.
GeoSpatial queries make use of geometry data types such as points, circles and polygons and these queries consider the spatial relationship between these geometries.
Free text search
Search for records that include one or more words within a free text field.
Full text search
Full text search capability leveraging the Lucene search engine library.
Nested property queries
Query nested properties, maps and collections using SQL queries
Query with user defined classes
Query by matching a user defined class.
Reading large number of objects using multiple queries in one call in a continuous manner.
Partial results - Projection
Obtaining partial results when querying the space to improve application performance and reduce memory footprint.
Explain Plan can be used to obtain a description of the strategy or plan that XAP uses to implement a specific SQLQuery.