| Package | Description |
|---|---|
| org.helenus.driver.junit |
| Modifier and Type | Method and Description |
|---|---|
HelenusJUnit |
HelenusJUnit.clear()
Clears the database and the Helenus layer by resetting them to the same
state they were before the previous test case.
|
HelenusJUnit |
HelenusJUnit.createSchema(Class<?> clazz)
Creates the schema for the specified pojo class onto the embedded Cassandra
database.
|
HelenusJUnit |
HelenusJUnit.execute(Iterable<String> statements)
Executes the specified simple statements.
|
HelenusJUnit |
HelenusJUnit.execute(Iterator<String> statements)
Execute the specified simple statements in sequence.
|
HelenusJUnit |
HelenusJUnit.execute(java.util.stream.Stream<String> statements)
Executes the specified simple statements in sequence.
|
HelenusJUnit |
HelenusJUnit.execute(String... statements)
Executes the specified simple statements.
|
<E extends Throwable> |
HelenusJUnit.inhibitCapturing(ERunnable<E> cmd)
Executes a command while disabling all capture lists.
|
HelenusJUnit |
HelenusJUnit.populate(java.util.function.Function<Map<String,String>,? super Object> objs)
Populates the database with objects returned by the specified function.
|
HelenusJUnit |
HelenusJUnit.populate(Iterable<? super Object> objs)
Populates the database with the specified objects.
|
HelenusJUnit |
HelenusJUnit.populate(Iterator<? super Object> objs)
Populates the database with the specified objects.
|
HelenusJUnit |
HelenusJUnit.populate(Object... objs)
Populates the database with the specified objects.
|
HelenusJUnit |
HelenusJUnit.populate(java.util.stream.Stream<? super Object> objs)
Populates the database with the specified objects.
|
HelenusJUnit |
HelenusJUnit.populate(java.util.function.Supplier<? super Object> objs)
Populates the database with objects returned by the specified supplier.
|
HelenusJUnit |
HelenusJUnit.schema(Class<?>... classes)
Initializes the schema for the specified pojo classes in the database.
|
HelenusJUnit |
HelenusJUnit.schema(Iterable<Class<?>> classes)
Initializes the schema for the specified pojo classes in the database.
|
HelenusJUnit |
HelenusJUnit.schema(Iterator<Class<?>> classes)
Initializes the schema for the specified pojo classes in the database.
|
HelenusJUnit |
HelenusJUnit.schema(java.util.stream.Stream<Class<?>> classes)
Initializes the schema for the specified pojo classes in the database.
|
HelenusJUnit |
HelenusJUnit.truncate(Class<?>... classes)
Truncates all tables for the specified pojo classes from the database.
|
HelenusJUnit |
HelenusJUnit.truncate(Iterable<Class<?>> classes)
Truncates all tables for the specified pojo classes from the database.
|
HelenusJUnit |
HelenusJUnit.truncate(Iterator<Class<?>> classes)
Truncates all tables for the specified pojo classes from the database.
|
HelenusJUnit |
HelenusJUnit.truncate(java.util.stream.Stream<Class<?>> classes)
Truncates all tables for the specified pojo classes from the database.
|
HelenusJUnit |
HelenusJUnit.whenSent(java.util.function.Consumer<GenericStatement<?,?>> consumer)
Registers a callback to be notified when a statement is sent to Cassandra.
|
HelenusJUnit |
HelenusJUnit.withoutCapture()
Stops capturing object statements with all capture lists.
|
Copyright (C) 2015-2017 The Helenus Driver Project Authors.