Class DynamicOperand
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
-
- Direct Known Subclasses:
FullTextSearchScoreOperand
,LengthOperand
,LowerCaseOperand
,NodeLocalNameOperand
,NodeNameOperand
,PropertyValueOperand
,UpperCaseOperand
public abstract class DynamicOperand extends Object
DynamicOperand
is a base class for dynamic operands.
-
-
Constructor Summary
Constructors Constructor Description DynamicOperand()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Value[]
getValues(ScoreNode sn, EvaluationContext context)
Returns the values for the given score nodesn
of this dynamic operand.
-
-
-
Method Detail
-
getValues
public abstract Value[] getValues(ScoreNode sn, EvaluationContext context) throws RepositoryException
Returns the values for the given score nodesn
of this dynamic operand. If there are no values for the given score node, then an empty array is returned.- Parameters:
sn
- the current score node.context
- the evaluation context.- Returns:
- the values for the given score node.
- Throws:
RepositoryException
- if an error occurs while retrieving the value.
-
-