Skip navigation links
A B C D E F G H I K M O P R S T V W 

A

after(FrameworkMethod, Object) - Method in class org.helenus.driver.junit.HelenusJUnit
Called to tear down the Helenus/Cassandra environment.
andExpect(StatementCaptureListMatcher<T>) - Method in class org.helenus.driver.junit.StatementCaptureList
Provides an expectation for the statement capture list.
andExpect(Matcher<StatementCaptureList<T>>) - Method in class org.helenus.driver.junit.StatementCaptureList
Provides an expectation for the statement capture list.
apply(Statement, FrameworkMethod, Object) - Method in class org.helenus.driver.junit.HelenusJUnit

B

before(FrameworkMethod, Object) - Method in class org.helenus.driver.junit.HelenusJUnit
Called to initialize the Helenus/Cassandra environment.
BeforeObjects - Annotation Type in org.helenus.driver.junit
The BeforeObjects annotation can be used to identify a method that will be invoked before the test methods in order to pre-populate the database with the pojos returned by the method.

C

CassandraDaemonThreadFilter - Class in org.helenus.driver.junit.log4j
The CassandraDaemonThreadFilter class provides an implementation for a log4j filter that checks if the current thread part of the Cassandra daemon.
CassandraDaemonThreadFilter(Filter.Result, Filter.Result) - Constructor for class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter
Instantiates a new CassandraDaemonThreadFilter object.
clear() - Method in class org.helenus.driver.junit.HelenusJUnit
Clears the database and the Helenus layer by resetting them to the same state they were before the previous test case.
columnIsNotNull(String, Class<T>) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has a given column not null, as determined by the associated fields' values.
columnIsNull(String, Class<T>) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has a given column null, as determined by the associated fields' values.
ColumnMatchers - Class in org.helenus.driver.junit.hamcrest
The ColumnMatchers class defines static factory methods for column matching.
ColumnMatchers() - Constructor for class org.helenus.driver.junit.hamcrest.ColumnMatchers
 
columnMatches(String, Class<T>, Matcher<V>) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has a given column value that matches the specified matcher, as determined by the associated fields' value.
columnsCloseTo(T, double, String...) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has all columns equal with a tolerable error to the same columns of the specified operand, as determined by calling Objects.deepEquals(java.lang.Object, java.lang.Object, double) method with each associated fields' values.
columnsCloseTo(String, T, double) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has a given column equal with a tolerable error to the same column on the specified operand, as determined by calling Objects.deepEquals(java.lang.Object, java.lang.Object, double) method with each associated fields' values.
columnsEqualTo(T, String...) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has all columns equal to the same columns of the specified operand, as determined by calling Objects.deepEquals(java.lang.Object, java.lang.Object) method with each associated fields' values.
columnsEqualTo(String, T) - Static method in class org.helenus.driver.junit.hamcrest.ColumnMatchers
Creates a matcher that matches when the examined object has a given column equal to the same column on the specified operand, as determined by calling Objects.deepEquals(java.lang.Object, java.lang.Object) method with each associated fields' values.
createFilter(Filter.Result, Filter.Result) - Static method in class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter
Create a new CassandraDaemonThreadFilter object.
createSchema(Class<?>) - Method in class org.helenus.driver.junit.HelenusJUnit
Creates the schema for the specified pojo class onto the embedded Cassandra database.

D

DEFAULT_CFG_FILE - Static variable in class org.helenus.driver.junit.HelenusJUnit
Constant for the default Cassandra configuration file which starts the Cassandra daemon on a random free port.
DEFAULT_READ_TIMEOUT - Static variable in class org.helenus.driver.junit.HelenusJUnit
Constant for the default timeout for read operations to the Cassandra daemon before failing.
DEFAULT_STARTUP_TIMEOUT - Static variable in class org.helenus.driver.junit.HelenusJUnit
Constant for the default timeout to wait for the Cassandra daemon to start before failing.
disableAllStatementsTraces() - Method in class org.helenus.driver.junit.HelenusJUnit
Disables all statements to be traced automatically regardless of the statement tracing setting (see GenericStatement.isTracing()).
disableFullTraces() - Method in class org.helenus.driver.junit.HelenusJUnit
Disables tracing large statements beyond 2K.
disableInternalCQLTracing() - Method in class org.helenus.driver.junit.HelenusJUnit
Disables internal CQL statements tracing.
dump(Logger, Level) - Method in class org.helenus.driver.junit.StatementCaptureList
Dumps the content of the capture list.
dumpCaptures(Logger, Level) - Method in class org.helenus.driver.junit.HelenusJUnit
Dumps the content of all the capture lists.

