Package | Description |
---|---|
org.apache.flink.api.java | |
org.apache.flink.api.java.utils |
Modifier and Type | Method and Description |
---|---|
<R> MapPartitionOperator<T,R> |
DataSet.mapPartition(MapPartitionFunction<T,R> mapPartition)
Applies a Map-style operation to the entire partition of the data.
|
Modifier and Type | Method and Description |
---|---|
static <T> MapPartitionOperator<T,T> |
DataSetUtils.sample(DataSet<T> input,
boolean withReplacement,
double fraction)
Generate a sample of DataSet by the probability fraction of each element.
|
static <T> MapPartitionOperator<T,T> |
DataSetUtils.sample(DataSet<T> input,
boolean withReplacement,
double fraction,
long seed)
Generate a sample of DataSet by the probability fraction of each element.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.