Package com.cloudimpl.outstack.runtime
Class EntityQueryHandler<T extends Entity,I extends Query,R>
java.lang.Object
com.cloudimpl.outstack.runtime.EntityQueryHandler<T,I,R>
- Type Parameters:
T-I-R-
- All Implemented Interfaces:
Handler<T>
- Direct Known Subclasses:
AsyncEntityQueryHandler,DefaultGetEventsQueryHandler,DefaultGetQueryHandler,DefaultListQueryHandler
public abstract class EntityQueryHandler<T extends Entity,I extends Query,R> extends java.lang.Object implements Handler<T>
- Author:
- nuwan
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<T>entityTypeprotected java.lang.Class<I>queryType -
Constructor Summary
Constructors Constructor Description EntityQueryHandler()EntityQueryHandler(java.lang.Class<T> entityType) -
Method Summary
Modifier and Type Method Description Rapply(EntityQueryContext<T> context, I query)Remit(EntityQueryContextProvider contextProvider, IQuery input)protected abstract Rexecute(EntityQueryContext<T> context, I query)TenantRequirementgetTenantFunction()protected voidvalidateInput(I query)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
entityType
-
queryType
-
-
Constructor Details
-
EntityQueryHandler
public EntityQueryHandler() -
EntityQueryHandler
-
-
Method Details
-
getTenantFunction
-
apply
-
execute
-
validateInput
-
emit
-