Class DefaultDropPath

    • Constructor Detail

      • DefaultDropPath

        public DefaultDropPath()
    • Method Detail

      • 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).