|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompassDetachedHits
Holds hits returned from a search performed by compass. Can be used outside of
a transaction context. In order to get detached hits, use CompassHits.detach()
or CompassHits.detach(int, int).
| Method Summary | |
|---|---|
Object[] |
getDatas()
Returns all the Objects data as an array. |
CompassHit[] |
getHits()
Returns all the CompassHits data as an array. |
Resource[] |
getResources()
Returns all the Resources as an array. |
int |
getTotalLength()
Returns the total number of hits (not just the detached ones). |
int |
totalLength()
Returns the total number of hits (not just the detached ones). |
| Methods inherited from interface org.compass.core.CompassHitsOperations |
|---|
data, getLength, getQuery, getSuggestedQuery, highlightedText, hit, length, resource, score |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
int getTotalLength()
int totalLength()
Resource[] getResources()
throws CompassException
Resources as an array.
Resources as an array
CompassException
Object[] getDatas()
throws CompassException
Objects data as an array.
CompassException
CompassHit[] getHits()
throws CompassException
CompassHits data as an array.
CompassExceptionCompassHit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||