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
SeeDropPath
.- Since:
- 2.2
- Author:
- Simon Baslé
-
-
Constructor Summary
Constructors Constructor Description DefaultDropPath()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
drop
public UsingPath drop(String keyspace, String indexName)
Description copied from interface:DropPath
Drop one secondary indexes in the specified keyspace.
-
drop
public UsingPath drop(String namespace, String keyspace, String indexName)
Description copied from interface:DropPath
Drop one or more secondary indexes on the specified namespace:keyspace.
-
dropPrimary
public UsingPath dropPrimary(String keyspace)
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
public UsingPath dropPrimary(String namespace, String keyspace)
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).
-
-