public class DropKeyspaceSpecification extends KeyspaceActionSpecification
DROP KEYSPACE specification.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
static DropKeyspaceSpecification |
dropKeyspace(KeyspaceIdentifier name)
Create a new
DropKeyspaceSpecification for the given name. |
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. |
getNamepublic static DropKeyspaceSpecification dropKeyspace(String name)
DropKeyspaceSpecification for the given name.name - must not be null or empty.DropKeyspaceSpecification.public static DropKeyspaceSpecification dropKeyspace(KeyspaceIdentifier 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 KeyspaceActionSpecificationprotected boolean canEqual(Object other)
canEqual in class KeyspaceActionSpecificationpublic int hashCode()
hashCode in class KeyspaceActionSpecificationCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.