| Modifier and Type | Field and Description |
|---|---|
| private Type[] | |
| private final Map | |
| private int | |
| private String | |
| private QueryableCollection | |
| private final Map | |
| private boolean | |
| private final Map | |
| private boolean | |
| private Map | |
| private final Set | |
| private String | |
| private final List | |
| private final List | |
| private boolean | |
| private final List | |
| private Class | |
| private Constructor | |
| private boolean[] | |
| private final Map | |
| private static final Logger | |
| private int | |
| private final Map | |
| private String[] | |
| private static final String[] | |
| private final Map | |
| private final List | |
| private EntityType[] | |
| private int[] | |
| private int | |
| private final Map | |
| private final Map | |
| private Queryable[] | |
| private final String | |
| private final Set | |
| private final String | |
| private List | |
| private Type[] | |
| private String[][] | |
| private final List | |
| private final List | |
| private int | |
| private boolean | |
| private String | |
| private String[] | |
| private QueryTranslatorImpl | |
| private Map | |
| private final Map | |
| private final Map | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | QueryTranslatorImpl(String
A unique identifier for the query of which this
translation is part; typically this is the original, user-supplied query string. queryIdentifier, String The "preprocessed" query string; at the very least
already processed by queryString, Map<K, V> org..Any enabled filters. enabledFilters, SessionFactoryImplementor The session factory. factory)Construct a query translator |
| public | QueryTranslatorImpl(String
The query string to process. queryString, Map<K, V> Any enabled filters. enabledFilters, SessionFactoryImplementor The session factory. factory)Construct a query translator; this form used internally. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| private void | addFromAssociation(final String elementName, final String collectionRole)
Used for collection filters |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected String | applyLocks(String sql, LockOptions lockOptions, Dialect dialect)
Overrides org. |
| public List | |
| pack-priv void | compile(QueryTranslatorImpl
The containing query of the query to be compiled. superquery)Compile a subquery. |
| public synchronized void | compile(Map<K, V>
Defined query substitutions. replacements, boolean Does this represent a shallow (scalar or entity-id) select? scalar)Implements org. |
| public synchronized void | compile(String
the role name of the collection used as the basis for the filter. collectionRole, Map<K, V> Defined query substitutions. replacements, boolean Does this represent a shallow (scalar or entity-id) select? scalar)Implements org. |
| private void | |
| public boolean | containsCollectionFetches()
Implements org. |
| pack-priv String | |
| pack-priv String | |
| pack-priv void | |
| public int | executeUpdate(QueryParameters
The query bind parameters. queryParameters, SessionImplementor The session owning this query. session)Implements org. |
| protected String[] | getAliases()
Overrides org. |
| public String | |
| protected int[] | getCollectionOwners()
Get the index of the entity that owns the collection, or -1
if there is no owner in the query results (ie.
|
| pack-priv QueryableCollection | |
| public CollectionPersister[] | getCollectionPersisters()
Overrides org. |
| protected String[] | |
| public String[][] | getColumnNames()
Implements org. |
| private PropertyMapping | |
| public Class | |
| public Map | getEnabledFilters()
Implements org. |
| pack-priv Queryable | |
| private Queryable | |
| protected Loadable[] | Returns: an array of EntityPersisters.Implements abstract org. |
| pack-priv Queryable | |
| public Class | |
| protected LockMode[] | getLockModes(LockOptions
a collection of lock options specified dynamically via the Query interface lockOptions)Implements abstract org. |
| public int[] | |
| protected EntityType[] | getOwnerAssociationTypes()
Overrides org. getOwners()
returns.
|
| protected int[] | getOwners()
Overrides org. |
| public ParameterTranslations | getParameterTranslations()
Implements org. |
| pack-priv String | |
| pack-priv JoinSequence | |
| pack-priv PropertyMapping | |
| public String | getQueryIdentifier()
Overrides org. Implements org. |
| public final Set | getQuerySpaces()
Implements org. |
| public String | getQueryString()
Implements org. |
| protected Object | getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
Get the actual object that is returned in the user-visible result list.
|
| protected List | getResultList(List<E> results, ResultTransformer resultTransformer)
Overrides org. |
| public String[] | getReturnAliases()
Implements org. |
| public Type[] | Returns: an array of Types.Implements org. |
| private String | |
| public String | getSQLString()
Implements abstract org. Implements org. |
| protected String[] | |
| private String | |
| protected boolean | |
| public boolean | |
| pack-priv boolean | |
| pack-priv boolean | Returns: true if it is, false if it is called by find() or list()Is this query called by scroll() or iterate()? |
| pack-priv boolean | |
| protected boolean | |
| public Iterator | iterate(QueryParameters
The query bind parameters. queryParameters, EventSource The session owning this query. session)Implements org. |
| public List | list(SessionImplementor
The session owning this query. session, QueryParameters The query bind parameters. queryParameters)Implements org. |
| private static void | |
| private void | |
| private int | |
| private void | |
| private void | |
| private String | |
| private void | |
| protected ResultTransformer | resolveResultTransformer(ResultTransformer
the specified result transformer resultTransformer)Overrides org. |
| public ScrollableResults | scroll(final QueryParameters
The query bind parameters. queryParameters, final SessionImplementor The session owning this query. session)Implements org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private Object[] | |
| public String | toString()
Overrides org. |
| pack-priv String | |
| protected boolean | upgradeLocks()
Overrides org. |
| public void | validateScrollability()
Implements org. |