public class IdentityAggregator extends BatchAggregator<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>
| Modifier and Type | Field and Description |
|---|---|
static PluginClass |
PLUGIN_CLASS |
PLUGIN_TYPE| Constructor and Description |
|---|
IdentityAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(co.cask.cdap.api.data.format.StructuredRecord structuredRecord,
Iterator<co.cask.cdap.api.data.format.StructuredRecord> groupValues,
Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) |
void |
configurePipeline(PipelineConfigurer pipelineConfigurer) |
static ETLPlugin |
getPlugin() |
void |
groupBy(co.cask.cdap.api.data.format.StructuredRecord input,
Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) |
destroy, initialize, prepareRunonRunFinishpublic static final PluginClass PLUGIN_CLASS
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException
configurePipeline in interface PipelineConfigurableconfigurePipeline in class BatchAggregator<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>IllegalArgumentExceptionpublic void groupBy(co.cask.cdap.api.data.format.StructuredRecord input, Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) throws Exception
Exceptionpublic void aggregate(co.cask.cdap.api.data.format.StructuredRecord structuredRecord, Iterator<co.cask.cdap.api.data.format.StructuredRecord> groupValues, Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) throws Exception
Exceptionpublic static ETLPlugin getPlugin()
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.