Package io.ebean.event.readaudit
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 Summary
Constructors Constructor Description ReadAuditQueryPlan()
Construct for JSON tools.ReadAuditQueryPlan(String beanType, String queryKey, String sql)
Construct given the beanType, queryKey and sql.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBeanType()
Return the bean type.String
getQueryKey()
Return the query key (relative to the bean type).String
getSql()
Return the sql statement.int
hashCode()
void
setBeanType(String beanType)
Set the bean type.void
setQueryKey(String queryKey)
Set the query key.void
setSql(String sql)
Set the sql statement.String
toString()
-
-
-
Constructor Detail
-
ReadAuditQueryPlan
public ReadAuditQueryPlan(String beanType, String queryKey, String sql)
Construct given the beanType, queryKey and sql.
-
ReadAuditQueryPlan
public ReadAuditQueryPlan()
Construct for JSON tools.
-
-
Method Detail
-
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.
-
-