# Package org.apache.ignite.cache.query

Contains APIs for creating and executing cache queries.

- Interface Summary
  Interface | Description
  --- | ---
  ContinuousQueryWithTransformer.EventListener<T> | Interface for local listener of `ContinuousQueryWithTransformer` to implement.
  FieldsQueryCursor<T> | SQL query result cursor.
  IndexQueryCriterion | Basic interface for `IndexQuery` criterion.
  QueryCursor<T> | Query result cursor.
  QueryDetailMetrics | Query metrics aggregated by query type and its textual representation.
  QueryMetrics | Cache query metrics used to obtain statistics on query.

- Class Summary
  Class | Description
  --- | ---
  AbstractContinuousQuery<K,​V> | Base class for continuous query.
  BulkLoadContextCursor | A special FieldsQueryCursor subclass that is used as a sentinel to transfer data from bulk load (COPY) command to the JDBC or other client-facing driver: the bulk load batch processor and parameters to send to the client.
  CacheEntryEventAdapter<K,​V> |
  CacheQueryEntryEvent<K,​V> | A Cache continuous query entry event.
  ContinuousQuery<K,​V> | API for configuring continuous cache queries.
  ContinuousQueryWithTransformer<K,​V,​T> | API for configuring continuous cache queries with transformer.
  IndexQuery<K,​V> | Index queries work over distributed indexes and retrieve cache entries that match the specified criteria.
  IndexQueryCriteriaBuilder | Factory of `IndexQueryCriterion` for `IndexQuery`.
  Query<R> | Main API for configuring and executing cache queries.
  ScanQuery<K,​V> | Scan query over cache entries.
  SqlFieldsQuery | SQL Fields query.
  SqlQuery<K,​V> | Deprecated. Since 2.8, please use `SqlFieldsQuery` instead.
  TextQuery<K,​V> | Full Text Queries

- Exception Summary
  Exception | Description
  --- | ---
  QueryCancelledException | The exception is thrown if a query was cancelled or timed out while executing.
  QueryRetryException | The exception is thrown if a query was cancelled or timed out while executing.