Class DefaultDropPath
java.lang.Object
com.couchbase.client.java.query.dsl.path.AbstractPath
com.couchbase.client.java.query.dsl.path.index.DefaultDropPath
@Experimental @Private public class DefaultDropPath extends AbstractPath implements DropPath
See
DropPath
.- Since:
- 2.2
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description DefaultDropPath()
-
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.Methods inherited from class com.couchbase.client.java.query.dsl.path.AbstractPath
element, toString
-
Constructor Details
-
DefaultDropPath
public DefaultDropPath()
-
-
Method Details
-
drop
Description copied from interface:DropPath
Drop one secondary indexes in the specified keyspace. -
drop
Description copied from interface:DropPath
Drop one or more secondary indexes on the specified namespace:keyspace. -
dropPrimary
Description copied from interface:DropPath
Drop the primary index in the specified keyspace.- Specified by:
dropPrimary
in interfaceDropPath
- Parameters:
keyspace
- the keyspace (bucket) in which to drop primary index (will be escaped).
-
dropPrimary
Description copied from interface:DropPath
Drop the primary index in the specified namespace:keyspace.- Specified by:
dropPrimary
in interfaceDropPath
- Parameters:
namespace
- the namespace in which to work (will be escaped).keyspace
- the keyspace (bucket) in which to drop primary index (will be escaped).
-