org.infinispan.query.clustered
Class ClusteredScoreDoc

java.lang.Object
  extended by org.apache.lucene.search.ScoreDoc
      extended by org.infinispan.query.clustered.ClusteredScoreDoc
All Implemented Interfaces:
Serializable, ClusteredDoc

public class ClusteredScoreDoc
extends org.apache.lucene.search.ScoreDoc
implements ClusteredDoc

ClusteredScoreDoc. A scoreDoc with his index and the uuid of the node who has the value.

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

Field Summary
 
Fields inherited from class org.apache.lucene.search.ScoreDoc
doc, score, shardIndex
 
Constructor Summary
ClusteredScoreDoc(org.apache.lucene.search.ScoreDoc scoreDoc, UUID nodeUuid, int index)
           
 
Method Summary
 int getIndex()
           
 UUID getNodeUuid()
           
 
Methods inherited from class org.apache.lucene.search.ScoreDoc
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusteredScoreDoc

public ClusteredScoreDoc(org.apache.lucene.search.ScoreDoc scoreDoc,
                         UUID nodeUuid,
                         int index)
Method Detail

getNodeUuid

public UUID getNodeUuid()
Specified by:
getNodeUuid in interface ClusteredDoc

getIndex

public int getIndex()
Specified by:
getIndex in interface ClusteredDoc

-->

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