public class ColumnRiverFlow extends SimpleRiverFlow<ColumnRiverContext>
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_RUN_STARTED_TIME |
static String |
LAST_RUN_TIME |
Constructor and Description |
---|
ColumnRiverFlow() |
Modifier and Type | Method and Description |
---|---|
protected void |
fetch(RiverContext riverContext)
After river context and state setup, when data should be fetched from river source, this method is called.
|
protected ColumnRiverContext |
fillRiverContext(ColumnRiverContext riverContext,
RiverState state,
RiverSource riverSource,
RiverMouth riverMouth) |
ColumnRiverFlow |
newInstance() |
ColumnRiverContext |
newRiverContext()
Create a new river context for a river run
|
String |
strategy()
The name of the strategy the river flow belongs to
|
afterFetch, beforeFetch, createRiverMouth, createRiverSource, execute, getClient, getMetric, getQueue, getRiverName, getSettings, logMetrics, setClient, setIngestFactory, setMetric, setQueue, setRiverName, setSettings
public static final String LAST_RUN_TIME
public static final String CURRENT_RUN_STARTED_TIME
public ColumnRiverFlow()
public String strategy()
RiverFlow
strategy
in interface RiverFlow<ColumnRiverContext>
strategy
in class SimpleRiverFlow<ColumnRiverContext>
public ColumnRiverFlow newInstance()
newInstance
in interface RiverFlow<ColumnRiverContext>
newInstance
in class SimpleRiverFlow<ColumnRiverContext>
public ColumnRiverContext newRiverContext()
RiverFlow
newRiverContext
in interface RiverFlow<ColumnRiverContext>
newRiverContext
in class SimpleRiverFlow<ColumnRiverContext>
protected ColumnRiverContext fillRiverContext(ColumnRiverContext riverContext, RiverState state, RiverSource riverSource, RiverMouth riverMouth) throws IOException
fillRiverContext
in class SimpleRiverFlow<ColumnRiverContext>
IOException
protected void fetch(RiverContext riverContext) throws Exception
SimpleRiverFlow
fetch
in class SimpleRiverFlow<ColumnRiverContext>
Exception
elasticsearch-river-jdbc