Uses of Class
org.apache.openjpa.meta.QueryMetaData
-
Packages that use QueryMetaData Package Description org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.meta OpenJPA Metadataorg.apache.openjpa.persistence OpenJPA JPA -
-
Uses of QueryMetaData in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta with parameters of type QueryMetaData Modifier and Type Method Description boolean
MetaDataPlusMappingFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map output)
-
Uses of QueryMetaData in org.apache.openjpa.meta
Subclasses of QueryMetaData in org.apache.openjpa.meta Modifier and Type Class Description class
MultiQueryMetaData
Methods in org.apache.openjpa.meta that return QueryMetaData Modifier and Type Method Description QueryMetaData
MetaDataRepository. addQueryMetaData(java.lang.Class<?> cls, java.lang.String name)
Add a new query metadata to the repository and return it.QueryMetaData
MetaDataRepository. addQueryMetaData(QueryMetaData meta)
QueryMetaData
MetaDataRepository. getCachedQueryMetaData(java.lang.Class<?> cls, java.lang.String name)
QueryMetaData
MetaDataRepository. getCachedQueryMetaData(java.lang.String name)
Return the cached query metadata for the given name.QueryMetaData
MultiQueryMetaData. getComponent(int i)
Gets the component metadata at the given part index.QueryMetaData
MetaDataRepository. getQueryMetaData(java.lang.Class<?> cls, java.lang.String name, java.lang.ClassLoader envLoader, boolean mustExist)
Return query metadata for the given class, name, and classloader.QueryMetaData[]
MetaDataRepository. getQueryMetaDatas()
Return the cached query metadata.QueryMetaData
MetaDataRepository. newQueryMetaData(java.lang.Class<?> cls, java.lang.String name)
Create a new query metadata instance.QueryMetaData
MetaDataRepository. searchQueryMetaDataByName(java.lang.String name)
Searches all cached query metadata by name.Methods in org.apache.openjpa.meta that return types with arguments of type QueryMetaData Modifier and Type Method Description java.util.List<QueryMetaData>
MultiQueryMetaData. getComponents()
Methods in org.apache.openjpa.meta with parameters of type QueryMetaData Modifier and Type Method Description void
AbstractCFMetaDataFactory.Serializer. addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.QueryMetaData
MetaDataRepository. addQueryMetaData(QueryMetaData meta)
protected abstract java.io.File
AbstractCFMetaDataFactory. defaultSourceFile(QueryMetaData query, java.util.Map clsNames)
Return a default file for the given query.protected ClassMetaData
AbstractCFMetaDataFactory. getDefiningMetaData(QueryMetaData query, java.util.Map clsNames)
Return the metadata that defines the given query, if any.boolean
MetaDataRepository. removeQueryMetaData(QueryMetaData meta)
Remove the given query metadata from the repository.boolean
AbstractCFMetaDataFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map<java.io.File,java.lang.String> output)
boolean
AbstractMetaDataFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map<java.io.File,java.lang.String> output)
boolean
DelegatingMetaDataFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map output)
boolean
MetaDataFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map<java.io.File,java.lang.String> output)
Store the given metadata.boolean
NoneMetaDataFactory. store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, java.util.Map output)
-
Uses of QueryMetaData in org.apache.openjpa.persistence
Fields in org.apache.openjpa.persistence declared as QueryMetaData Modifier and Type Field Description protected QueryMetaData
AbstractQuery. _qmd
Methods in org.apache.openjpa.persistence with parameters of type QueryMetaData Modifier and Type Method Description protected AnnotationBuilder
AnnotationPersistenceMetaDataSerializer. addAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annType, QueryMetaData meta)
Creates an an annotation builder for the specified class metadata and adds it to list of builders.protected void
AnnotationPersistenceMetaDataSerializer. addAnnotation(AnnotationBuilder ab, QueryMetaData meta)
Add an annotation builder to list of builders for the specified query metadata.protected void
AnnotationPersistenceMetaDataParser. addHints(QueryMetaData meta, jakarta.persistence.QueryHint... hints)
void
AnnotationPersistenceMetaDataSerializer. addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.void
XMLPersistenceMetaDataSerializer. addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.protected void
AnnotationPersistenceMetaDataParser. addSourceInfo(java.lang.reflect.AnnotatedElement el, QueryMetaData meta)
protected java.io.File
PersistenceMetaDataFactory. defaultSourceFile(QueryMetaData query, java.util.Map clsNames)
protected boolean
XMLPersistenceMetaDataParser. isDuplicateQuery(QueryMetaData meta)
Determines whether the QueryMetaData has been resolved more than once.protected <T> QueryImpl<T>
EntityManagerImpl. newQueryImpl(Query kernelQuery, QueryMetaData qmd)
boolean
AnnotationPersistenceMetaDataSerializer. removeQueryMetaData(QueryMetaData meta)
Remove a query metadata from the set to be serialized.boolean
XMLPersistenceMetaDataSerializer. removeQueryMetaData(QueryMetaData meta)
Remove a query metadata from the set to be serialized.Constructors in org.apache.openjpa.persistence with parameters of type QueryMetaData Constructor Description AbstractQuery(QueryMetaData qmd, EntityManagerImpl em)
QueryImpl(EntityManagerImpl em, RuntimeExceptionTranslator ret, Query query, QueryMetaData qmd)
Constructor; supply factory exception translator and delegate.
-