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, waitForYellow
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, assertEquals, assertEqualsNoOrder, assertEqualsNoOrder, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, fail
protected 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
Exception
public void afterMethod(String stopurl, String user, String password, String resourceName) throws Exception
Exception
protected void performRiver(String resource) throws Exception
Exception
protected void createRiver(String resource) throws Exception
Exception
public void waitForRiver() throws Exception
Exception
public void waitForActiveRiver() throws Exception
Exception
public void waitForInactiveRiver() throws Exception
Exception
protected void createRandomProducts(String sql, int size) throws SQLException
SQLException
protected void createTimestampedLogs(String sql, int size, String locale, String timezone) throws SQLException
SQLException
protected void createRandomProductsJob(String sql, int size) throws SQLException
SQLException
public static RiverState waitForRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedException
IOException
public static RiverState waitForActiveRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedException
IOException
public static RiverState waitForInactiveRiver(org.elasticsearch.client.Client client, String riverName, String riverType, int seconds) throws InterruptedException, IOException
InterruptedException
IOException
elasticsearch-river-jdbc