Package com.basho.riak.client

Examples of com.basho.riak.client.IndexEntry


    public IndexSource(IndexResponseV2 indexResponse)
    {
        entryList = new ArrayList<IndexEntry>();
        for (com.basho.riak.client.http.response.IndexEntry entry : indexResponse.getEntries())
        {
            entryList.add(new IndexEntry(entry.getIndexValue(), entry.getObjectKey()));
        }
        continuation = indexResponse.getContinuation();
        iterator = entryList.iterator();
    }
View Full Code Here


    public IndexEntry next()
    {
        try
        {
            com.basho.riak.pbc.IndexEntry pbEntry = client.next();
            return new IndexEntry(nullSafeToStringUtf8(pbEntry.getIndexValue()),
                                nullSafeToStringUtf8(pbEntry.getObjectKey()));
        }
        catch (IOException ex)
        {
            throw new RiakStreamingRuntimeException(ex);
View Full Code Here

TOP

Related Classes of com.basho.riak.client.IndexEntry

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.