public class QueryDescriptorLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
adapterSql |
protected DataMap |
dataMap |
protected String |
ejbql |
protected String |
name |
protected List<Ordering> |
orderings |
protected List<String> |
prefetches |
protected Map<String,String> |
properties |
protected Expression |
qualifier |
protected String |
queryType |
protected String |
resultEntity |
protected String |
rootName |
protected String |
rootType |
protected String |
sql |
Constructor and Description |
---|
QueryDescriptorLoader() |
Modifier and Type | Method and Description |
---|---|
QueryDescriptor |
buildQueryDescriptor()
Builds a Query object based on internal configuration information.
|
protected Object |
getRoot()
Determines query root based on configuration info, falls back to a DataMap root if
the data is invalid.
|
protected String name
protected String queryType
protected String sql
protected String ejbql
protected Expression qualifier
protected DataMap dataMap
protected String rootType
protected String rootName
protected String resultEntity
public QueryDescriptor buildQueryDescriptor()
protected Object getRoot()
CayenneRuntimeException
- if a valid root can't be established.Copyright © 2001–2018 Apache Cayenne. All rights reserved.