Class NativeSqlQueryPlanKey

java.lang.Object
io.ebeaninternal.server.query.NativeSqlQueryPlanKey
All Implemented Interfaces:
CQueryPlanKey

public class NativeSqlQueryPlanKey extends Object implements CQueryPlanKey
QueryPlanKey for native sql queries.
  • Constructor Details

    • NativeSqlQueryPlanKey

      public NativeSqlQueryPlanKey(String sql)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withDeleteByIds

      public CQueryPlanKey withDeleteByIds()
      Description copied from interface: CQueryPlanKey
      Return a query plan key taking into account persist cascading.
      Specified by:
      withDeleteByIds in interface CQueryPlanKey
    • partialKey

      public String partialKey()
      Return as a partial key. For rawSql hash the sql is part of the key and as such needs to be included in order to have a complete key. Typically the MD5 of the sql can be used as a short form proxy for the actual sql.
      Specified by:
      partialKey in interface CQueryPlanKey
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object