public class ReactionQueryImpl extends AbstractQuery<ReactionQuery,Reaction> implements ReactionQuery, CacheAwareQuery<ReactionEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
messageId |
protected List<String> |
messageIds |
protected String |
reaction |
protected String |
userId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
ReactionQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(CommandContext commandContext) |
List<Reaction> |
executeList(CommandContext commandContext) |
String |
getId() |
String |
getMessageId() |
List<String> |
getMessageIds() |
String |
getReaction() |
String |
getUserId() |
ReactionQuery |
id(String id) |
ReactionQuery |
messageId(String messageId) |
ReactionQuery |
messageIds(List<String> messageIds) |
ReactionQuery |
reaction(String reaction) |
ReactionQuery |
userId(String userId) |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String messageId
protected String id
protected String userId
protected String reaction
public ReactionQueryImpl(CommandExecutor commandExecutor)
public ReactionQuery id(String id)
id in interface ReactionQuerypublic ReactionQuery messageId(String messageId)
messageId in interface ReactionQuerypublic ReactionQuery userId(String userId)
userId in interface ReactionQuerypublic ReactionQuery reaction(String reaction)
reaction in interface ReactionQuerypublic ReactionQuery messageIds(List<String> messageIds)
messageIds in interface ReactionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<ReactionQuery,Reaction>public List<Reaction> executeList(CommandContext commandContext)
executeList in class AbstractQuery<ReactionQuery,Reaction>public String getId()
getId in interface CacheAwareQuery<ReactionEntity>public String getMessageId()
public String getUserId()
public String getReaction()