Class 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 type Types.TYPE_OBJECT.
    • 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 class com.activeviam.copper.operation.operator.ACopperOperator