public class IndexQueryHintHandler extends Object implements QueryHintHandler
SELECT *
FROM TEST
USE INDEX (hint1, hint2)
WHERE X=1
Modifier and Type | Field and Description |
---|---|
static IndexQueryHintHandler |
INSTANCE |
Constructor and Description |
---|
IndexQueryHintHandler() |
Modifier and Type | Method and Description |
---|---|
String |
addQueryHints(String query,
String hints)
Add query hints to the given query.
|
public static final IndexQueryHintHandler INSTANCE
public String addQueryHints(String query, String hints)
QueryHintHandler
addQueryHints
in interface QueryHintHandler
query
- original queryhints
- hints to be appliedCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.