T
- The type of the data being partitioned.@Deprecated @Public public class PartitionOperator<T> extends SingleInputOperator<T,T,PartitionOperator<T>>
minResources, name, parallelism, preferredResources
Constructor and Description |
---|
PartitionOperator(DataSet<T> input,
Keys<T> pKeys,
Partitioner<?> customPartitioner,
String partitionLocationName)
Deprecated.
|
PartitionOperator(DataSet<T> input,
Keys<T> pKeys,
Partitioner<P> customPartitioner,
TypeInformation<P> partitionerTypeInfo,
String partitionLocationName)
Deprecated.
|
PartitionOperator(DataSet<T> input,
PartitionOperatorBase.PartitionMethod pMethod,
Keys<T> pKeys,
DataDistribution distribution,
String partitionLocationName)
Deprecated.
|
PartitionOperator(DataSet<T> input,
PartitionOperatorBase.PartitionMethod pMethod,
Keys<T> pKeys,
String partitionLocationName)
Deprecated.
|
PartitionOperator(DataSet<T> input,
PartitionOperatorBase.PartitionMethod pMethod,
String partitionLocationName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Partitioner<?> |
getCustomPartitioner()
Deprecated.
Gets the custom partitioner from this partitioning.
|
protected SingleInputOperator<?,T,?> |
translateToDataFlow(Operator<T> input)
Deprecated.
Translates this operation to a data flow operator of the common data flow API.
|
PartitionOperator<T> |
withOrders(Order... orders)
Deprecated.
Sets the order of keys for range partitioning.
|
getInput, getInputType
getMinResources, getName, getParallelism, getPreferredResources, getResultType, name, setParallelism
aggregate, checkSameExecutionContext, clean, coGroup, collect, combineGroup, count, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, distinct, fillInType, filter, first, flatMap, fullOuterJoin, fullOuterJoin, getExecutionEnvironment, getType, groupBy, groupBy, groupBy, iterate, iterateDelta, join, join, joinWithHuge, joinWithTiny, leftOuterJoin, leftOuterJoin, map, mapPartition, max, maxBy, min, minBy, output, partitionByHash, partitionByHash, partitionByHash, partitionByRange, partitionByRange, partitionByRange, partitionCustom, partitionCustom, partitionCustom, print, print, printOnTaskManager, printToErr, printToErr, project, rebalance, reduce, reduceGroup, rightOuterJoin, rightOuterJoin, runOperation, sortPartition, sortPartition, sortPartition, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsFormattedText, writeAsFormattedText, writeAsText, writeAsText
public PartitionOperator(DataSet<T> input, PartitionOperatorBase.PartitionMethod pMethod, Keys<T> pKeys, String partitionLocationName)
public PartitionOperator(DataSet<T> input, PartitionOperatorBase.PartitionMethod pMethod, Keys<T> pKeys, DataDistribution distribution, String partitionLocationName)
public PartitionOperator(DataSet<T> input, PartitionOperatorBase.PartitionMethod pMethod, String partitionLocationName)
public PartitionOperator(DataSet<T> input, Keys<T> pKeys, Partitioner<?> customPartitioner, String partitionLocationName)
public PartitionOperator(DataSet<T> input, Keys<T> pKeys, Partitioner<P> customPartitioner, TypeInformation<P> partitionerTypeInfo, String partitionLocationName)
@PublicEvolving public PartitionOperator<T> withOrders(Order... orders)
PartitionOperatorBase.PartitionMethod.RANGE
.orders
- array of orders for each specified partition key@Internal public Partitioner<?> getCustomPartitioner()
protected SingleInputOperator<?,T,?> translateToDataFlow(Operator<T> input)
SingleInputOperator
translateToDataFlow
in class SingleInputOperator<T,T,PartitionOperator<T>>
input
- The data flow operator that produces this operation's input data.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.