Class DefaultDropPath

java.lang.Object
com.couchbase.client.java.query.dsl.path.AbstractPath
com.couchbase.client.java.query.dsl.path.index.DefaultDropPath
All Implemented Interfaces:
DropPath, Path, Statement

@Experimental
@Private
public class DefaultDropPath
extends AbstractPath
implements DropPath
Since:
2.2
Author:
Simon Baslé
  • Constructor Details

    • DefaultDropPath

      public DefaultDropPath()
  • Method Details

    • drop

      public UsingPath drop​(String keyspace, String indexName)
      Description copied from interface: DropPath
      Drop one secondary indexes in the specified keyspace.
      Specified by:
      drop in interface DropPath
      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

      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.
      Specified by:
      drop in interface DropPath
      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

      public UsingPath dropPrimary​(String keyspace)
      Description copied from interface: DropPath
      Drop the primary index in the specified keyspace.
      Specified by:
      dropPrimary in interface DropPath
      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 interface DropPath
      Parameters:
      namespace - the namespace in which to work (will be escaped).
      keyspace - the keyspace (bucket) in which to drop primary index (will be escaped).