Class YcFunctionExample

    • Constructor Detail

      • YcFunctionExample

        public YcFunctionExample()
    • Method Detail

      • handle

        public String handle​(Integer event,
                             Context context)
        NOTE: you must run this function with integration=raw, see https://cloud.yandex.ru/docs/functions/concepts/function-invoke#http
        Specified by:
        handle in interface YcFunction<Integer,​String>
        Parameters:
        event - integer number i
        context - function context, see https://cloud.yandex.ru/docs/functions/lang/java/context
        Returns:
        i-th fibonacci number