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

Packages that use EntityResolver
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.translator
org.apache.cayenne.access.translator.ejbql
org.apache.cayenne.access.translator.procedure
org.apache.cayenne.access.translator.select
org.apache.cayenne.ashwood
org.apache.cayenne.configuration.runtime
org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
org.apache.cayenne.dba.hsqldb
HSQLDB DbAdapter.
org.apache.cayenne.dba.mysql
MySQL DbAdapter.
org.apache.cayenne.dba.postgres
PostgreSQL DbAdapter.
org.apache.cayenne.ejbql
org.apache.cayenne.ejbql.parser
org.apache.cayenne.map
Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
org.apache.cayenne.query
Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
org.apache.cayenne.reflect

- ## Uses of EntityResolver in org.apache.cayenne

  Methods in org.apache.cayenne that return EntityResolver
  Modifier and Type
  Method
  Description
  `EntityResolver`
  DataChannel.`getEntityResolver()`
  Returns an EntityResolver instance that contains runtime mapping information.
  `EntityResolver`
  ObjectContext.`getEntityResolver()`
  Returns EntityResolver that stores all mapping information accessible by this ObjectContext.

- ## Uses of EntityResolver in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as EntityResolver
  Modifier and Type
  Field
  Description
  `protected EntityResolver`
  DataContext.`entityResolver`
  `protected final EntityResolver`
  DataDomain.`entityResolver`
  `protected EntityResolver`
  DataNode.`entityResolver`
  Methods in org.apache.cayenne.access that return EntityResolver
  Modifier and Type
  Method
  Description
  `EntityResolver`
  DataContext.`getEntityResolver()`
  `EntityResolver`
  DataDomain.`getEntityResolver()`
  Returns an EntityResolver that stores mapping information for this domain.
  `EntityResolver`
  DataNode.`getEntityResolver()`
  Returns EntityResolver that handles DataMaps of this node.
  Methods in org.apache.cayenne.access with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `void`
  DataContext.`setEntityResolver(EntityResolver entityResolver)`
  `void`
  DataNode.`setEntityResolver(EntityResolver entityResolver)`
  Sets EntityResolver.
  Constructors in org.apache.cayenne.access with parameters of type EntityResolver
  Modifier
  Constructor
  Description
  ``
  `DataDomain(String name, TransactionManager transactionManager, TransactionFactory transactionFactory, DataDomainFlushActionFactory flushActionFactory, AdhocObjectFactory objectFactory, EventManager eventManager, QueryCache queryCache, DataRowStore sharedSnapshotCache, int maxIdQualifierSize, boolean validatingObjectsOnCommit, EntityResolver entityResolver, EntitySorter entitySorter)`

- ## Uses of EntityResolver in org.apache.cayenne.access.translator

  Methods in org.apache.cayenne.access.translator with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `TranslatedProcedure`
  ProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`
  Translates the provided query into a `TranslatedProcedure`.
  `TranslatedSelect`
  SelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`
  Translates the provided query into a `TranslatedSelect`.

- ## Uses of EntityResolver in org.apache.cayenne.access.translator.ejbql

  Constructors in org.apache.cayenne.access.translator.ejbql with parameters of type EntityResolver
  Modifier
  Constructor
  Description
  ``
  `EJBQLTranslationContext(EntityResolver entityResolver, EJBQLQuery query, EJBQLCompiledExpression compiledExpression, EJBQLTranslator translator, DbAdapter adapter, QuotingStrategy quotingStrategy)`

- ## Uses of EntityResolver in org.apache.cayenne.access.translator.procedure

  Methods in org.apache.cayenne.access.translator.procedure with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `TranslatedProcedure`
  DbAdapterDelegatedProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`
  `TranslatedProcedure`
  DefaultProcedureTranslator.`translate(ProcedureQuery query, DbAdapter adapter, EntityResolver resolver)`

- ## Uses of EntityResolver in org.apache.cayenne.access.translator.select

  Methods in org.apache.cayenne.access.translator.select with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `QueryMetadata`
  FluentSelectWrapper.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  TranslatableQueryWrapper.`getMetaData(EntityResolver resolver)`
  `TranslatedSelect`
  DbAdapterDelegatedSelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`
  `TranslatedSelect`
  DefaultSelectTranslator.`translate(Select<?> query, DbAdapter adapter, EntityResolver resolver)`

