Package net.pricefx.formulaengine
package net.pricefx.formulaengine
Provides Formula Engine API classes.
-
ClassDescriptionProvides an API to query and load PA data from a formula context.Helper class mainly for working with dates and time periods as used in the PriceAnalyzer module.API for loading data into a
DMDataFeed
orDMTable
from a formula context.A DataSlice defines a set of filters to be applied to a PA DataSet (Datamart, DataSource...).API for building a PA query in a formula context.Provides access to a QueryResult in a formula context.Represents the data of a PA field collection (Data Feed, Data Source, Datamart, etc.) and provides methods to work with it.DistCalcFormulaContext is a groovy api exposed through the 'dist' binding when running a DistributedCalculation DL (PA DataLoad job).DistFormulaContext is a groovy api exposed through the 'dist' binding when evaluating the logic for a DistributedCalculation DL through invocation of the datamart.formulaparams and datamart.distcalcexec endpoints.The ContractPriceRecordManager API is exposed to formula groovy elements in an approved Contract calculation.IRebateRecordGroupManager is the interface that allows you to manipulate a RebateRecordGroup (RRG type code) in a calculation logic.
The Rebate Record Group is available via therebateRecordGroup
binding variable (see theset()
example below).The RebateRecordManager API is exposed to Groovy logic elements in the following contexts:The ModelCalcFormulaContext is exposed to model logics through themodel
binding, when calculating a model.A ModelEvaluator exposes a previously prepared/trained/calculated model to non-PO modules (Groovy logics).Deprecated.The ModelFormulaContext is exposed to model logics through themodel
binding.Representation of a node in a model tree (see for ex.API that can be accessed via the 'payoutRecords' binding (available in the RebateRecord calculation context — i.e., when calculating a RebateRecord in a RebateRecordCalculation task), or via the 'accrualRecords' binding (available in the CompensationRecord calculation context).This class is the central starting point for in-memory data table operations.