A B C D E F G H I J K L N O P R S T U V W 
All Classes All Packages

A

AbstractCqlScript - Class in com.github.nosan.embedded.cassandra.cql
An abstract implementation of the CqlScript interface that facilitates parsing a CQL (Cassandra Query Language) script into individual statements.
add(String, String) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Adds a value to the list of values for the specified header name.
addConfigProperties(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds multiple Cassandra configuration properties to the current configuration, merging them with the properties defined in the `cassandra.yaml` file.
addConfigProperty(String, Object) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets a single Cassandra configuration property, which will be merged with properties defined in the `cassandra.yaml` file.
addEnvironmentVariable(String, Object) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds a Cassandra environment variable to the current configuration.
addEnvironmentVariables(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds multiple Cassandra environment variables to the current configuration.
addJvmOptions(String...) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds Cassandra native Java Virtual Machine (JVM) options to the current configuration.
addJvmOptions(Collection<String>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds the specified Cassandra native Java Virtual Machine (JVM) options to the existing configuration.
addResource(Resource) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds a Resource with the default UTF-8 charset to the builder.
addResource(Resource, String) - Static method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryCustomizer
Copies a resource to a target path within the working directory.
addResource(Resource, Charset) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds a Resource with the specified Charset to the builder.
addScript(CqlScript) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds a CqlScript to the builder.
addScript(String) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds a plain CQL script string to the builder.
addSeed(String, int) - Method in class com.github.nosan.embedded.cassandra.SimpleSeedProviderConfigurator
Adds the address with a port.
addSeeds(String...) - Method in class com.github.nosan.embedded.cassandra.SimpleSeedProviderConfigurator
Adds the addresses.
addStatements(String...) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds one or more static CQL statements to the builder.
addStatements(List<? extends String>) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Adds a list of static CQL statements to the builder.
addSystemProperties(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds multiple Cassandra native Java Virtual Machine (JVM) system properties to the current configuration.
addSystemProperty(String, Object) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds a single Cassandra native Java Virtual Machine (JVM) system property to the current configuration.
addWorkingDirectoryCustomizers(WorkingDirectoryCustomizer...) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds one or more WorkingDirectoryCustomizer instances to customize the working directory.
addWorkingDirectoryCustomizers(Collection<? extends WorkingDirectoryCustomizer>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Adds one or more WorkingDirectoryCustomizer instances to the current configuration.
addWorkingDirectoryResource(Resource, String) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Copies a resource to a specified target path within the working directory.

B

build() - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Build a new Cassandra instance.
build() - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet.Builder
Builds and returns a CqlDataSet instance.
builder() - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a new CqlDataSet.Builder instance for constructing CqlDataSet objects.

C

Cassandra - Interface in com.github.nosan.embedded.cassandra
A simple interface that allows Cassandra to be started and stopped.
CassandraBuilder - Class in com.github.nosan.embedded.cassandra
A builder that can be used to configure and create Cassandra.
CassandraBuilder() - Constructor for class com.github.nosan.embedded.cassandra.CassandraBuilder
Creates a new CassandraBuilder.
CassandraBuilderConfigurator - Interface in com.github.nosan.embedded.cassandra
A callback interface to configure a CassandraBuilder.
CassandraDirectoryProvider - Interface in com.github.nosan.embedded.cassandra
Provides the path to the Cassandra directory based on a specified version.
CassandraException - Exception in com.github.nosan.embedded.cassandra
An exception thrown by a Cassandra.
CassandraException(String, Throwable) - Constructor for exception com.github.nosan.embedded.cassandra.CassandraException
Constructs a new CassandraException with the specified detail message and cause.
checksum(Path, String) - Static method in class com.github.nosan.embedded.cassandra.commons.FileUtils
Computes the checksum of the specified file using the given algorithm.
ClassPathResource - Class in com.github.nosan.embedded.cassandra.commons
Resource implementation for class path resources.
ClassPathResource(String) - Constructor for class com.github.nosan.embedded.cassandra.commons.ClassPathResource
Constructs a new ClassPathResource with the specified resource name.
ClassPathResource(String, ClassLoader) - Constructor for class com.github.nosan.embedded.cassandra.commons.ClassPathResource
Constructs a new ClassPathResource with the specified resource name and class loader.
clear() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
close() - Method in class com.github.nosan.embedded.cassandra.commons.FileLock
Releases all locks and closes the underlying FileChannel.
close() - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpResponse
Closes the response and releases any underlying resources.
com.github.nosan.embedded.cassandra - package com.github.nosan.embedded.cassandra
Embedded Cassandra provides an easy way to start and stop Apache Cassandra.
com.github.nosan.embedded.cassandra.commons - package com.github.nosan.embedded.cassandra.commons
Common classes.
com.github.nosan.embedded.cassandra.commons.function - package com.github.nosan.embedded.cassandra.commons.function
I/O function classes.
com.github.nosan.embedded.cassandra.commons.web - package com.github.nosan.embedded.cassandra.commons.web
HTTP client classes.
com.github.nosan.embedded.cassandra.cql - package com.github.nosan.embedded.cassandra.cql
CQL classes.
compareTo(Version) - Method in class com.github.nosan.embedded.cassandra.Version
 
configFile(Resource) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra configuration file path.
configProperties(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra configuration properties to be merged with the properties defined in the `cassandra.yaml` file.
configure(CassandraBuilder) - Method in interface com.github.nosan.embedded.cassandra.CassandraBuilderConfigurator
Configure the builder.
configure(CassandraBuilder) - Method in class com.github.nosan.embedded.cassandra.SimpleSeedProviderConfigurator
 
configure(CassandraBuilderConfigurator) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Applies the specified configurator to customize this builder.
containsKey(Object) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
containsValue(Object) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
copy(InputStream, OutputStream) - Static method in class com.github.nosan.embedded.cassandra.commons.StreamUtils
Copies the contents of an InputStream to an OutputStream.
copy(Path, Path) - Method in interface com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer.CopyStrategy
Copies Cassandra files into the working directory.
copy(Path, Path, CopyOption...) - Static method in class com.github.nosan.embedded.cassandra.commons.FileUtils
Copies a file or directory to the target location.
copy(Path, Path, BiPredicate<? super Path, ? super BasicFileAttributes>, CopyOption...) - Static method in class com.github.nosan.embedded.cassandra.commons.FileUtils
Copies a file or directory to the target location with a filtering function.
copyOf(Map<String, List<String>>) - Static method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Creates an HttpHeaders instance by copying the provided headers.
CqlDataSet - Interface in com.github.nosan.embedded.cassandra.cql
A CqlDataSet represents a collection of CqlScript instances, providing functionality to group and manage multiple CQL scripts that can be executed sequentially.
CqlDataSet.Builder - Interface in com.github.nosan.embedded.cassandra.cql
A builder for constructing instances of CqlDataSet.
CqlScript - Interface in com.github.nosan.embedded.cassandra.cql
A CqlScript represents a collection of executable Cassandra Query Language (CQL) statements.
customize(Path, Version) - Method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryCustomizer
Customizes the working directory.

D

DEFAULT_VERSION - Static variable in class com.github.nosan.embedded.cassandra.CassandraBuilder
Default Cassandra version.
DefaultCqlDataSet - Class in com.github.nosan.embedded.cassandra.cql
Default implementation of the CqlDataSet interface.
DefaultCqlDataSet(Collection<? extends CqlScript>) - Constructor for class com.github.nosan.embedded.cassandra.cql.DefaultCqlDataSet
Creates a new immutable DefaultCqlDataSet with the specified CQL scripts.
DefaultWorkingDirectoryInitializer - Class in com.github.nosan.embedded.cassandra
The default implementation of WorkingDirectoryInitializer retrieves the Cassandra directory from the CassandraDirectoryProvider and copies all files from the retrieved directory into the working directory, except for the javadoc, doc, and licenses directories.
DefaultWorkingDirectoryInitializer(CassandraDirectoryProvider) - Constructor for class com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer
DefaultWorkingDirectoryInitializer(CassandraDirectoryProvider, DefaultWorkingDirectoryInitializer.CopyStrategy) - Constructor for class com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer
DefaultWorkingDirectoryInitializer.CopyStrategy - Interface in com.github.nosan.embedded.cassandra
Cassandra file copy strategies.
delete(Path) - Static method in class com.github.nosan.embedded.cassandra.commons.FileUtils
Deletes the specified Path.
deleteAll() - Static method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryDestroyer
Completely deletes the working directory.
deleteOnly(String...) - Static method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryDestroyer
Deletes the specified paths in the working directory.
destroy(Path, Version) - Method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryDestroyer
Destroys the working directory based on the implemented strategy.
doNothing() - Static method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryDestroyer
Does nothing to the working directory.

E

entrySet() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
environmentVariables(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra environment variables.
equals(Object) - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.cql.DefaultCqlDataSet
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.cql.StringCqlScript
 
equals(Object) - Method in class com.github.nosan.embedded.cassandra.Version
 
exists() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
exists() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
exists() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Tests whether a resource exists.
exists() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 

F

FileLock - Class in com.github.nosan.embedded.cassandra.commons
Utility class for obtaining an exclusive lock on a file.
FileSystemResource - Class in com.github.nosan.embedded.cassandra.commons
Resource implementation for file system resources.
FileSystemResource(File) - Constructor for class com.github.nosan.embedded.cassandra.commons.FileSystemResource
Constructs a new FileSystemResource with the specified File.
FileSystemResource(Path) - Constructor for class com.github.nosan.embedded.cassandra.commons.FileSystemResource
Constructs a new FileSystemResource with the specified Path.
FileUtils - Class in com.github.nosan.embedded.cassandra.commons
A utility class providing simple methods for dealing with files and directories.
forEachScript(Consumer<? super CqlScript>) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Executes the provided callback for each CqlScript in the CqlDataSet.
forEachStatement(Consumer<? super String>) - Method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Iterates over all the statements in this CqlScript, applying the provided Consumer.

G

get() - Method in interface com.github.nosan.embedded.cassandra.commons.function.IOSupplier
Supplies a value, potentially throwing an IOException.
get(Object) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
getAddress() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the address this Cassandra instance is listening on.
getConfigProperties() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Cassandra configuration properties.
getConfigurationFile() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Cassandra configuration file.
getDirectory(Version) - Method in interface com.github.nosan.embedded.cassandra.CassandraDirectoryProvider
Returns the path to the Cassandra directory for the specified version.
getDirectory(Version) - Method in class com.github.nosan.embedded.cassandra.WebCassandraDirectoryProvider
 
getEnvironmentVariables() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Cassandra environment variables used at startup.
getFile() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
Gets the file.
getFileName() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
getFileName() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
getFileName() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Gets the file name of this resource.
getFileName() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
getFirst(String) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Retrieves the first value associated with the given header name.
getHeaders() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Returns the HTTP headers associated with this request.
getHeaders() - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpResponse
Returns the headers associated with this HTTP response.
getInputStream() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
getInputStream() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
getInputStream() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Open an InputStream for the underlying resource.
getInputStream() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
getInputStream() - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpResponse
Returns the body of the HTTP response as an InputStream.
getJvmOptions() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Cassandra JVM options used at startup.
getLabel() - Method in class com.github.nosan.embedded.cassandra.Version
Retrieves the pre-release label, if available.
getMajor() - Method in class com.github.nosan.embedded.cassandra.Version
Retrieves the major version.
getMethod() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Returns the HTTP method of the request.
getMinor() - Method in class com.github.nosan.embedded.cassandra.Version
Retrieves the minor version.
getName() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Gets the name of this Cassandra instance.
getName() - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Gets the currently configured Cassandra instance name.
getName() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the name of this Cassandra instance.
getOutputStream() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
getOutputStream() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
getOutputStream() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Open an OutputStream for the underlying resource.
getOutputStream() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
getPatch() - Method in class com.github.nosan.embedded.cassandra.Version
Retrieves the patch version, if available.
getPath() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
Gets the path.
getPort() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the port this Cassandra instance is listening on.
getScripts() - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Retrieves all the CqlScript instances contained within this CqlDataSet.
getScripts() - Method in class com.github.nosan.embedded.cassandra.cql.DefaultCqlDataSet
Gets the list of CqlScript instances contained within this dataset.
getSettings() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Retrieves the Settings of this Cassandra instance.
getSslPort() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the SSL port this Cassandra instance is listening on.
getStatements() - Method in class com.github.nosan.embedded.cassandra.cql.AbstractCqlScript
Retrieves the list of statements parsed from the CQL script.
getStatements() - Method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Retrieves all the CQL statements from every script in the CqlDataSet.
getStatements() - Method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Retrieves the list of CQL statements encapsulated within this CqlScript.
getStatements() - Method in class com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
Retrieves the list of CQL statements.
getStatus() - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpResponse
Returns the HTTP status code of the response.
getSystemProperties() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Cassandra JVM parameters used at startup.
getUri() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Returns the URI of the request.
getUri() - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpResponse
Returns the URI of the HTTP request that resulted in this response.
getVersion() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Retrieves the Version of this Cassandra instance.
getVersion() - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Gets the currently configured Cassandra version.
getVersion() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the Version of this Cassandra instance.
getWorkingDirectory() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Retrieves the working directory of this Cassandra instance.
getWorkingDirectory() - Method in interface com.github.nosan.embedded.cassandra.Settings
Gets the working directory.

H

hashCode() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.cql.DefaultCqlDataSet
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.cql.StringCqlScript
 
hashCode() - Method in class com.github.nosan.embedded.cassandra.Version
 
hasText(CharSequence) - Static method in class com.github.nosan.embedded.cassandra.commons.StringUtils
Check whether the provided string contains actual text.
HttpClient - Interface in com.github.nosan.embedded.cassandra.commons.web
A simple interface for sending HTTP requests.
HttpClient.BodySuppliers - Class in com.github.nosan.embedded.cassandra.commons.web
A utility class for creating different kinds of body suppliers.
HttpHeaders - Class in com.github.nosan.embedded.cassandra.commons.web
Represents HTTP request and response headers in a case-insensitive manner.
HttpHeaders() - Constructor for class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Creates a new empty HttpHeaders instance.
HttpRequest - Class in com.github.nosan.embedded.cassandra.commons.web
Represents an HTTP request message.
HttpRequest(URI) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Creates a new HttpRequest with the specified URI and the default HTTP GET method.
HttpRequest(URI, String) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Creates a new HttpRequest with the specified URI and HTTP method.
HttpRequest(URI, String, HttpHeaders) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Creates a new HttpRequest with the specified URI, HTTP method, and headers.
HttpResponse - Interface in com.github.nosan.embedded.cassandra.commons.web
Represents an HTTP response message.

I

init(Path, Version) - Method in class com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer
 
init(Path, Version) - Method in interface com.github.nosan.embedded.cassandra.WorkingDirectoryInitializer
Initializes the working directory by copying or setting up all required files.
IOSupplier<T> - Interface in com.github.nosan.embedded.cassandra.commons.function
Represents a supplier that may throw an IOException.
isEmpty() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
isNativeTransportEnabled() - Method in interface com.github.nosan.embedded.cassandra.Settings
Checks whether the native transport is enabled.
isReadable() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
isReadable() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
isReadable() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Tests whether a resource is readable.
isReadable() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
isRunning() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Checks whether this Cassandra instance is running.
isWritable() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
isWritable() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
isWritable() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Tests whether a resource is writable.
isWritable() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 

J

JdkHttpClient - Class in com.github.nosan.embedded.cassandra.commons.web
A HttpClient implementation based on HttpURLConnection.
JdkHttpClient() - Constructor for class com.github.nosan.embedded.cassandra.commons.web.JdkHttpClient
Creates a JdkHttpClient with no connection or read timeouts and no proxy.
JdkHttpClient(Proxy) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.JdkHttpClient
Creates a JdkHttpClient with no connection or read timeouts and a specific proxy.
JdkHttpClient(Duration, Duration) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.JdkHttpClient
Creates a JdkHttpClient with specified connection and read timeouts, but no proxy.
JdkHttpClient(Duration, Duration, Proxy) - Constructor for class com.github.nosan.embedded.cassandra.commons.web.JdkHttpClient
Creates a JdkHttpClient with specified connection and read timeouts and a proxy.
jvmOptions(String...) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets Cassandra native Java Virtual Machine (JVM) Options.
jvmOptions(Collection<String>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra native Java Virtual Machine (JVM) options.

K

keySet() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 

L

logger(Logger) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra logger.

N

name(String) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra instance name.

O

of(Path) - Static method in class com.github.nosan.embedded.cassandra.commons.FileLock
Creates a FileLock instance for the specified file.
ofBytes(byte[]) - Static method in class com.github.nosan.embedded.cassandra.commons.web.HttpClient.BodySuppliers
Creates a body supplier from the given byte array.
ofClassPath(String) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance using a classpath resource and the default Charset.
ofClassPath(String, Charset) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance using a classpath resource and the specified Charset.
ofClassPaths(String...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a CqlDataSet from the specified classpath resource names, using the default charset.
ofClassPaths(Charset, String...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a CqlDataSet from the specified classpath resource names, using the provided Charset.
ofResource(Resource) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance using the specified Resource and the default Charset.
ofResource(Resource, Charset) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance using the specified Resource and Charset.
ofResources(Resource...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a CqlDataSet from the specified Resource instances, using the default charset.
ofResources(Charset, Resource...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a CqlDataSet from the specified Resource instances, using the provided Charset.
ofScripts(CqlScript...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlDataSet
Creates a CqlDataSet from the specified CqlScript instances.
ofStatements(String...) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance from an array of CQL statements.
ofStatements(List<? extends String>) - Static method in interface com.github.nosan.embedded.cassandra.cql.CqlScript
Creates a CqlScript instance from a List of CQL statements.
ofString(String) - Static method in class com.github.nosan.embedded.cassandra.commons.web.HttpClient.BodySuppliers
Creates a body supplier from the given string.
ofString(String, Charset) - Static method in class com.github.nosan.embedded.cassandra.commons.web.HttpClient.BodySuppliers
Creates a body supplier from the given string and charset.

P

parse(String) - Static method in class com.github.nosan.embedded.cassandra.Version
Creates a Version from a textual representation, such as 4.0.
put(String, List<String>) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
putAll(Map<? extends String, ? extends List<String>>) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 

R

readOnly(Map<String, List<String>>) - Static method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Creates a read-only view of the specified HTTP headers.
registerShutdownHook(boolean) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Specifies whether the created Cassandra instance should have a shutdown hook registered.
remove(Object) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
REPLACE_EXISTING - Static variable in interface com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer.CopyStrategy
Replaces a destination file if it exists.
Resource - Interface in com.github.nosan.embedded.cassandra.commons
Resource that abstracts from the actual type of underlying source.
ResourceCqlScript - Class in com.github.nosan.embedded.cassandra.cql
An implementation of CqlScript that reads CQL statements from a Resource.
ResourceCqlScript(Resource) - Constructor for class com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
Creates a new ResourceCqlScript with the given Resource and the default platform charset.
ResourceCqlScript(Resource, Charset) - Constructor for class com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
Creates a new ResourceCqlScript with the given Resource and a specified Charset.

S

seeds(String...) - Method in class com.github.nosan.embedded.cassandra.SimpleSeedProviderConfigurator
Sets the addresses.
send(HttpRequest) - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpClient
Sends an HTTP request.
send(HttpRequest, IOSupplier<? extends InputStream>) - Method in interface com.github.nosan.embedded.cassandra.commons.web.HttpClient
Sends an HTTP request with an optional body.
send(HttpRequest, IOSupplier<? extends InputStream>) - Method in class com.github.nosan.embedded.cassandra.commons.web.JdkHttpClient
Sends an HTTP request using the HttpURLConnection API.
set(String, String) - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
Sets a single value for the specified header name.
Settings - Interface in com.github.nosan.embedded.cassandra
Cassandra settings.
SimpleSeedProviderConfigurator - Class in com.github.nosan.embedded.cassandra
A CassandraBuilderConfigurator implementation that configures the `org.apache.cassandra.locator.SimpleSeedProvider` class.
SimpleSeedProviderConfigurator(String...) - Constructor for class com.github.nosan.embedded.cassandra.SimpleSeedProviderConfigurator
Creates SimpleSeedProviderConfigurator with provided addresses.
size() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
SKIP_EXISTING - Static variable in interface com.github.nosan.embedded.cassandra.DefaultWorkingDirectoryInitializer.CopyStrategy
Skips copying if a destination file already exists.
start() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Starts Cassandra.
startupTimeout(Duration) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the startup timeout.
StatementsCqlScript - Class in com.github.nosan.embedded.cassandra.cql
A CqlScript implementation that wraps a predefined list of CQL statements.
StatementsCqlScript(List<? extends String>) - Constructor for class com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
Constructs a StatementsCqlScript with the specified list of CQL statements.
stop() - Method in interface com.github.nosan.embedded.cassandra.Cassandra
Stops Cassandra.
StreamUtils - Class in com.github.nosan.embedded.cassandra.commons
Utility class providing simple methods for working with streams.
StringCqlScript - Class in com.github.nosan.embedded.cassandra.cql
A CqlScript implementation that encapsulates a CQL script as a plain string.
StringCqlScript(String) - Constructor for class com.github.nosan.embedded.cassandra.cql.StringCqlScript
Constructs a new StringCqlScript using the given CQL script.
StringUtils - Class in com.github.nosan.embedded.cassandra.commons
Simple utility methods for dealing with strings.
systemProperties(Map<String, ?>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra native Java Virtual Machine (JVM) system properties.

T

toByteArray(InputStream) - Static method in class com.github.nosan.embedded.cassandra.commons.StreamUtils
Reads the entire contents of an InputStream into a byte array.
toString() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
toString() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
toString() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
toString() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
toString() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpRequest
Returns a string representation of the HTTP request.
toString() - Method in class com.github.nosan.embedded.cassandra.cql.DefaultCqlDataSet
 
toString() - Method in class com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
 
toString() - Method in class com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
 
toString() - Method in class com.github.nosan.embedded.cassandra.cql.StringCqlScript
 
toString() - Method in class com.github.nosan.embedded.cassandra.Version
 
toString(InputStream, Charset) - Static method in class com.github.nosan.embedded.cassandra.commons.StreamUtils
Converts the contents of an InputStream to a String using the specified Charset.
toURI() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
toURI() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Gets a URI to the underlying resource.
toURL() - Method in class com.github.nosan.embedded.cassandra.commons.ClassPathResource
 
toURL() - Method in class com.github.nosan.embedded.cassandra.commons.FileSystemResource
 
toURL() - Method in interface com.github.nosan.embedded.cassandra.commons.Resource
Gets a URL to the underlying resource.
toURL() - Method in class com.github.nosan.embedded.cassandra.commons.UrlResource
 
tryLock(long, TimeUnit) - Method in class com.github.nosan.embedded.cassandra.commons.FileLock
Attempts to acquire an exclusive lock on the file.

U

UrlResource - Class in com.github.nosan.embedded.cassandra.commons
Resource implementation for URL resources.
UrlResource(URL) - Constructor for class com.github.nosan.embedded.cassandra.commons.UrlResource
Constructs a new UrlResource with the specified URL.

V

values() - Method in class com.github.nosan.embedded.cassandra.commons.web.HttpHeaders
 
version(Version) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra version.
version(String) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Cassandra version.
Version - Class in com.github.nosan.embedded.cassandra
A representation of a Cassandra version.

W

WebCassandraDirectoryProvider - Class in com.github.nosan.embedded.cassandra
An implementation of CassandraDirectoryProvider that downloads and extracts a Cassandra archive from well-known URLs into the specified download directory.
WebCassandraDirectoryProvider() - Constructor for class com.github.nosan.embedded.cassandra.WebCassandraDirectoryProvider
Creates a new WebCassandraDirectoryProvider with JdkHttpClient and user.home directory.
WebCassandraDirectoryProvider(HttpClient) - Constructor for class com.github.nosan.embedded.cassandra.WebCassandraDirectoryProvider
Creates a new WebCassandraDirectoryProvider with provided HttpClient and user.home directory.
WebCassandraDirectoryProvider(HttpClient, Path) - Constructor for class com.github.nosan.embedded.cassandra.WebCassandraDirectoryProvider
Creates a new WebCassandraDirectoryProvider with provided HttpClient and download directory.
WebCassandraDirectoryProvider(Path) - Constructor for class com.github.nosan.embedded.cassandra.WebCassandraDirectoryProvider
Creates a new WebCassandraDirectoryProvider with JdkHttpClient and provided download directory.
workingDirectory(IOSupplier<? extends Path>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the Supplier for the working directory, which will be invoked each time CassandraBuilder.build() is called.
WorkingDirectoryCustomizer - Interface in com.github.nosan.embedded.cassandra
A callback interface to customize a working directory.
workingDirectoryCustomizers(WorkingDirectoryCustomizer...) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the WorkingDirectoryCustomizer to customize the working directory.
workingDirectoryCustomizers(Collection<? extends WorkingDirectoryCustomizer>) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the WorkingDirectoryCustomizer instances to customize the working directory.
workingDirectoryDestroyer(WorkingDirectoryDestroyer) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the WorkingDirectoryDestroyer to handle the cleanup of the working directory.
WorkingDirectoryDestroyer - Interface in com.github.nosan.embedded.cassandra
A strategy interface to destroy the working directory.
workingDirectoryInitializer(WorkingDirectoryInitializer) - Method in class com.github.nosan.embedded.cassandra.CassandraBuilder
Sets the WorkingDirectoryInitializer to be used for initializing the working directory.
WorkingDirectoryInitializer - Interface in com.github.nosan.embedded.cassandra
A strategy interface for initializing the working directory.
wrap(Supplier<? extends T>) - Static method in interface com.github.nosan.embedded.cassandra.commons.function.IOSupplier
Wraps the given Supplier into an IOSupplier.
A B C D E F G H I J K L N O P R S T U V W 
All Classes All Packages