org.apache.jackrabbit.core.query.lucene.join
Class SelectorRow

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.join.SelectorRow
All Implemented Interfaces:
Row

public class SelectorRow
extends Object

A row implementation for a query with just a single selector.


Constructor Summary
SelectorRow(Map<String,PropertyValue> columns, OperandEvaluator evaluator, String selector, Node node, double score)
           
 
Method Summary
 Node getNode()
           
 Node getNode(String selectorName)
           
 String getPath()
           
 String getPath(String selectorName)
           
 double getScore()
           
 double getScore(String selectorName)
           
 Value getValue(String columnName)
           
 Value[] getValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectorRow

public SelectorRow(Map<String,PropertyValue> columns,
                   OperandEvaluator evaluator,
                   String selector,
                   Node node,
                   double score)
Method Detail

getNode

public Node getNode()

getNode

public Node getNode(String selectorName)
             throws RepositoryException
Throws:
RepositoryException

getScore

public double getScore()

getScore

public double getScore(String selectorName)
                throws RepositoryException
Throws:
RepositoryException

toString

public String toString()
Overrides:
toString in class Object

getValues

public Value[] getValues()
                  throws RepositoryException
Specified by:
getValues in interface Row
Throws:
RepositoryException

getValue

public Value getValue(String columnName)
               throws ItemNotFoundException,
                      RepositoryException
Specified by:
getValue in interface Row
Throws:
ItemNotFoundException
RepositoryException

getPath

public String getPath()
               throws RepositoryException
Specified by:
getPath in interface Row
Throws:
RepositoryException

getPath

public String getPath(String selectorName)
               throws RepositoryException
Specified by:
getPath in interface Row
Throws:
RepositoryException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.