Class StatementsCqlScript
- java.lang.Object
-
- com.github.nosan.embedded.cassandra.cql.StatementsCqlScript
-
-
Constructor Summary
Constructors Constructor Description StatementsCqlScript(List<? extends String> statements)Constructs aStatementsCqlScriptwith the specified list of CQL statements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getStatements()Retrieves the list of CQL statements.inthashCode()StringtoString()-
Methods inherited from interface com.github.nosan.embedded.cassandra.cql.CqlScript
forEachStatement
-
-
-
-
Constructor Detail
-
StatementsCqlScript
public StatementsCqlScript(List<? extends String> statements)
Constructs aStatementsCqlScriptwith the specified list of CQL statements.- Parameters:
statements- the list of CQL statements (must not benull)- Throws:
NullPointerException- ifstatementsisnull
-
-
Method Detail
-
getStatements
public List<String> getStatements()
Retrieves the list of CQL statements.- Specified by:
getStatementsin interfaceCqlScript- Returns:
- the list of CQL statements (never
null)
-
-