public abstract class AbstractColumnRiverTest extends AbstractNodeTestHelper
Modifier and Type | Field and Description |
---|---|
protected static ColumnRiverContext |
context |
protected static ColumnRiverSource |
source |
cluster, index, logger, type
Constructor and Description |
---|
AbstractColumnRiverTest() |
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 |
createRiver(String resource) |
abstract ColumnRiverContext |
newRiverContext() |
abstract ColumnRiverSource |
newRiverSource() |
protected void |
performRiver(String resource) |
protected org.elasticsearch.river.RiverSettings |
riverSettings(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 ColumnRiverSource source
protected static ColumnRiverContext context
public AbstractColumnRiverTest()
public abstract ColumnRiverSource newRiverSource()
public abstract ColumnRiverContext 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 org.elasticsearch.river.RiverSettings riverSettings(String resource) throws IOException
IOException
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