Package org.alfresco.repo.search
Class AbstractResultSetRow
java.lang.Object
org.alfresco.repo.search.AbstractResultSetRow
- All Implemented Interfaces:
ResultSetRow
- Direct Known Subclasses:
ChildAssocRefResultSetRow,DBResultSetRow,DetachedResultSetRow,SolrJSONResultSetRow,SortedResultSetRow
Common support for a row in a result set
- Author:
- andyh
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,Serializable> The direct properties of the current node Used by those implementations that can cache the whole set. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractResultSetRow(ResultSet resultSet, int index) The row needs the result set and the index for lookup. -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<QName,Serializable> intgetIndex()getQName()floatgetScore()protected voidsetProperties(Map<QName, Serializable> byQname) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.search.ResultSetRow
getNodeRef, getNodeRefs, getScore, getScores
-
Field Details
-
properties
The direct properties of the current node Used by those implementations that can cache the whole set.
-
-
Constructor Details
-
AbstractResultSetRow
The row needs the result set and the index for lookup.- Parameters:
resultSet- ResultSetindex- int
-
-
Method Details
-
getResultSet
- Specified by:
getResultSetin interfaceResultSetRow
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceResultSetRow
-
getNodeRef
- Specified by:
getNodeRefin interfaceResultSetRow
-
getQName
- Specified by:
getQNamein interfaceResultSetRow
-
getChildAssocRef
- Specified by:
getChildAssocRefin interfaceResultSetRow
-
getScore
public float getScore()- Specified by:
getScorein interfaceResultSetRow
-
getValues
- Specified by:
getValuesin interfaceResultSetRow
-
getValue
- Specified by:
getValuein interfaceResultSetRow
-
getDirectProperties
-
setProperties
-
getValue
- Specified by:
getValuein interfaceResultSetRow
-