|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.search.impl.lucene.PagingLuceneResultSet
public class PagingLuceneResultSet
| Constructor Summary | |
|---|---|
PagingLuceneResultSet(ResultSet wrapped,
SearchParameters searchParameters,
NodeService nodeService)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the result set and release any resources held/ The result set is bound to the transaction and will auto close at the end of the transaction. |
ChildAssociationRef |
getChildAssocRef(int n)
Get the child assoc ref for a particular row. |
java.util.List |
getChildAssocRefs()
Get a list of all the child associations in the results set. |
int |
getLength()
|
NodeRef |
getNodeRef(int n)
Get the id of the node at the given index (if there is only one selector or no selector) |
java.util.List |
getNodeRefs()
Get a list of all the node refs in the result set (if there is only one selector or no selector) |
ResultSetMetaData |
getResultSetMetaData()
Get the meta data for the results set. |
ResultSetRow |
getRow(int i)
Get a row from the result set by row index, starting at 0. |
float |
getScore(int n)
Get the score for the node at the given position (if there is only one selector or no selector) |
int |
getStart()
Get the start point for this results set in the overall set of rows that match the query - this will be equal to the skip count set when executing the query, and zero if this is not set. |
ResultSet |
getWrapped()
Get the underlying result Set |
boolean |
hasMore()
Was this result set curtailed - are there more pages to the result set? |
java.util.Iterator |
iterator()
|
int |
length()
Get the number of rows in this result set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagingLuceneResultSet(ResultSet wrapped,
SearchParameters searchParameters,
NodeService nodeService)
| Method Detail |
|---|
public void close()
ResultSetSPI
close in interface ResultSetSPIpublic ResultSetRow getRow(int i)
ResultSetSPI
getRow in interface ResultSetSPIi - zero-based index
public boolean hasMore()
ResultSetSPI
hasMore in interface ResultSetSPIpublic int getLength()
public int getStart()
ResultSetSPI
getStart in interface ResultSetSPIpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic ChildAssociationRef getChildAssocRef(int n)
ResultSetSPI
getChildAssocRef in interface ResultSetSPIn - zero-based index
public java.util.List getChildAssocRefs()
ResultSetSPI
getChildAssocRefs in interface ResultSetSPIpublic NodeRef getNodeRef(int n)
ResultSetSPI
getNodeRef in interface ResultSetSPIn - zero-based index
public java.util.List getNodeRefs()
ResultSetSPI
getNodeRefs in interface ResultSetSPIpublic ResultSetMetaData getResultSetMetaData()
ResultSetSPI
getResultSetMetaData in interface ResultSetSPIpublic float getScore(int n)
ResultSetSPI
getScore in interface ResultSetSPIn - zero-based index
public int length()
ResultSetSPI
length in interface ResultSetSPIpublic ResultSet getWrapped()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||