public class RetainFields extends FilterFields
SelectFields
instead.RemapFields
input, output
Constructor and Description |
---|
RetainFields()
Keeps no fields from the input.
|
RetainFields(List<String> fields)
Keeps the specified fields from the input.
|
Modifier and Type | Method and Description |
---|---|
RecordPort |
getInput()
Gets the record port providing the input data to the operation.
|
RecordPort |
getOutput()
Gets the record port providing the output from the operation.
|
computeMetadata, execute, getFieldNames, setFieldNames, setFieldNames
cloneForExecution, getNumInputCopies, getPortSettings, handleInactiveOutput
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableParallelism, getInputPorts, getOutputPorts
public RetainFields()
FilterFields.setFieldNames(String...)
.
If no fields are specified when the containing graph is executed,
an error will be raised.public RecordPort getInput()
AbstractExecutableRecordPipeline
getInput
in interface PipelineOperator<RecordPort>
getInput
in class AbstractExecutableRecordPipeline
public RecordPort getOutput()
AbstractExecutableRecordPipeline
getOutput
in interface PipelineOperator<RecordPort>
getOutput
in class AbstractExecutableRecordPipeline
Copyright © 2021 Actian Corporation. All rights reserved.