public abstract class AbstractSimpleRiverTest extends AbstractNodeTestHelper
| Modifier and Type | Field and Description |
|---|---|
protected static RiverContext |
context |
protected static RiverSource |
source |
cluster, index, logger, type| Constructor and Description |
|---|
AbstractSimpleRiverTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod(String stopurl,
String user,
String password,
String resourceName) |
void |
beforeMethod(String starturl,
String user,
String password,
String resourceName) |
protected void |
createRandomProducts(String sql,
int size) |
protected void |
createRandomProductsJob(String sql,
int size) |
protected void |
createRiver(String resource) |
protected void |
createTimestampedLogs(String sql,
int size,
String locale,
String timezone) |
abstract RiverContext |
newRiverContext() |
abstract RiverSource |
newRiverSource() |
protected void |
performRiver(String resource) |
void |
waitForActiveRiver() |
static RiverState |
waitForActiveRiver(org.elasticsearch.client.Client client,
String riverName,
String riverType,
int seconds) |
void |
waitForInactiveRiver() |
static RiverState |
waitForInactiveRiver(org.elasticsearch.client.Client client,
String riverName,
String riverType,
int seconds) |
void |
waitForRiver() |
static RiverState |
waitForRiver(org.elasticsearch.client.Client client,
String riverName,
String riverType,
int seconds) |
assertHits, assertTimestampSort, buildNode, client, getClusterName, getNodeSettings, setClusterName, startNode, startNodes, stopNodes, waitForYellowassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsNoOrder, assertEqualsNoOrder, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failprotected static RiverSource source
protected static RiverContext context
public AbstractSimpleRiverTest()
public abstract RiverSource newRiverSource()
public abstract RiverContext newRiverContext()
public void beforeMethod(String starturl, String user, String password, String resourceName) throws Exception
Exceptionpublic void afterMethod(String stopurl, String user, String password, String resourceName) throws Exception
Exceptionprotected void performRiver(String resource) throws Exception
Exceptionprotected void createRiver(String resource) throws Exception
Exceptionpublic void waitForRiver() throws Exception
Exceptionpublic void waitForActiveRiver() throws Exception
Exceptionpublic void waitForInactiveRiver() throws Exception
Exceptionprotected void createRandomProducts(String sql, int size) throws SQLException
SQLExceptionprotected void createTimestampedLogs(String sql, int size, String locale, String timezone) throws SQLException
SQLExceptionprotected void createRandomProductsJob(String sql, int size) throws SQLException
SQLExceptionpublic static RiverState waitForRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static RiverState waitForActiveRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static RiverState waitForInactiveRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedExceptionIOExceptionelasticsearch-river-jdbc