org.infinispan.query.clustered
Class ClusteredFieldDoc

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

public class ClusteredFieldDoc
extends org.apache.lucene.search.FieldDoc
implements ClusteredDoc

ClusteredFIeldDoc. A FieldDoc with UUID of node who has the doc.

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

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

Constructor Detail

ClusteredFieldDoc

public ClusteredFieldDoc(org.apache.lucene.search.FieldDoc 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.