public class NativeQueryInterpreterStandardImpl extends Object implements NativeQueryInterpreter
Constructor and Description |
---|
NativeQueryInterpreterStandardImpl(SessionFactoryImplementor sessionFactory) |
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryPlan |
createQueryPlan(NativeSQLQuerySpecification specification,
SessionFactoryImplementor sessionFactory)
Creates a new query plan for the specified native query.
|
ParameterMetadataImpl |
getParameterMetadata(String nativeQuery)
Returns a meta-data object with information about the named and ordinal
parameters contained in the given native query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCustomLoader
public NativeQueryInterpreterStandardImpl(SessionFactoryImplementor sessionFactory)
public ParameterMetadataImpl getParameterMetadata(String nativeQuery)
NativeQueryInterpreter
getParameterMetadata
in interface NativeQueryInterpreter
nativeQuery
- the native query to analyze.null
.public NativeSQLQueryPlan createQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)
NativeQueryInterpreter
createQueryPlan
in interface NativeQueryInterpreter
specification
- Describes the query to create a plan forsessionFactory
- The current session factoryCopyright © 2019 JBoss by Red Hat. All rights reserved.