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 NativeQueryInterpreterStandardImpl
NATIVE_QUERY_INTERPRETER
Singleton access
-
Constructor Summary
Constructors Constructor Description NativeQueryInterpreterStandardImpl(boolean nativeJdbcParametersIgnored)
-
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 definitionvoid
recognizeParameters(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:NativeQueryInterpreter
Parse the given native query and inform the recognizer of all recognized parameter markers.- Specified by:
recognizeParameters
in 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:NativeQueryInterpreter
Creates a new query plan for the passed native query definition- Specified by:
createQueryPlan
in interfaceNativeQueryInterpreter
-
-