org.alfresco.repo.search.impl.lucene
Class LuceneResultSetRow
java.lang.Object
org.alfresco.repo.search.AbstractResultSetRow
org.alfresco.repo.search.impl.lucene.LuceneResultSetRow
- All Implemented Interfaces:
- ResultSetRow
public class LuceneResultSetRow
- extends AbstractResultSetRow
A row in a result set. Created on the fly.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneResultSetRow
public LuceneResultSetRow(LuceneResultSet resultSet,
int index)
- Wrap a position in a lucene Hits class with node support
- Parameters:
resultSet - position -
getDocument
public org.apache.lucene.document.Document getDocument()
- Support to cache the document for this row
- Returns:
getDirectProperties
protected java.util.Map getDirectProperties()
- Overrides:
getDirectProperties in class AbstractResultSetRow
getValue
public java.io.Serializable getValue(Path path)
- Description copied from interface:
ResultSetRow
- Get a node property by path
- Specified by:
getValue in interface ResultSetRow- Overrides:
getValue in class AbstractResultSetRow
- Parameters:
path - the path to the value required
- Returns:
- Returns the value of the property at the given path
getQName
public QName getQName()
- Specified by:
getQName in interface ResultSetRow- Overrides:
getQName in class AbstractResultSetRow
- Returns:
- Returns the name of the child association leading down to the
node represented by this row
getPrimaryAssocTypeQName
public QName getPrimaryAssocTypeQName()
getChildAssocRef
public ChildAssociationRef getChildAssocRef()
- Specified by:
getChildAssocRef in interface ResultSetRow- Overrides:
getChildAssocRef in class AbstractResultSetRow
- Returns:
- Returns the child assoc ref for this row
Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.