help.query.adoc Maven / Gradle / Ivy
QUERY(1)
========
:doctype: manpage
NAME
----
query - performs Ickle queries to match entries in remote caches.
SYNOPSIS
--------
*query* ['OPTIONS'] `QUERY_STRING`
OPTIONS
-------
*-c, --cache*='NAME'::
Specifies the cache to query. Defaults to the currently selected cache.
*--max-results*='MAX_RESULTS'::
Sets the maximum number of results to return. The default is `10`.
*-o, --offset*='OFFSET'::
Specifies the index of the first result to return. The default is `0`.
EXAMPLES
--------
`query "from org.infinispan.example.Person p where p.gender = 'MALE'"` +
Queries values in a remote cache to find entries from a Protobuf `Person`
entity where the gender datatype is `MALE`.
SEE ALSO
--------
index(1)
schema(1)