19 package org.turro.indicator;
21 import java.util.stream.Stream;
22 import org.turro.annotation.ElephantIndicator;
23 import org.turro.attach.db.AttachPU;
24 import org.turro.elephant.db.WhereClause;
25 import org.turro.jpa.Dao;
26 import org.turro.matching.GenericMatching;
27 import org.turro.matching.IMatching;
28 import org.turro.ranking.GenericRanking;
29 import org.turro.ranking.IRanking;
70 try(Stream<GenericRanking> stream = dao.stream(
GenericRanking.class, wc, 1000)) {
82 if(
"contact".equals(relatedRoot)) {
97 try(Stream<GenericMatching> stream = dao.stream(
GenericMatching.class, wc, 1000)) {
void addVariable(String name, VariableType type)
void initExternalVariables()
void processMatchingVariable(Dao dao, IPreprocessor preprocessor, IndicatorVariable variable, String entityRoot, String relatedRoot)
void processRankingVariable(Dao dao, IPreprocessor preprocessor, IndicatorVariable variable, String entityRoot)
PreprocessClause setMatchingField(String pathField)
PreprocessClause setVariable(IndicatorVariable variable)
PreprocessClause setMatchingRoot(String entityRoot)
PreprocessClause setAggregate(String aggregate)
PreprocessClause setRankingRoot(String entityRoot)
static PreprocessClause load(String table)
PreprocessClause setRankingField(String pathField)
void poolInstance(Object value)
void finishPreprocessor()