org.infinispan.query.clustered
Class QueryResponse

java.lang.Object
  extended by org.infinispan.query.clustered.QueryResponse
All Implemented Interfaces:
Serializable

public class QueryResponse
extends Object
implements Serializable

QueryResponse. A response of a request to create a new distributed lazy iterator

Since:
5.1
Author:
Israel Lacerra
See Also:
Serialized Form

Constructor Summary
QueryResponse(int resultSize)
           
QueryResponse(Object value)
           
QueryResponse(org.apache.lucene.search.TopDocs topDocs, UUID nodeUUid, int resultSize)
           
 
Method Summary
 Address getAddress()
           
 Object getFetchedValue()
           
 UUID getNodeUUID()
           
 int getResultSize()
           
 org.apache.lucene.search.TopDocs getTopDocs()
           
 void setAddress(Address address)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResponse

public QueryResponse(Object value)

QueryResponse

public QueryResponse(int resultSize)

QueryResponse

public QueryResponse(org.apache.lucene.search.TopDocs topDocs,
                     UUID nodeUUid,
                     int resultSize)
Method Detail

getTopDocs

public org.apache.lucene.search.TopDocs getTopDocs()

getResultSize

public int getResultSize()

getNodeUUID

public UUID getNodeUUID()

setAddress

public void setAddress(Address address)

getAddress

public Address getAddress()

getFetchedValue

public Object getFetchedValue()

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.