| Package | Description |
|---|---|
| co.cask.cdap.etl.api |
Packages for ETL Application Templates.
|
| co.cask.cdap.etl.api.batch |
Packages for ETL Application Templates.
|
| co.cask.cdap.etl.api.realtime |
Packages for ETL Application Templates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Aggregator.aggregate(GROUP_KEY groupKey,
Iterator<GROUP_VALUE> groupValues,
Emitter<OUT> emitter)
Aggregate all objects in the same group into zero or more output objects.
|
void |
Aggregator.groupBy(GROUP_VALUE groupValue,
Emitter<GROUP_KEY> emitter)
Emit the group key(s) for a given input value.
|
void |
Transformation.transform(IN input,
Emitter<OUT> emitter)
Transform the input and emit output using
Emitter. |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchSink.transform(IN input,
Emitter<KeyValue<KEY_OUT,VAL_OUT>> emitter)
Transform the input received from previous stage to a
KeyValue pair which can be consumed by the output,
as set in BatchConfigurable.prepareRun(T). |
void |
BatchSource.transform(KeyValue<KEY_IN,VAL_IN> input,
Emitter<OUT> emitter)
Transform the
KeyValue pair produced by the input, as set in BatchConfigurable.prepareRun(T),
to a single object and emit it to the next stage. |
| Modifier and Type | Method and Description |
|---|---|
abstract SourceState |
RealtimeSource.poll(Emitter<T> writer,
SourceState currentState)
Poll for new data.
|
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.