All Superinterfaces:
Path, Statement
All Known Implementing Classes:
DefaultDropPath

@Experimental
@Public
public interface DropPath
extends Path, Statement
Initial path of the Index dropping DSL.
Since:
2.2
Author:
Simon Baslé
  • Method Details

    • drop

      UsingPath drop​(String keyspace, String indexName)
      Drop one secondary indexes in the specified keyspace.
      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

      UsingPath drop​(String namespace, String keyspace, String indexName)
      Drop one or more secondary indexes on the specified namespace:keyspace.
      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

      UsingPath dropPrimary​(String keyspace)
      Drop the primary index in the specified keyspace.
      Parameters:
      keyspace - the keyspace (bucket) in which to drop primary index (will be escaped).
    • dropPrimary

      UsingPath dropPrimary​(String namespace, String keyspace)
      Drop the primary index in the specified namespace:keyspace.
      Parameters:
      namespace - the namespace in which to work (will be escaped).
      keyspace - the keyspace (bucket) in which to drop primary index (will be escaped).