Class PassDistinctThroughEvent
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.query.QueryEvent
io.hypersistence.optimizer.hibernate.event.query.PassDistinctThroughEvent
- All Implemented Interfaces:
Event,Serializable
The
PassDistinctThroughEvent indicates that a JPQL or Criteria API
query should set the hibernate.query.passDistinctThrough JPA
query hint.- Since:
- 2.0.0
- Author:
- Vlad Mihalcea
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Constructor Summary
ConstructorsConstructorDescriptionPassDistinctThroughEvent(String queryString) Instantiate the event using the provided parameters. -
Method Summary
Methods inherited from class io.hypersistence.optimizer.hibernate.event.query.QueryEvent
getQueryStringMethods inherited from class io.hypersistence.optimizer.core.event.AbstractEvent
getInfoUrl
-
Constructor Details
-
PassDistinctThroughEvent
Instantiate the event using the provided parameters.- Parameters:
queryString- query string
-
-
Method Details
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-
getDescription
-