xia_engine.base.BaseAnalyzer
- class xia_engine.base.BaseAnalyzer
Bases:
object
Analytic request translator
- __init__()
Methods
__init__
()compile
(document_class, engine, analytic_request)Compile the analysis request
- classmethod compile(document_class: Type[BaseDocument], engine: Type[BaseEngine], analytic_request: dict, acl_condition=None)
Compile the analysis request
- Parameters
document_class (subclass of BaseDocument) – Document definition
engine – (subclass of BaseEngine): Engine for which the analytical model should be executed
analytic_request – analytic request
acl_condition – Extra where condition given by user acl objects
- Returns
A analytic model which could be executed by the engine