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 UsingPathdrop(String keyspace, String indexName)Drop one secondary indexes in the specified keyspace.UsingPathdrop(String namespace, String keyspace, String indexName)Drop one or more secondary indexes on the specified namespace:keyspace.UsingPathdropPrimary(String keyspace)Drop the primary index in the specified keyspace.UsingPathdropPrimary(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:DropPathDrop one secondary indexes in the specified keyspace.
-
drop
public UsingPath drop(String namespace, String keyspace, String indexName)
Description copied from interface:DropPathDrop one or more secondary indexes on the specified namespace:keyspace.
-
dropPrimary
public UsingPath dropPrimary(String keyspace)
Description copied from interface:DropPathDrop the primary index in the specified keyspace.- Specified by:
dropPrimaryin 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:DropPathDrop the primary index in the specified namespace:keyspace.- Specified by:
dropPrimaryin 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).
-
-