## Uses of Class
org.apache.cayenne.map.QueryDescriptor

- Packages that use QueryDescriptor
  Package | Description
  --- | ---
  org.apache.cayenne.configuration |
  org.apache.cayenne.configuration.xml |
  org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.

- - ### Uses of QueryDescriptor in org.apache.cayenne.configuration

    Methods in org.apache.cayenne.configuration with parameters of type QueryDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | BaseConfigurationNodeVisitor.`visitQuery​(QueryDescriptor query)` |
    `T` | ConfigurationNodeVisitor.`visitQuery​(QueryDescriptor query)` |
    `Void` | EmptyConfigurationNodeVisitor.`visitQuery​(QueryDescriptor query)` |

  - ### Uses of QueryDescriptor in org.apache.cayenne.configuration.xml

    Methods in org.apache.cayenne.configuration.xml that return QueryDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryDescriptor` | QueryDescriptorHandler.`getQueryDescriptor()` |

  - ### Uses of QueryDescriptor in org.apache.cayenne.map

    Subclasses of QueryDescriptor in org.apache.cayenne.map
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `EJBQLQueryDescriptor` |
    `class` | `ProcedureQueryDescriptor` |
    `class` | `SelectQueryDescriptor` |
    `class` | `SQLTemplateDescriptor` |

    Methods in org.apache.cayenne.map that return QueryDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryDescriptor` | QueryDescriptorLoader.`buildQueryDescriptor()` | Builds a Query object based on internal configuration information.
    `static QueryDescriptor` | QueryDescriptor.`descriptor​(String type)` | Creates query descriptor of a given type.
    `QueryDescriptor` | DataMap.`getQueryDescriptor​(String queryName)` | Returns a named query associated with this DataMap.
    `QueryDescriptor` | EntityResolver.`getQueryDescriptor​(String name)` | Returns a named query or null if no query exists for a given name.
    `QueryDescriptor` | MappingNamespace.`getQueryDescriptor​(String name)` | Returns Query for a given name, or null if no such Query is found in the MappingNamespace.

    Methods in org.apache.cayenne.map that return types with arguments of type QueryDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String,​QueryDescriptor>` | DataMap.`getQueryDescriptorMap()` |
    `Collection<QueryDescriptor>` | DataMap.`getQueryDescriptors()` | Returns an unmodifiable collection of mapped queries.
    `Collection<QueryDescriptor>` | EntityResolver.`getQueryDescriptors()` |
    `Collection<QueryDescriptor>` | MappingNamespace.`getQueryDescriptors()` | Returns all Queries in the namespace.

    Methods in org.apache.cayenne.map with parameters of type QueryDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DataMap.`addQueryDescriptor​(QueryDescriptor queryDescriptor)` | Stores a query descriptor under its name.