public class ColumnRiverSource<RC extends ColumnRiverContext> extends SimpleRiverSource<RC>
calendar, context, dateTimeZone, locale, password, readConnection, suspended, timezone, url, user, writeConnection
Constructor and Description |
---|
ColumnRiverSource() |
Modifier and Type | Method and Description |
---|---|
void |
fetch()
River fetch.
|
ColumnRiverSource<RC> |
newInstance()
Create new river source instance
|
String |
strategy()
The strategy this river source supports.
|
afterFetch, afterRows, afterRows, beforeFetch, beforeRows, beforeRows, bind, close, close, closeReading, closeWriting, executeQuery, executeQuery, executeUpdate, executeUpdate, getConnectionForReading, getConnectionForWriting, getLocale, getTimeZone, getUrl, merge, nextRow, nextRow, parseType, prepareQuery, prepareUpdate, register, resume, setLocale, setPassword, setRiverContext, setTimeZone, setUrl, setUser, shutdown, suspend
public ColumnRiverSource()
public String strategy()
RiverSource
strategy
in interface RiverSource<RC extends ColumnRiverContext>
strategy
in class SimpleRiverSource<RC extends ColumnRiverContext>
public ColumnRiverSource<RC> newInstance()
RiverSource
newInstance
in interface RiverSource<RC extends ColumnRiverContext>
newInstance
in class SimpleRiverSource<RC extends ColumnRiverContext>
public void fetch() throws SQLException, IOException
SimpleRiverSource
fetch
in interface RiverSource<RC extends ColumnRiverContext>
fetch
in class SimpleRiverSource<RC extends ColumnRiverContext>
SQLException
- when SQL execution gives an errorIOException
- when input/output error occurselasticsearch-river-jdbc