Class CopperToService.ServiceFunction

  • All Implemented Interfaces:
    com.activeviam.copper.operation.function.ICopperFunction, Serializable
    Enclosing class:
    CopperToService

    public static class CopperToService.ServiceFunction
    extends com.activeviam.copper.operation.function.ACopperFunction
    Almost the same as the core class but with the additional parameters Function associated to the CopperToService.ServiceOperator.
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceFunction

        public ServiceFunction​(CopperToService.ICallback mapper)
        Constructor
        Parameters:
        mapper - The function to apply to the operand values
    • Method Detail

      • init

        public void init​(com.quartetfs.biz.pivot.IActivePivot activePivot)
        We will backup the AP value for later use
        Parameters:
        activePivot - the cube object
      • getOutputType

        public int getOutputType()
      • evaluate

        public Object evaluate​(com.quartetfs.biz.pivot.ILocation location,
                               com.qfs.store.record.IRecordReader values,
                               com.quartetfs.biz.pivot.context.IActivePivotContext context)
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in class com.activeviam.copper.operation.function.ACopperFunction
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class com.activeviam.copper.operation.function.ACopperFunction