- ## Uses of EntityResolver in org.apache.cayenne.ashwood

  Fields in org.apache.cayenne.ashwood declared as EntityResolver
  Modifier and Type
  Field
  Description
  `protected final EntityResolver`
  AshwoodEntitySorter.`entityResolver`
  Methods in org.apache.cayenne.ashwood with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `EntitySorter`
  AshwoodEntitySorterFactory.`createEntitySorter(EntityResolver entityResolver)`
  Constructors in org.apache.cayenne.ashwood with parameters of type EntityResolver
  Modifier
  Constructor
  Description
  ``
  `AshwoodEntitySorter(EntityResolver entityResolver)`
  ``
  `WeightedAshwoodEntitySorter(EntityResolver entityResolver)`

- ## Uses of EntityResolver in org.apache.cayenne.configuration.runtime

  Methods in org.apache.cayenne.configuration.runtime that return EntityResolver
  Modifier and Type
  Method
  Description
  `protected EntityResolver`
  DataDomainProvider.`createEntityResolver(DataChannelDescriptor descriptor)`

- ## Uses of EntityResolver in org.apache.cayenne.dba

  Methods in org.apache.cayenne.dba with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `ProcedureTranslator`
  AutoAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`
  `ProcedureTranslator`
  DbAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`
  Returns the `ProcedureTranslator` for the given query.
  `ProcedureTranslator`
  JdbcAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`
  `SelectTranslator`
  AutoAdapter.`getSelectTranslator(Select<?> query, EntityResolver entityResolver)`
  `SelectTranslator`
  DbAdapter.`getSelectTranslator(Select<?> query, EntityResolver entityResolver)`
  Returns the `SelectTranslator` for the given query.
  `SelectTranslator`
  JdbcAdapter.`getSelectTranslator(Select<?> query, EntityResolver entityResolver)`

- ## Uses of EntityResolver in org.apache.cayenne.dba.hsqldb

  Methods in org.apache.cayenne.dba.hsqldb with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `ProcedureTranslator`
  HSQLDBAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`

