@Beta public interface BatchAggregatorContext extends BatchContext
| Modifier and Type | Method and Description |
|---|---|
void |
setGroupKeyClass(Class<?> groupKeyClass)
Set the group key class.
|
void |
setGroupValueClass(Class<?> groupValueClass)
Set the group value class.
|
void |
setNumPartitions(int numPartitions)
Set the number of partitions to use to group values.
|
createDataset, datasetExists, getHadoopJob, getLogicalStartTime, getRuntimeArguments, setRuntimeArgumentdiscardDataset, getDataset, getDataset, getDataset, getDataset, releaseDatasetgetMetrics, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstanceprovidevoid setNumPartitions(int numPartitions)
numPartitions - the number of partitions to use when grouping.void setGroupKeyClass(Class<?> groupKeyClass)
groupKeyClass - the group key classvoid setGroupValueClass(Class<?> groupValueClass)
groupValueClass - the group value classCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.