Package org.iplass.mtp.entity.query.hint
Class NativeHint
java.lang.Object
org.iplass.mtp.entity.query.hint.Hint
org.iplass.mtp.entity.query.hint.NativeHint
- All Implemented Interfaces:
Serializable,ASTNode
EQLが変換されたデータベースネイティブのSQL文に付与するヒントを指定するヒント句です。
のように、SQLに付与したいヒント句を''で囲って指定します。
テーブルに対するヒント句(MySQLのindex hintなど)を指定する場合は、 第一引数にテーブル名を指定します。
native('ORDERED USE_NL_WITH_INDEX(...)')
のように、SQLに付与したいヒント句を''で囲って指定します。
テーブルに対するヒント句(MySQLのindex hintなど)を指定する場合は、 第一引数にテーブル名を指定します。
native(q0, 'FORCE INDEX(...)')- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNativeHint(String hintExpression) NativeHint(String table, String hintExpression) -
Method Summary
Modifier and TypeMethodDescriptionaccept(ASTTransformer transformer) voidaccept(HintVisitor visitor) booleangetTable()inthashCode()voidsetHintExpression(String hintExpression) voidtoString()Methods inherited from class org.iplass.mtp.entity.query.hint.Hint
externalHint
-
Constructor Details
-
NativeHint
public NativeHint() -
NativeHint
-
NativeHint
-
-
Method Details
-
getTable
-
setTable
-
getHintExpression
-
setHintExpression
-
hashCode
public int hashCode() -
equals
-
toString
-
accept
-
accept
-