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 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
-
Constructor Details
-
DefaultDropPath
public DefaultDropPath()
-
-
Method Details
-
drop
Description copied from interface:DropPathDrop one secondary indexes in the specified keyspace. -
drop
Description copied from interface:DropPathDrop one or more secondary indexes on the specified namespace:keyspace. -
dropPrimary
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
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).
-