Examples of YzDeleteIndexOperation


Examples of com.basho.riak.client.core.operations.YzDeleteIndexOperation

       
        assertFalse(indexList.isEmpty());
        index = indexList.get(0);
        assertEquals(index.getSchema(), "_yz_default");
       
        YzDeleteIndexOperation delOp = new YzDeleteIndexOperation.Builder("test_index").build();
        cluster.execute(delOp);
        delOp.await();
        assertTrue(delOp.isSuccess());
       
    }
View Full Code Here

Examples of com.basho.riak.client.core.operations.YzDeleteIndexOperation

        cluster.execute(putOp);
        putOp.get();
       
        assertTrue("Index not created", assureIndexExists("test_index5"));
       
        YzDeleteIndexOperation delOp =
            new YzDeleteIndexOperation.Builder("test_index5").build();
        cluster.execute(delOp);
        delOp.get();
       
    }
View Full Code Here

Examples of com.basho.riak.client.core.operations.YzDeleteIndexOperation

            assertEquals(2, map.get("multi_ss").size());
        }
       
        resetAndEmptyBucket(namespace);
       
        YzDeleteIndexOperation delOp = new YzDeleteIndexOperation.Builder("test_index").build();
        cluster.execute(delOp);
        delOp.await();
        assertTrue(delOp.isSuccess());
       
    }
View Full Code Here

Examples of com.basho.riak.client.core.operations.YzDeleteIndexOperation

        MapReduce.Response mrResp = client.execute(smr);
       
        assertEquals(3, mrResp.getResultsFromAllPhases().get(0).asInt());
       
        resetAndEmptyBucket(ns);
        YzDeleteIndexOperation delOp = new YzDeleteIndexOperation.Builder("test_mr_index").build();
        cluster.execute(delOp);
        delOp.await();
        assertTrue(delOp.isSuccess());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.