| Modifier and Type | Class and Description |
|---|---|
static class |
HelloWorldSource.ExtractorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_NAMESPACE |
static int |
DEFAULT_NUM_HELLOS |
static String |
HELLO_ID_FULL_KEY |
static String |
HELLO_ID_KEY |
static String |
NUM_HELLOS_FULL_KEY |
static String |
NUM_HELLOS_KEY |
| Constructor and Description |
|---|
HelloWorldSource() |
| Modifier and Type | Method and Description |
|---|---|
Extractor<String,String> |
getExtractor(WorkUnitState state) |
List<WorkUnit> |
getWorkunits(SourceState state) |
void |
shutdown(SourceState state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEarlyStoppedpublic static final String CONFIG_NAMESPACE
public static final String NUM_HELLOS_KEY
public static final String NUM_HELLOS_FULL_KEY
public static final int DEFAULT_NUM_HELLOS
public static final String HELLO_ID_KEY
public static final String HELLO_ID_FULL_KEY
public List<WorkUnit> getWorkunits(SourceState state)
getWorkunits in interface Source<String,String>public Extractor<String,String> getExtractor(WorkUnitState state)
getExtractor in interface Source<String,String>public void shutdown(SourceState state)