| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| 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 int | |
| private static final CoreMessageLogger | |
| private int | |
| private final Map | |
| private String[] | |
| private static final String[] | |
| private final Map | |
| private final List | |
| private final Map | |
| private QueryTranslatorImpl. | |
| private EntityType[] | |
| private int[] | |
| private int | |
| private final List | |
| 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)
Deprecated
as a consequence of
Construct a query translator
SessionFactoryImplementor being deprecated.
|
| public | QueryTranslatorImpl(String
The query string to process. queryString, Map<K, V> Any enabled filters. enabledFilters, SessionFactoryImplementor The session factory. factory)
Deprecated
as a consequence of
Construct a query translator; this form used internally.
SessionFactoryImplementor being deprecated.
|
| 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 | |
| pack-priv void | |
| pack-priv void | |
| protected String | applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)
Overrides org. |
| protected int | bindParameterValues(PreparedStatement
The JDBC prepared statement statement, QueryParameters The encapsulation of the parameter values to be bound. queryParameters, int The position from which to start binding parameter values. startIndex, SharedSessionContractImplementor The originating session. session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
| 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, SharedSessionContractImplementor 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 | |
| public List | |
| 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, SharedSessionContractImplementor session)
Get the actual object that is returned in the user-visible result list.
|
| protected List | getResultList(List<E> results, ResultTransformer resultTransformer)
Overrides org. |
| protected Object[] | getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)
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[] | |
| 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.
Deprecated
as a consequence of
Return the query results as an iterator
EventSource being deprecated.
|
| public List | list(SharedSessionContractImplementor
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 ScrollableResultsImplementor | scroll(final QueryParameters
The query bind parameters. queryParameters, final SharedSessionContractImplementor 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. |