Class NoBindHint

  • All Implemented Interfaces:
    java.io.Serializable, ASTNode

    public class NoBindHint
    extends EQLHint
    EQLに対して、実際にDataStoreにクエリー発行する際にバインド変数(JDBCの場合PrepareStatement)を利用しないことを指定するヒント句です。 ServiceConfigの設定により、常時バインドするように設定されている場合、特定のEQLをバインドせずに実行するために指定可能です。
    no bindヒントを追加したEQL例:
    select /*+ no_bind */ a, b from SampleEntity where c.x='hoge' and a=1 and b=15
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoBindHint()  
    • Method Summary

      Modifier and Type Method Description
      ASTNode accept​(ASTTransformer transformer)  
      void accept​(HintVisitor visitor)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.iplass.mtp.entity.query.ASTNode

        copy
    • Constructor Detail

      • NoBindHint

        public NoBindHint()
    • Method Detail

      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface ASTNode
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface ASTNode
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface ASTNode
        Overrides:
        toString in class java.lang.Object