Class IndexHint

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

    public class IndexHint
    extends EQLHint
    EQLに対して、propertyNameListで指定されるプロパティのINDEXの利用を明示的に指定するヒント句です。 ただし、実際の物理テーブルにおいて、当該INDEXから駆動されるかどうかは、データベースのオプティマイザの判断によります。
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexHint()  
      IndexHint​(java.lang.String... propertyName)  
      IndexHint​(java.util.List<java.lang.String> propertyNameList)  
    • Method Summary

      Modifier and Type Method Description
      ASTNode accept​(ASTTransformer transformer)  
      void accept​(HintVisitor visitor)  
      IndexHint add​(java.lang.String propertyName)  
      boolean equals​(java.lang.Object obj)  
      java.util.List<java.lang.String> getPropertyNameList()  
      int hashCode()  
      void setPropertyNameList​(java.util.List<java.lang.String> propertyNameList)  
      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

      • IndexHint

        public IndexHint()
      • IndexHint

        public IndexHint​(java.lang.String... propertyName)
      • IndexHint

        public IndexHint​(java.util.List<java.lang.String> propertyNameList)
    • Method Detail

      • getPropertyNameList

        public java.util.List<java.lang.String> getPropertyNameList()
      • setPropertyNameList

        public void setPropertyNameList​(java.util.List<java.lang.String> propertyNameList)
      • add

        public IndexHint add​(java.lang.String propertyName)
      • 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