public class KeyedReduceConfig extends AbstractKeyedOpsConfig<KeyedReduceConfig>
opKeyType, tPartitionercomputeConnection, edgeName, messageSchema, opDataType, operationName, propertiesMap, source| Constructor and Description |
|---|
KeyedReduceConfig(java.lang.String parent,
ComputeConnection computeConnection) |
| Modifier and Type | Method and Description |
|---|---|
protected Edge |
updateEdge(Edge newEdge) |
KeyedReduceConfig |
withOperation(Op operation,
MessageType dataType) |
<T> KeyedReduceConfig |
withReductionFunction(java.lang.Class<T> tClass,
IFunction<T> reductionFunction)
Define a function to handle the reduction
|
KeyedReduceConfig |
withReductionFunction(IFunction reductionFunction) |
generateSchema, useDisk, withKeyType, withTaskPartitioner, withTaskPartitionerconnect, failValidation, getEdgeName, getOpDataType, getSource, runValidation, viaEdge, withDataType, withMessageSchema, withProperties, withPropertypublic KeyedReduceConfig(java.lang.String parent,
ComputeConnection computeConnection)
public <T> KeyedReduceConfig withReductionFunction(java.lang.Class<T> tClass, IFunction<T> reductionFunction)
tClass - Class of IFunction argumentspublic KeyedReduceConfig withReductionFunction(IFunction reductionFunction)
public KeyedReduceConfig withOperation(Op operation, MessageType dataType)
protected Edge updateEdge(Edge newEdge)
updateEdge in class AbstractOpsConfig<KeyedReduceConfig>