Package org.alfresco.opencmis.search
Class CMISResultSet
java.lang.Object
org.alfresco.opencmis.search.CMISResultSet
- All Implemented Interfaces:
Serializable,Iterable<CMISResultSetRow>,ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public class CMISResultSet
extends Object
implements ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>, Serializable
- Author:
- andyh
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCMISResultSet(Map<String, ResultSet> wrapped, CMISQueryOptions options, LimitBy limitBy, NodeService nodeService, Query query, CMISDictionaryService cmisDictionaryService, DictionaryService alfrescoDictionaryService) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanDo we bulk fetch - not supported hereintGet the bulk fetch size.getChildAssocRef(int n) getFieldFacet(String field) intgetNodeRef(int n) longgetRow(int i) floatgetScore(int n) intgetStart()booleanhasMore()iterator()intlength()booleansetBulkFetch(boolean bulkFetch) Bulk fetch results in the cache - not supported hereintsetBulkFetchSize(int bulkFetchSize) Set the bulk fetch sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CMISResultSet
public CMISResultSet(Map<String, ResultSet> wrapped, CMISQueryOptions options, LimitBy limitBy, NodeService nodeService, Query query, CMISDictionaryService cmisDictionaryService, DictionaryService alfrescoDictionaryService)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getMetaData
-
getRow
- Specified by:
getRowin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
hasMore
public boolean hasMore()- Specified by:
hasMorein interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getLength
public int getLength() -
getStart
public int getStart()- Specified by:
getStartin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
iterator
- Specified by:
iteratorin interfaceIterable<CMISResultSetRow>
-
getChildAssocRef
- Specified by:
getChildAssocRefin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getChildAssocRefs
- Specified by:
getChildAssocRefsin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getNodeRef
- Specified by:
getNodeRefin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getNodeRefs
- Specified by:
getNodeRefsin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getResultSetMetaData
- Specified by:
getResultSetMetaDatain interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getScore
public float getScore(int n) - Specified by:
getScorein interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
length
public int length()- Specified by:
lengthin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
setBulkFetch
public boolean setBulkFetch(boolean bulkFetch) Bulk fetch results in the cache - not supported here- Specified by:
setBulkFetchin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData> - Parameters:
bulkFetch- boolean
-
getBulkFetch
public boolean getBulkFetch()Do we bulk fetch - not supported here- Specified by:
getBulkFetchin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData> - Returns:
- - true if we do
-
setBulkFetchSize
public int setBulkFetchSize(int bulkFetchSize) Set the bulk fetch size- Specified by:
setBulkFetchSizein interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData> - Parameters:
bulkFetchSize- int
-
getBulkFetchSize
public int getBulkFetchSize()Get the bulk fetch size.- Specified by:
getBulkFetchSizein interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData> - Returns:
- the fetch size
-
getFieldFacet
- Specified by:
getFieldFacetin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getNumberFound
public long getNumberFound()- Specified by:
getNumberFoundin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getFacetQueries
- Specified by:
getFacetQueriesin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getHighlighting
- Specified by:
getHighlightingin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-
getSpellCheckResult
- Specified by:
getSpellCheckResultin interfaceResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
-