Class ResourceCqlScript
- java.lang.Object
-
- com.github.nosan.embedded.cassandra.cql.AbstractCqlScript
-
- com.github.nosan.embedded.cassandra.cql.ResourceCqlScript
-
- All Implemented Interfaces:
CqlScript
public class ResourceCqlScript extends AbstractCqlScript
CqlScriptimplementation for resources.- Since:
- 4.0.0
- Author:
- Dmytro Nosan
-
-
Constructor Summary
Constructors Constructor Description ResourceCqlScript(Resource resource)Creates a newResourceCqlScriptwith provided resource and default charset.ResourceCqlScript(Resource resource, Charset charset)Creates a newResourceCqlScriptwith provided resource and charset.
-
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
-
ResourceCqlScript
public ResourceCqlScript(Resource resource)
Creates a newResourceCqlScriptwith provided resource and default charset.- Parameters:
resource- the resource that contains CQL statements
-
ResourceCqlScript
public ResourceCqlScript(Resource resource, Charset charset)
Creates a newResourceCqlScriptwith provided resource and charset.- Parameters:
resource- the resource that contains CQL statementscharset- the encoding to use of the resource
-
-