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:
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>entityType -
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)EntityContext<T>emit(EntityQueryContextProvider contextProvider, IQuery input)protected abstract Rexecute(EntityQueryContext<T> context, I query)booleanisTenantFunction()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
entityType
-
-
Constructor Details
-
EntityQueryHandler
public EntityQueryHandler() -
EntityQueryHandler
-
-
Method Details
-
isTenantFunction
public boolean isTenantFunction() -
apply
-
execute
-
emit
-