Package voldemort.client

Examples of voldemort.client.MockStoreClientFactory


    private StoreClient<Integer, List<Integer>> rangeFilterClient;

    @Override
    @Before
    public void setUp() throws Exception {
        MockStoreClientFactory factory = new MockStoreClientFactory(null,
                                                                    null,
                                                                    null,
                                                                    null,
                                                                    storesXml);
        upperCaseClient = factory.getStoreClient("test-view");
        rangeFilterClient = factory.getStoreClient("range-view");
        Integer[] values1 = { 1, 2, 3, 4, 5, 6, 7, 8 };
        Integer[] values2 = { 100, 200, 300, 400, 500, 600, 700 };
        rangeFilterClient.put(1, Arrays.asList(values1), null);
        rangeFilterClient.put(100, Arrays.asList(values2), null);
    }
View Full Code Here

TOP

Related Classes of voldemort.client.MockStoreClientFactory

Copyright © 2018 www.massapicom. 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.