Class CreateKeyspace
- java.lang.Object
-
- com.datastax.driver.core.schemabuilder.CreateKeyspace
-
public class CreateKeyspace extends Object
A built CREATE KEYSPACE statement.
-
-
Constructor Summary
Constructors Constructor Description CreateKeyspace(String keyspaceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateKeyspaceifNotExists()KeyspaceOptionswith()Add options for this CREATE KEYSPACE statement.
-
-
-
Constructor Detail
-
CreateKeyspace
public CreateKeyspace(String keyspaceName)
-
-
Method Detail
-
ifNotExists
public CreateKeyspace ifNotExists()
-
with
public KeyspaceOptions with()
Add options for this CREATE KEYSPACE statement.- Returns:
- the options of this CREATE KEYSPACE statement.
-
-