public final class BootstrapDatasetUnion
extends java.lang.Object
BootstrapDataset
s to a single, tagged Flink dataset.Constructor and Description |
---|
BootstrapDatasetUnion() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.api.java.DataSet<TaggedBootstrapData> |
apply(java.util.List<BootstrapDataset<?>> bootstrapDatasets)
Unions multiple
BootstrapDataset s to a single, tagged Flink dataset. |
public static org.apache.flink.api.java.DataSet<TaggedBootstrapData> apply(java.util.List<BootstrapDataset<?>> bootstrapDatasets)
BootstrapDataset
s to a single, tagged Flink dataset.
This does a few things:
BootstrapDataset
, assign a union index according to the order that they
were given.
BootstrapDataset
, tag each element with their assigned union index and
target state bootstrap function address (as designated by routers). This is a flat map
operation that transforms the original user-registered dataset to a dataset of TaggedBootstrapData
.
bootstrapDatasets
- pre-tagged, user-registered bootstrap datasets to union.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.