Package com.activeviam.risk.core.utils
Class CopperToService.ServiceOperator
- java.lang.Object
-
- com.activeviam.copper.operation.operator.ACopperOperator
-
- com.activeviam.risk.core.utils.CopperToService.ServiceOperator
-
- All Implemented Interfaces:
com.activeviam.copper.operation.operator.ICopperOperator
- Enclosing class:
- CopperToService
public static class CopperToService.ServiceOperator extends com.activeviam.copper.operation.operator.ACopperOperator
This class is mainly copied back from the core Operator with only one operand that returns a new measure of typeTypes.TYPE_OBJECT
.
-
-
Constructor Summary
Constructors Constructor Description ServiceOperator(CopperToService.ICallback mapper)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
com.activeviam.copper.operation.function.ICopperFunction
toFunctionIfNeeded(com.activeviam.copper.impl.DataCubeContext context, List<com.activeviam.copper.measure.IInternalCopperMeasure> operands)
-
-
-
Constructor Detail
-
ServiceOperator
public ServiceOperator(CopperToService.ICallback mapper)
Constructor- Parameters:
mapper
- The function to apply to the operand values
-
-
Method Detail
-
toFunctionIfNeeded
public com.activeviam.copper.operation.function.ICopperFunction toFunctionIfNeeded(com.activeviam.copper.impl.DataCubeContext context, List<com.activeviam.copper.measure.IInternalCopperMeasure> operands)
- Specified by:
toFunctionIfNeeded
in classcom.activeviam.copper.operation.operator.ACopperOperator
-
name
public String name()
-
-