类 ContextWindowFunction

  • 所有已实现的接口:
    org.apache.pulsar.functions.api.WindowFunction<java.lang.Integer,​java.lang.Integer>

    public class ContextWindowFunction
    extends java.lang.Object
    implements org.apache.pulsar.functions.api.WindowFunction<java.lang.Integer,​java.lang.Integer>
    Example Function that acts on a window of tuples at a time rather than per tuple basis.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.Integer process​(java.util.Collection<org.apache.pulsar.functions.api.Record<java.lang.Integer>> integers, org.apache.pulsar.functions.api.WindowContext context)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ContextWindowFunction

        public ContextWindowFunction()
    • 方法详细资料

      • process

        public java.lang.Integer process​(java.util.Collection<org.apache.pulsar.functions.api.Record<java.lang.Integer>> integers,
                                         org.apache.pulsar.functions.api.WindowContext context)
        指定者:
        process 在接口中 org.apache.pulsar.functions.api.WindowFunction<java.lang.Integer,​java.lang.Integer>