org.apache.blur.manager.results
Class BlurResultIterableClient

java.lang.Object
  extended by org.apache.blur.manager.results.BlurResultIterableClient
All Implemented Interfaces:
Closeable, BlurResultIterable, BlurIterable<BlurResult,BlurException>

public class BlurResultIterableClient
extends Object
implements BlurResultIterable


Nested Class Summary
 class BlurResultIterableClient.SearchIterator
           
 
Constructor Summary
BlurResultIterableClient(Connection connection, Blur.Client client, String table, BlurQuery query, java.util.concurrent.atomic.AtomicLongArray facetCounts, int remoteFetchCount)
           
 
Method Summary
 void close()
           
 Blur.Client getClient()
           
 Map<String,Long> getShardInfo()
           
 long getTotalResults()
           
 BlurIterator<BlurResult,BlurException> iterator()
           
 void skipTo(long skipTo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurResultIterableClient

public BlurResultIterableClient(Connection connection,
                                Blur.Client client,
                                String table,
                                BlurQuery query,
                                java.util.concurrent.atomic.AtomicLongArray facetCounts,
                                int remoteFetchCount)
                         throws BlurException
Throws:
BlurException
Method Detail

getClient

public Blur.Client getClient()

getShardInfo

public Map<String,Long> getShardInfo()
Specified by:
getShardInfo in interface BlurResultIterable

getTotalResults

public long getTotalResults()
Specified by:
getTotalResults in interface BlurResultIterable

skipTo

public void skipTo(long skipTo)
Specified by:
skipTo in interface BlurResultIterable

iterator

public BlurIterator<BlurResult,BlurException> iterator()
                                                throws BlurException
Specified by:
iterator in interface BlurIterable<BlurResult,BlurException>
Throws:
BlurException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.