public class DropKeyspaceSpecification extends KeyspaceActionSpecification
DROP KEYSPACE specification.| Modifier and Type | Method and Description |
|---|---|
static DropKeyspaceSpecification |
dropKeyspace(com.datastax.oss.driver.api.core.CqlIdentifier name)
Create a new
DropKeyspaceSpecification for the given name. |
static DropKeyspaceSpecification |
dropKeyspace(KeyspaceIdentifier name)
Deprecated.
since 3.0, use
dropKeyspace(CqlIdentifier). |
static DropKeyspaceSpecification |
dropKeyspace(String name)
Create a new
DropKeyspaceSpecification for the given name. |
boolean |
equals(Object o) |
boolean |
getIfExists() |
int |
hashCode() |
DropKeyspaceSpecification |
ifExists()
Causes the inclusion of an
IF EXISTS clause. |
DropKeyspaceSpecification |
ifExists(boolean ifExists)
Toggles the inclusion of an
IF EXISTS clause. |
canEqual, getNamepublic static DropKeyspaceSpecification dropKeyspace(String name)
DropKeyspaceSpecification for the given name.name - must not be null or empty.DropKeyspaceSpecification.@Deprecated public static DropKeyspaceSpecification dropKeyspace(KeyspaceIdentifier name)
dropKeyspace(CqlIdentifier).DropKeyspaceSpecification for the given name.name - must not be null.DropKeyspaceSpecification.public static DropKeyspaceSpecification dropKeyspace(com.datastax.oss.driver.api.core.CqlIdentifier name)
DropKeyspaceSpecification for the given name.name - must not be null.DropKeyspaceSpecification.public DropKeyspaceSpecification ifExists()
IF EXISTS clause.public DropKeyspaceSpecification ifExists(boolean ifExists)
IF EXISTS clause.public boolean getIfExists()
public boolean equals(Object o)
equals in class KeyspaceActionSpecificationpublic int hashCode()
hashCode in class KeyspaceActionSpecificationCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.