org.apache.blur.manager.results
Class BlurResultIterableSimple

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

public class BlurResultIterableSimple
extends Object
implements BlurResultIterable


Constructor Summary
BlurResultIterableSimple(String shard, List<BlurResult> hits)
           
 
Method Summary
 void close()
           
 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

BlurResultIterableSimple

public BlurResultIterableSimple(String shard,
                                List<BlurResult> hits)
Method Detail

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.