|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.api.BrowseResult
public class BrowseResult
A Browse result
| Constructor Summary | |
|---|---|
BrowseResult()
Constructor |
|
| Method Summary | |
|---|---|
void |
addAll(Map<String,FacetAccessible> facets)
Add all of the given FacetAccessible to this BrowseResult |
void |
addFacets(String name,
FacetAccessible facets)
Add a container full of choices |
void |
close()
|
FacetAccessible |
getFacetAccessor(String name)
Get the facets by name |
Map<String,FacetAccessible> |
getFacetMap()
Gets all the facet collections |
FacetAccessible |
getGroupAccessible()
Get the group accessible. |
BrowseHit[] |
getHits()
Gets the hits |
int |
getNumGroups()
Get the group count |
int |
getNumHits()
Get the hit count |
SortCollector |
getSortCollector()
Get the sort collector. |
long |
getTid()
Get the transaction ID. |
long |
getTime()
Gets the search time in milliseconds |
int |
getTotalDocs()
Gets the total number of docs in the index |
void |
setGroupAccessible(FacetAccessible groupAccessible)
Set the group accessible. |
void |
setHits(BrowseHit[] hits)
Sets the hits |
void |
setNumGroups(int groups)
Sets the group count |
void |
setNumHits(int hits)
Sets the hit count |
void |
setSortCollector(SortCollector sortCollector)
Set the sort collector. |
void |
setTid(long tid)
Set the transaction ID; |
void |
setTime(long time)
Sets the search time in milliseconds |
void |
setTotalDocs(int docs)
Sets the total number of docs in the index |
String |
toString()
|
static String |
toString(Map<String,FacetAccessible> map)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BrowseResult()
| Method Detail |
|---|
public final long getTid()
public final void setTid(long tid)
tid - public FacetAccessible getGroupAccessible()
public void setGroupAccessible(FacetAccessible groupAccessible)
groupAccessible - the group accessible.public SortCollector getSortCollector()
public void setSortCollector(SortCollector sortCollector)
sortCollector - the sort collectorpublic FacetAccessible getFacetAccessor(String name)
name -
public int getNumHits()
setNumHits(int)public void setNumHits(int hits)
hits - hit countgetNumHits()public int getNumGroups()
setNumGroups(int)public void setNumGroups(int groups)
groups - group countgetNumGroups()public int getTotalDocs()
setTotalDocs(int)public void setTotalDocs(int docs)
docs - total number of docs in the indexgetTotalDocs()
public void addFacets(String name,
FacetAccessible facets)
facets - container full of facetspublic void addAll(Map<String,FacetAccessible> facets)
facets - map of facets to add to the result setpublic void setHits(BrowseHit[] hits)
hits - hitsgetHits()public BrowseHit[] getHits()
setHits(BrowseHit[])public void setTime(long time)
time - search timegetTime()public long getTime()
setTime(long)public Map<String,FacetAccessible> getFacetMap()
public static String toString(Map<String,FacetAccessible> map)
public String toString()
toString in class Objectpublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||