net.conquiris.api.search
Class Result

java.lang.Object
  extended by net.conquiris.api.search.Result
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CountResult, ItemResult, PageResult

public abstract class Result
extends Object
implements Serializable

Base class for search results.

Author:
Andres Rodriguez
See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 float getMaxScore()
          Returns the maximum score of the results of the query.
 long getTime()
          Returns the time taken by the query (ms).
 int getTotalHits()
          Returns the total hits of the query.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMaxScore

public final float getMaxScore()
Returns the maximum score of the results of the query.


getTime

public final long getTime()
Returns the time taken by the query (ms).


getTotalHits

public final int getTotalHits()
Returns the total hits of the query.


equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Derquinse Projects.. All Rights Reserved.