[id='query-embedded']
:context: query-embedded
= Querying embedded caches

Use embedded queries when you add {brandname} as a library to custom applications.

Protobuf mapping is not required with embedded queries.
Indexing and querying are both done on top of Java objects.

include::{topics}/proc_query_querying_embedded_caches.adoc[leveloffset=+1]
include::{topics}/ref_query_entity_mapping_annotations.adoc[leveloffset=+1]
include::{topics}/ref_query_programmatic_entity_mapping.adoc[leveloffset=+1]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
