Java Code Examples for org.apache.flink.api.dag.Transformation#getOutputType()
The following examples show how to use
org.apache.flink.api.dag.Transformation#getOutputType() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PartitionTransformation.java From flink with Apache License 2.0 | 5 votes |
/** * Creates a new {@code PartitionTransformation} from the given input and * {@link StreamPartitioner}. * * @param input The input {@code Transformation} * @param partitioner The {@code StreamPartitioner} * @param shuffleMode The {@code ShuffleMode} */ public PartitionTransformation( Transformation<T> input, StreamPartitioner<T> partitioner, ShuffleMode shuffleMode) { super("Partition", input.getOutputType(), input.getParallelism()); this.input = input; this.partitioner = partitioner; this.shuffleMode = checkNotNull(shuffleMode); }
Example 2
Source File: SplitTransformation.java From flink with Apache License 2.0 | 5 votes |
/** * Creates a new {@code SplitTransformation} from the given input and {@code OutputSelector}. * * @param input The input {@code Transformation} * @param outputSelector The output selector */ public SplitTransformation( Transformation<T> input, OutputSelector<T> outputSelector) { super("Split", input.getOutputType(), input.getParallelism()); this.input = input; this.outputSelector = outputSelector; }
Example 3
Source File: PartitionTransformation.java From flink with Apache License 2.0 | 5 votes |
/** * Creates a new {@code PartitionTransformation} from the given input and * {@link StreamPartitioner}. * * @param input The input {@code Transformation} * @param partitioner The {@code StreamPartitioner} * @param shuffleMode The {@code ShuffleMode} */ public PartitionTransformation( Transformation<T> input, StreamPartitioner<T> partitioner, ShuffleMode shuffleMode) { super("Partition", input.getOutputType(), input.getParallelism()); this.input = input; this.partitioner = partitioner; this.shuffleMode = checkNotNull(shuffleMode); }
Example 4
Source File: SplitTransformation.java From flink with Apache License 2.0 | 5 votes |
/** * Creates a new {@code SplitTransformation} from the given input and {@code OutputSelector}. * * @param input The input {@code Transformation} * @param outputSelector The output selector */ public SplitTransformation( Transformation<T> input, OutputSelector<T> outputSelector) { super("Split", input.getOutputType(), input.getParallelism()); this.input = input; this.outputSelector = outputSelector; }
Example 5
Source File: FeedbackTransformation.java From flink with Apache License 2.0 | 3 votes |
/** * Creates a new {@code FeedbackTransformation} from the given input. * * @param input The input {@code Transformation} * @param waitTime The wait time of the feedback operator. After the time expires * the operation will close and not receive any more feedback elements. */ public FeedbackTransformation(Transformation<T> input, Long waitTime) { super("Feedback", input.getOutputType(), input.getParallelism()); this.input = input; this.waitTime = waitTime; this.feedbackEdges = Lists.newArrayList(); }
Example 6
Source File: SelectTransformation.java From flink with Apache License 2.0 | 3 votes |
/** * Creates a new {@code SelectionTransformation} from the given input that only selects * the streams with the selected names. * * @param input The input {@code Transformation} * @param selectedNames The names from the upstream {@code SplitTransformation} that this * {@code SelectTransformation} selects. */ public SelectTransformation( Transformation<T> input, List<String> selectedNames) { super("Select", input.getOutputType(), input.getParallelism()); this.input = input; this.selectedNames = selectedNames; }
Example 7
Source File: FeedbackTransformation.java From flink with Apache License 2.0 | 3 votes |
/** * Creates a new {@code FeedbackTransformation} from the given input. * * @param input The input {@code Transformation} * @param waitTime The wait time of the feedback operator. After the time expires * the operation will close and not receive any more feedback elements. */ public FeedbackTransformation(Transformation<T> input, Long waitTime) { super("Feedback", input.getOutputType(), input.getParallelism()); this.input = input; this.waitTime = waitTime; this.feedbackEdges = Lists.newArrayList(); }
Example 8
Source File: SelectTransformation.java From flink with Apache License 2.0 | 3 votes |
/** * Creates a new {@code SelectionTransformation} from the given input that only selects * the streams with the selected names. * * @param input The input {@code Transformation} * @param selectedNames The names from the upstream {@code SplitTransformation} that this * {@code SelectTransformation} selects. */ public SelectTransformation( Transformation<T> input, List<String> selectedNames) { super("Select", input.getOutputType(), input.getParallelism()); this.input = input; this.selectedNames = selectedNames; }