Class NativeQueryInterpreterStandardImpl
- java.lang.Object
-
- org.hibernate.engine.query.internal.NativeQueryInterpreterStandardImpl
-
- All Implemented Interfaces:
Serializable,NativeQueryInterpreter,Service
public class NativeQueryInterpreterStandardImpl extends Object implements NativeQueryInterpreter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NativeQueryInterpreterStandardImplNATIVE_QUERY_INTERPRETERSingleton access
-
Constructor Summary
Constructors Constructor Description NativeQueryInterpreterStandardImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> NativeSelectQueryPlan<R>createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)Creates a new query plan for the passed native query definitionvoidrecognizeParameters(String nativeQuery, ParameterRecognizer recognizer)Parse the given native query and inform the recognizer of all recognized parameter markers.
-
-
-
Field Detail
-
NATIVE_QUERY_INTERPRETER
public static final NativeQueryInterpreterStandardImpl NATIVE_QUERY_INTERPRETER
Singleton access
-
-
Method Detail
-
recognizeParameters
public void recognizeParameters(String nativeQuery, ParameterRecognizer recognizer)
Description copied from interface:NativeQueryInterpreterParse the given native query and inform the recognizer of all recognized parameter markers.- Specified by:
recognizeParametersin interfaceNativeQueryInterpreter- Parameters:
nativeQuery- The query to recognize parameters inrecognizer- The recognizer to call
-
createQueryPlan
public <R> NativeSelectQueryPlan<R> createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)
Description copied from interface:NativeQueryInterpreterCreates a new query plan for the passed native query definition- Specified by:
createQueryPlanin interfaceNativeQueryInterpreter
-
-