Class: Wukong::Processor::Identity

Inherits:
Filter show all
Defined in:
lib/wukong/widget/filters.rb

Overview

A widget which passes all records, i.e. - it acts just like cat.

Examples:

Pass all records unmodified on the command line


$ cat input
1
2
3
$ cat input | wu-local identity
1
2
3

Pass all records unmodified in a dataflow


Wukong.dataflow(:uses_identity) do
  ... | identity | ...
end

See Also:

Constant Summary

Constants inherited from Wukong::Processor

SerializerError

Instance Attribute Summary

Attributes included from Hanuman::StageInstanceMethods

#graph

Method Summary

Methods inherited from Filter

#process, #reject?, #select?

Methods inherited from Wukong::Processor

configure, description, #finalize, #perform_action, #process, #receive_action, #setup, #stop

Methods included from Logging

included

Methods inherited from Hanuman::Stage

#clone

Methods included from Hanuman::StageClassMethods

#builder, #label, #register, #set_builder

Methods included from Hanuman::StageInstanceMethods

#add_link, #linkable_name, #root