public class QueryHintsHandler extends Object
TopLinkQueryHints
,
HintValues
,
CacheUsage
,
PessimisticLock
Modifier and Type | Class and Description |
---|---|
protected static class |
QueryHintsHandler.BindParametersHint |
protected static class |
QueryHintsHandler.CacheUsageHint |
protected static class |
QueryHintsHandler.Hint |
protected static class |
QueryHintsHandler.PessimisticLockHint |
protected static class |
QueryHintsHandler.RefreshHint |
Constructor and Description |
---|
QueryHintsHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
apply(Map hints,
DatabaseQuery query)
INTERNAL:
Applies the hints to the query.
|
static void |
apply(String hintName,
Object hintValue,
DatabaseQuery query)
INTERNAL:
Applies the hint to the query.
|
protected static boolean |
shouldUseDefault(Object hintValue)
INTERNAL:
Empty String hintValue indicates that the default hint value
should be used.
|
static void |
verify(Map hints,
String queryName,
AbstractSession session)
INTERNAL:
Verifies the hints.
|
static void |
verify(String hintName,
Object hintValue,
String queryName,
AbstractSession session)
INTERNAL:
Verifies the hint.
|
public static void verify(Map hints, String queryName, AbstractSession session)
public static void verify(String hintName, Object hintValue, String queryName, AbstractSession session)
public static void apply(Map hints, DatabaseQuery query)
public static void apply(String hintName, Object hintValue, DatabaseQuery query)
protected static boolean shouldUseDefault(Object hintValue)
Copyright © 2021. All rights reserved.