E

enableAllStatementsTraces() - Method in class org.helenus.driver.junit.HelenusJUnit
Enables all statements to be traced regardless of the statement tracing setting (see GenericStatement.isTracing()).
enableFullTraces() - Method in class org.helenus.driver.junit.HelenusJUnit
Enables tracing large statements beyond 2K.
enableInternalCQLTracing() - Method in class org.helenus.driver.junit.HelenusJUnit
Enables internal CQL statements tracing.
execute(String...) - Method in class org.helenus.driver.junit.HelenusJUnit
Executes the specified simple statements.
execute(Iterable<String>) - Method in class org.helenus.driver.junit.HelenusJUnit
Executes the specified simple statements.
execute(Iterator<String>) - Method in class org.helenus.driver.junit.HelenusJUnit
Execute the specified simple statements in sequence.
execute(Stream<String>) - Method in class org.helenus.driver.junit.HelenusJUnit
Executes the specified simple statements in sequence.

F

fail(RuntimeException) - Method in class org.helenus.driver.junit.StatementCaptureList
Registers an interceptor to intercept all executing statement to throw back the specified error.
fail(int, RuntimeException) - Method in class org.helenus.driver.junit.StatementCaptureList
Registers an interceptor to intercept the next num executing statements to throw back the specified error.
filter(LogEvent) - Method in class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter
filter(Logger, Level, Marker, Message, Throwable) - Method in class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter
filter(Logger, Level, Marker, Object, Throwable) - Method in class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter
filter(Logger, Level, Marker, String, Object...) - Method in class org.helenus.driver.junit.log4j.CassandraDaemonThreadFilter

G

getAnnotationsByType(Method, Class<A>) - Static method in class org.helenus.driver.junit.util.ReflectionJUnitUtils
Gets all annotations of a specified type for the test method and class given a test description.

H

HelenusJUnit - Class in org.helenus.driver.junit
The HelenusJUnit class provides the JUnit 4 definition for a @Rule service that will take care of initializing an embedded Cassandra server and the Helenus driver.
HelenusJUnit() - Constructor for class org.helenus.driver.junit.HelenusJUnit
Instantiates a new HelenusJUnit object.
HelenusJUnit(long) - Constructor for class org.helenus.driver.junit.HelenusJUnit
Instantiates a new HelenusJUnit object.
HelenusJUnit(long, long) - Constructor for class org.helenus.driver.junit.HelenusJUnit
Instantiates a new HelenusJUnit object.
HelenusJUnit(String, long) - Constructor for class org.helenus.driver.junit.HelenusJUnit
Instantiates a new HelenusJUnit object.
HelenusJUnit(String, long, long) - Constructor for class org.helenus.driver.junit.HelenusJUnit
Instantiates a new HelenusJUnit object.

I

inhibitCapturing(ERunnable<E>) - Method in class org.helenus.driver.junit.HelenusJUnit
Executes a command while disabling all capture lists.
intercept(Consumer<T>) - Method in class org.helenus.driver.junit.StatementCaptureList
Registers a consumer to intercept all executing statement.
intercept(int, Consumer<T>) - Method in class org.helenus.driver.junit.StatementCaptureList
Registers a consumer to intercept the next num executing statements.
isCassandraDaemonThread(Thread) - Static method in class org.helenus.driver.junit.HelenusJUnit
Checks if the specified thread is a Cassandra daemon thread.
isEmpty() - Method in class org.helenus.driver.junit.StatementCaptureList
Checks if this list did not capture any statements.
isEmpty() - Static method in class org.helenus.driver.junit.StatementCaptureListMatchers
Creates a matcher that matches if the captured list is empty.
isNotEmpty() - Static method in class org.helenus.driver.junit.StatementCaptureListMatchers
Creates a matcher that matches if the captured list is not empty.

K

key - Variable in class org.helenus.driver.junit.util.Strings
Holds the key.

M

match(StatementCaptureList<T>) - Method in interface org.helenus.driver.junit.StatementCaptureListMatcher
Called to process this matcher against the specified statement capture list.

O

on(int) - Method in class org.helenus.driver.junit.StatementCaptureList
Gets the ith captured statement if available.
org.helenus.driver.junit - package org.helenus.driver.junit
 
org.helenus.driver.junit.hamcrest - package org.helenus.driver.junit.hamcrest
 
org.helenus.driver.junit.log4j - package org.helenus.driver.junit.log4j
 
org.helenus.driver.junit.util - package org.helenus.driver.junit.util
 

P

