Package org.hibernate.engine.query.spi
Interface NativeQueryInterpreter
-
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
NativeQueryInterpreterStandardImpl
@Incubating public interface NativeQueryInterpreter extends Service
Service contract for dealing with native queries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <R> NativeSelectQueryPlan<R>
createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)
Creates a new query plan for the passed native query definitionvoid
recognizeParameters(String nativeQuery, ParameterRecognizer recognizer)
Parse the given native query and inform the recognizer of all recognized parameter markers.
-
-
-
Method Detail
-
recognizeParameters
void recognizeParameters(String nativeQuery, ParameterRecognizer recognizer)
Parse the given native query and inform the recognizer of all recognized parameter markers.- Parameters:
nativeQuery
- The query to recognize parameters inrecognizer
- The recognizer to call
-
createQueryPlan
default <R> NativeSelectQueryPlan<R> createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)
Creates a new query plan for the passed native query definition
-
-