Class StringCqlScript
- java.lang.Object
-
- com.github.nosan.embedded.cassandra.cql.AbstractCqlScript
-
- com.github.nosan.embedded.cassandra.cql.StringCqlScript
-
- All Implemented Interfaces:
CqlScript
public class StringCqlScript extends AbstractCqlScript
ACqlScriptimplementation that encapsulates a CQL script as a plain string.- Since:
- 4.0.0
- Author:
- Dmytro Nosan
-
-
Constructor Summary
Constructors Constructor Description StringCqlScript(String script)Constructs a newStringCqlScriptusing the given CQL script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()StringtoString()-
Methods inherited from class com.github.nosan.embedded.cassandra.cql.AbstractCqlScript
getStatements
-
Methods inherited from interface com.github.nosan.embedded.cassandra.cql.CqlScript
forEachStatement
-
-
-
-
Constructor Detail
-
StringCqlScript
public StringCqlScript(String script)
Constructs a newStringCqlScriptusing the given CQL script.- Parameters:
script- the CQL script as a string (must not benull)- Throws:
NullPointerException- ifscriptisnull
-
-