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

Method Summary

Methods inherited from Filter

#process, #reject?, #select?

Methods inherited from Wukong::Processor

configure, consumes, description, #expected_record_type, #expected_serialization, #finalize, #perform_action, #process, produces, #receive_action, #setup, #stop, valid_serializer?, validate_and_set_serialization

Methods included from Logging

included

Methods included from Hanuman::StageClassMethods

#builder, #label, #register, #set_builder