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)
NativeQueryInterpretergetParameterMetadata in interface NativeQueryInterpreternativeQuery - the native query to analyze.null.public NativeSQLQueryPlan createQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)
NativeQueryInterpretercreateQueryPlan in interface NativeQueryInterpreterspecification - Describes the query to create a plan forsessionFactory - The current session factoryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.