public class LookupSource extends RealtimeSource<co.cask.cdap.api.data.format.StructuredRecord>
| Modifier and Type | Class and Description |
|---|---|
static class |
LookupSource.Config
Config for the source.
|
| Modifier and Type | Field and Description |
|---|---|
static PluginClass |
PLUGIN_CLASS |
PLUGIN_TYPE| Constructor and Description |
|---|
LookupSource(LookupSource.Config config) |
| Modifier and Type | Method and Description |
|---|---|
static ETLPlugin |
getPlugin(Set<String> fields,
String lookupName) |
void |
initialize(RealtimeContext context) |
SourceState |
poll(Emitter<co.cask.cdap.api.data.format.StructuredRecord> writer,
SourceState currentState) |
configurePipeline, destroypublic static final PluginClass PLUGIN_CLASS
public LookupSource(LookupSource.Config config)
public void initialize(RealtimeContext context) throws Exception
initialize in interface StageLifecycle<RealtimeContext>initialize in class RealtimeSource<co.cask.cdap.api.data.format.StructuredRecord>Exception@Nullable public SourceState poll(Emitter<co.cask.cdap.api.data.format.StructuredRecord> writer, SourceState currentState) throws Exception
poll in class RealtimeSource<co.cask.cdap.api.data.format.StructuredRecord>ExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.