@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, getArguments
discardDataset, getDataset, getDataset, getDataset, getDataset, releaseDataset
getFailureCollector, getInputSchema, getInputSchemas, getLogicalStartTime, getMetrics, getNamespace, getOutputPortSchemas, getOutputSchema, getPipelineName, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstance
getServiceURL, getServiceURL, getServiceURL
getMetadata, getMetadata
addProperties, addTags, addTags, removeMetadata, removeProperties, removeProperties, removeTags, removeTags
record
provide
void 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 © 2020 Cask Data, Inc. Licensed under the Apache License, Version 2.0.