- ## Uses of EntityResolver in org.apache.cayenne.dba.mysql

  Methods in org.apache.cayenne.dba.mysql with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `ProcedureTranslator`
  MySQLAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`

- ## Uses of EntityResolver in org.apache.cayenne.dba.postgres

  Methods in org.apache.cayenne.dba.postgres with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `ProcedureTranslator`
  PostgresAdapter.`getProcedureTranslator(ProcedureQuery query, EntityResolver entityResolver)`

- ## Uses of EntityResolver in org.apache.cayenne.ejbql

  Methods in org.apache.cayenne.ejbql with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `EJBQLCompiledExpression`
  EJBQLParser.`compile(String ejbqlStatement, EntityResolver resolver)`
  Parses and compiles an expression for the EntityResolver.

- ## Uses of EntityResolver in org.apache.cayenne.ejbql.parser

  Methods in org.apache.cayenne.ejbql.parser with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `EJBQLCompiledExpression`
  EJBQL.EJBQLDefaultParser.`compile(String ejbqlStatement, EntityResolver resolver)`

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

  Methods in org.apache.cayenne.map with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `EntitySorter`
  EntitySorterFactory.`createEntitySorter(EntityResolver entityResolver)`
  Creates an EntitySorter that sorts the entities of the provided EntityResolver.
  `Map<String,String>`
  EntityResult.`getDbFields(EntityResolver resolver)`
  Returns a map of result column names to attribute db paths from the root entity.
  `List<Object>`
  SQLResult.`getResolvedComponents(EntityResolver resolver)`
  `boolean`
  ObjRelationship.`isSourceDefiningTargetPrecenseAndType(EntityResolver entityResolver)`
  Returns true if the relationship is non-optional and target has no subclasses.

- ## Uses of EntityResolver in org.apache.cayenne.query

  Fields in org.apache.cayenne.query declared as EntityResolver
  Modifier and Type
  Field
  Description
  `protected EntityResolver`
  IndirectQuery.`lastResolver`
  `protected EntityResolver`
  ObjectIdQuery.`metadataResolver`
  `protected EntityResolver`
  RelationshipQuery.`metadataResolver`
  Methods in org.apache.cayenne.query with parameters of type EntityResolver
  Modifier and Type
  Method
  Description
  `protected Query`
  AbstractMappedQuery.`createReplacementQuery(EntityResolver resolver)`
  `protected abstract Query`
  IndirectQuery.`createReplacementQuery(EntityResolver resolver)`
  Creates a substitute query.
  `protected Query`
  MappedSelect.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  ObjectIdQuery.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  ProcedureCall.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  RelationshipQuery.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  SelectById.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  SQLExec.`createReplacementQuery(EntityResolver resolver)`
  `protected Query`
  SQLSelect.`createReplacementQuery(EntityResolver resolver)`
  `EJBQLCompiledExpression`
  EJBQLQuery.`getExpression(EntityResolver resolver)`
  Returns lazily initialized EJBQLCompiledExpression for this query EJBQL.
  `QueryMetadata`
  AbstractQuery.`getMetaData(EntityResolver resolver)`
  Returns default select parameters.
  `QueryMetadata`
  BatchQuery.`getMetaData(EntityResolver resolver)`
  Returns default select parameters.
  `QueryMetadata`
  ColumnSelect.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  EJBQLQuery.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  IndirectQuery.`getMetaData(EntityResolver resolver)`
  Returns the metadata obtained from the replacement query.
  `QueryMetadata`
  IteratedQueryDecorator.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  ObjectIdQuery.`getMetaData(EntityResolver resolver)`
  Returns query metadata object.
  `QueryMetadata`
  ObjectSelect.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  ProcedureQuery.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  Query.`getMetaData(EntityResolver resolver)`
  Returns query runtime parameters.
  `QueryMetadata`
  QueryChain.`getMetaData(EntityResolver resolver)`
  Returns default metadata.
  `QueryMetadata`
  RefreshQuery.`getMetaData(EntityResolver resolver)`
  `QueryMetadata`
  RelationshipQuery.`getMetaData(EntityResolver resolver)`
  Returns query metadata object.
  `QueryMetadata`
  SQLTemplate.`getMetaData(EntityResolver resolver)`
  `ObjRelationship`
  RelationshipQuery.`getRelationship(EntityResolver resolver)`
  Returns a non-null relationship object for this query.
  `protected Query`
  IndirectQuery.`getReplacementQuery(EntityResolver resolver)`
  Returns a replacement query, creating it on demand and caching it for reuse.
  `ObjEntity`
  SelectById.QueryRoot.`resolve(EntityResolver resolver)`
  `protected Object`
  FluentSelect.`resolveRoot(EntityResolver resolver)`
  `void`
  AbstractQuery.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  Implements default routing mechanism relying on the EntityResolver to find DataMap based on the query root.
  `void`
  BatchQuery.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `void`
  EJBQLQuery.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `void`
  FluentSelect.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `void`
  IndirectQuery.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  Delegates routing to a replacement query.
  `void`
  IteratedQueryDecorator.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `void`
  Query.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  A callback method invoked by Cayenne during the routing phase of the query execution.
  `void`
  QueryChain.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  Delegates routing to each individual query in the chain.
  `void`
  RefreshQuery.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `void`
  SQLTemplate.`route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)`
  `protected void`
  FluentSelect.`routePrefetches(QueryRouter router, EntityResolver resolver)`
  `protected void`
  PrefetchSelectQuery.`routePrefetches(QueryRouter router, EntityResolver resolver)`

- ## Uses of EntityResolver in org.apache.cayenne.reflect

  Fields in org.apache.cayenne.reflect declared as EntityResolver
  Modifier and Type
  Field
  Description
  `protected EntityResolver`
  ClassDescriptorMap.`resolver`
  Methods in org.apache.cayenne.reflect that return EntityResolver
  Modifier and Type
  Method
  Description
  `EntityResolver`
  ClassDescriptorMap.`getResolver()`
  Constructors in org.apache.cayenne.reflect with parameters of type EntityResolver
  Modifier
  Constructor
  Description
  ``
  `ClassDescriptorMap(EntityResolver resolver)`
  ``
  `LifecycleCallbackRegistry(EntityResolver resolver)`
  Creates an empty callback registry.