Interface DropPath
- All Known Implementing Classes:
DefaultDropPath
@Experimental @Public public interface DropPath extends Path, Statement
Initial path of the Index dropping DSL.
- Since:
- 2.2
- Author:
- Simon Baslé
-
Method Summary
Modifier and Type Method Description UsingPath
drop(String keyspace, String indexName)
Drop one secondary indexes in the specified keyspace.UsingPath
drop(String namespace, String keyspace, String indexName)
Drop one or more secondary indexes on the specified namespace:keyspace.UsingPath
dropPrimary(String keyspace)
Drop the primary index in the specified keyspace.UsingPath
dropPrimary(String namespace, String keyspace)
Drop the primary index in the specified namespace:keyspace.
-
Method Details
-
drop
Drop one secondary indexes in the specified keyspace.- Parameters:
keyspace
- the keyspace (bucket) in which we'll drop indexes (will be escaped).indexName
- the name of the index to drop (will be escaped).
-
drop
Drop one or more secondary indexes on the specified namespace:keyspace.- Parameters:
namespace
- the namespace in which to work (will be escaped).keyspace
- the keyspace (bucket) in which we'll drop indexes (will be escaped).indexName
- the name of the index to drop (will be escaped).
-
dropPrimary
Drop the primary index in the specified keyspace.- Parameters:
keyspace
- the keyspace (bucket) in which to drop primary index (will be escaped).
-
dropPrimary
Drop the primary index in the specified namespace:keyspace.- Parameters:
namespace
- the namespace in which to work (will be escaped).keyspace
- the keyspace (bucket) in which to drop primary index (will be escaped).
-