Package org.hibernate.engine.query.spi
Interface NativeQueryInterpreter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default CustomLoadercreateCustomLoader(CustomQuery customQuery, SessionFactoryImplementor sessionFactory)Deprecated.This method will be removed in 6.NativeSQLQueryPlancreateQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)Creates a new query plan for the specified native query.org.hibernate.query.internal.ParameterMetadataImplgetParameterMetadata(java.lang.String nativeQuery)Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.
-
-
-
Method Detail
-
getParameterMetadata
org.hibernate.query.internal.ParameterMetadataImpl getParameterMetadata(java.lang.String nativeQuery)
Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.- Parameters:
nativeQuery- the native query to analyze.- Returns:
- a meta-data object describing the parameters of the given query.
Must not be
null.
-
createQueryPlan
NativeSQLQueryPlan createQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)
Creates a new query plan for the specified native query.- Parameters:
specification- Describes the query to create a plan forsessionFactory- The current session factory- Returns:
- A query plan for the specified native query.
-
createCustomLoader
@Deprecated default CustomLoader createCustomLoader(CustomQuery customQuery, SessionFactoryImplementor sessionFactory)
Deprecated.This method will be removed in 6.Creates aCustomLoaderfor the givenCustomQuery.- Parameters:
customQuery- The CustomQuery to create a loader forsessionFactory- The current session factory
-
-