Class RetainFields

All Implemented Interfaces:
LogicalOperator, PipelineOperator<RecordPort>, RecordPipelineOperator

public class RetainFields extends FilterFields
Preserves a subset of fields from the input records. Only those fields named in the filter are copied to the output; if a field specified in the filter does not exist in the input, it is ignored. The relative order of fields within the records is unchanged. To require the existence of fields, use SelectFields instead.
See Also: