Module io.ebean.api

Class ReadAuditQueryPlan

java.lang.Object
io.ebean.event.readaudit.ReadAuditQueryPlan

public class ReadAuditQueryPlan extends Object
A SQL query and associated keys.

This is logged as a separate event so that the

  • Constructor Details

    • ReadAuditQueryPlan

      public ReadAuditQueryPlan(String beanType, String queryKey, String sql)
      Construct given the beanType, queryKey and sql.
    • ReadAuditQueryPlan

      public ReadAuditQueryPlan()
      Construct for JSON tools.
  • Method Details

    • toString

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

      public String getBeanType()
      Return the bean type.
    • setBeanType

      public void setBeanType(String beanType)
      Set the bean type.
    • getQueryKey

      public String getQueryKey()
      Return the query key (relative to the bean type).
    • setQueryKey

      public void setQueryKey(String queryKey)
      Set the query key.
    • getSql

      public String getSql()
      Return the sql statement.
    • setSql

      public void setSql(String sql)
      Set the sql statement.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object