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 booleanequals(Object o)StringgetBeanType()Return the bean type.StringgetQueryKey()Return the query key (relative to the bean type).StringgetSql()Return the sql statement.inthashCode()voidsetBeanType(String beanType)Set the bean type.voidsetQueryKey(String queryKey)Set the query key.voidsetSql(String sql)Set the sql statement.StringtoString()
-
-
-
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.
-
-