Class DropKeyspace
- java.lang.Object
-
- com.datastax.driver.core.Statement
-
- com.datastax.driver.core.RegularStatement
-
- com.datastax.driver.core.schemabuilder.SchemaStatement
-
- com.datastax.driver.core.schemabuilder.DropKeyspace
-
public class DropKeyspace extends SchemaStatement
A built DROP KEYSPACE statement.
-
-
Field Summary
-
Fields inherited from class com.datastax.driver.core.Statement
idempotent, NULL_PAYLOAD_VALUE
-
-
Constructor Summary
Constructors Constructor Description DropKeyspace(String keyspaceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildInternal()DropKeyspaceifExists()Add the 'IF EXISTS' condition to this DROP statement.-
Methods inherited from class com.datastax.driver.core.schemabuilder.SchemaStatement
getKeyspace, getNamedValues, getQueryString, getRoutingKey, getValues, hasValues, usesNamedValues
-
Methods inherited from class com.datastax.driver.core.RegularStatement
getQueryString, hasValues, requestSizeInBytes, toString
-
Methods inherited from class com.datastax.driver.core.Statement
disableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getHost, getLastHost, getNowInSeconds, getOutgoingPayload, getPartitioner, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isIdempotent, isLWT, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setLastHost, setNowInSeconds, setOutgoingPayload, setPagingState, setPagingState, setPagingStateUnsafe, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel
-
-
-
-
Constructor Detail
-
DropKeyspace
public DropKeyspace(String keyspaceName)
-
-
Method Detail
-
ifExists
public DropKeyspace ifExists()
Add the 'IF EXISTS' condition to this DROP statement.- Returns:
- this statement.
-
buildInternal
public String buildInternal()
-
-