Package com.flowable.indexing.query.builder.standard
package com.flowable.indexing.query.builder.standard
-
ClassDescriptionValidates that aggregations in a
QueryDefinitionModel'sStandardDataQueryConfigurationhave all required properties set for their type: Direct-field aggregations (sumFieldValue,avgFieldValue,maxFieldValue,minFieldValue,groupByField) require a non-emptyfieldName. Nested-field aggregations (groupByNestedField) require bothfieldNameandnestedPath. Variable-based aggregations (sumVariableValue,avgVariableValue,maxVariableValue,minVariableValue,stddevVariableValue,distributionVariableValue) require a non-emptyvariableName. Silently passes for query definitions that don't use the query-builder subtype (template queries, legacy queries), since those don't have aStandardDataQueryConfiguration.A "standard Flowable query" in this context is a query that queries a certain index with typical 'standard' Flowable concepts and related 'standard' data such as process/cases definitions, variables, etc.sumFieldName == nullmeans count-only.Backs bothgroupByFieldWithSumFieldandgroupByFieldWithAvgField— the structure (terms-by-field + numeric-sub-agg-by-field) is identical, only the ES aggregation type differs.Contains an overview of all types of data supported in the filter of a standard data query.The set of default parameters when working with a standard data query.Wrapper classes to work more easily with the json values passed around for the standard data query.This interfaces exists so that the logic of the AbstractPlatformSecurityService can be injected into classes from the flowable-platrform-indexing module.