Class PrintForeachAction<K,​V>

    • Method Detail

      • apply

        public void apply​(K key,
                          V value)
        Description copied from interface: ForeachAction
        Perform an action for each record of a stream.
        Specified by:
        apply in interface ForeachAction<K,​V>
        Parameters:
        key - the key of the record
        value - the value of the record
      • close

        public void close()