PartitionKeyValues - Annotation Type in org.helenus.driver.junit
The PartitionKeyValues annotation allows a test method or class to define specific keyspace key values to be used when creating schemas for pojos.
PartitionKeyValuess - Annotation Type in org.helenus.driver.junit
Defines several PartitionKeyValues annotations on the same element in order to define multiple PartitionKeyValues annotations for the same test method or class.
populate(Supplier<? super Object>) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with objects returned by the specified supplier.
populate(Function<Map<String, String>, ? super Object>) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with objects returned by the specified function.
populate(Object...) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with the specified objects.
populate(Iterable<? super Object>) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with the specified objects.
populate(Iterator<? super Object>) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with the specified objects.
populate(Stream<? super Object>) - Method in class org.helenus.driver.junit.HelenusJUnit
Populates the database with the specified objects.

R

ReflectionJUnitUtils - Class in org.helenus.driver.junit.util
The ReflectionJUnitUtils class provides reflection utilities specific to JUnit.

S

schema(Class<?>...) - Method in class org.helenus.driver.junit.HelenusJUnit
Initializes the schema for the specified pojo classes in the database.
schema(Iterable<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Initializes the schema for the specified pojo classes in the database.
schema(Iterator<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Initializes the schema for the specified pojo classes in the database.
schema(Stream<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Initializes the schema for the specified pojo classes in the database.
setNumberReadRetries(int) - Method in class org.helenus.driver.junit.HelenusJUnit
Sets the number of times to retry a read operation that timed out.
setNumberRetries(int) - Method in class org.helenus.driver.junit.HelenusJUnit
Sets the number of times to retry a read or write operation that timed out.
setNumberWriteRetries(int) - Method in class org.helenus.driver.junit.HelenusJUnit
Sets the number of times to retry a write operation that timed out.
size() - Method in class org.helenus.driver.junit.StatementCaptureList
Gets the number of statements captured.
size(Matcher<Integer>) - Static method in class org.helenus.driver.junit.StatementCaptureListMatchers
Accesses the size assertions with a Hamcrest match for asserting the the number of captured statements for a statement capture list.
StatementCaptureList<T extends GenericStatement> - Class in org.helenus.driver.junit
The StatementCaptureList class defines a class capable of capturing executing statements.
StatementCaptureListMatcher<T extends GenericStatement> - Interface in org.helenus.driver.junit
The StatementCaptureListMatcher interface defines a class that can match the statement capture list against some expectation.
StatementCaptureListMatchers - Class in org.helenus.driver.junit
The StatementCaptureListMatchers abstract class defines static factory method for a statement capture list.
StatementCaptureListMatchers() - Constructor for class org.helenus.driver.junit.StatementCaptureListMatchers
 
stop() - Method in class org.helenus.driver.junit.StatementCaptureList
Stops capturing and intercepting statements with this capture list.
stopIntercepting() - Method in class org.helenus.driver.junit.StatementCaptureList
Stops all registered interceptors.
Strings - Class in org.helenus.driver.junit.util
The Strings class provides a very simple pair of strings.
Strings(String, String) - Constructor for class org.helenus.driver.junit.util.Strings
Instantiates a new Strings object.

T

toString() - Method in class org.helenus.driver.junit.util.Strings
truncate(Class<?>...) - Method in class org.helenus.driver.junit.HelenusJUnit
Truncates all tables for the specified pojo classes from the database.
truncate(Iterable<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Truncates all tables for the specified pojo classes from the database.
truncate(Iterator<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Truncates all tables for the specified pojo classes from the database.
truncate(Stream<Class<?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Truncates all tables for the specified pojo classes from the database.

V

value - Variable in class org.helenus.driver.junit.util.Strings
Holds the value.

W

whenSent(Consumer<GenericStatement<?, ?>>) - Method in class org.helenus.driver.junit.HelenusJUnit
Registers a callback to be notified when a statement is sent to Cassandra.
withCapture() - Method in class org.helenus.driver.junit.HelenusJUnit
Starts capturing all object statements that have had their executions requested with the Helenus statement manager in the order they are occurring to the returned list.
withCapture(Class<T>) - Method in class org.helenus.driver.junit.HelenusJUnit
Starts capturing all statements of the specified class that have had their executions requested with the Helenus statement manager in the order they are occurring to the returned list.
withoutCapture() - Method in class org.helenus.driver.junit.HelenusJUnit
Stops capturing object statements with all capture lists.
A B C D E F G H I K M O P R S T V W 
Skip navigation links

Copyright (C) 2015-2017 The Helenus Driver Project Authors.