public class NativeQueryInterpreterStandardImpl extends Object implements NativeQueryInterpreter
Modifier and Type | Field and Description |
---|---|
static NativeQueryInterpreterStandardImpl |
INSTANCE
Singleton access
|
Constructor and Description |
---|
NativeQueryInterpreterStandardImpl() |
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryPlan |
createQueryPlan(NativeSQLQuerySpecification specification,
SessionFactoryImplementor sessionFactory)
Creates a new query plan for the specified native query.
|
ParameterMetadata |
getParameterMetadata(String nativeQuery)
Returns a meta-data object with information about the named and ordinal
parameters contained in the given native query.
|
public static final NativeQueryInterpreterStandardImpl INSTANCE
public ParameterMetadata 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 © 2017 JBoss by Red Hat. All rights reserved.