Class LowerCaseOperand
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
-
- org.apache.jackrabbit.core.query.lucene.constraint.LowerCaseOperand
-
public class LowerCaseOperand extends DynamicOperand
LowerCaseOperandimplements a lower case operand.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
EMPTY
-
-
Constructor Summary
Constructors Constructor Description LowerCaseOperand(DynamicOperand operand)Creates a new lower case operand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value[]getValues(ScoreNode sn, EvaluationContext context)Returns the values for the given score nodesnof this dynamic operand.
-
-
-
Constructor Detail
-
LowerCaseOperand
public LowerCaseOperand(DynamicOperand operand)
Creates a new lower case operand.- Parameters:
operand- the operand to lower case the value.
-
-
Method Detail
-
getValues
public Value[] getValues(ScoreNode sn, EvaluationContext context) throws RepositoryException
Returns the values for the given score nodesnof this dynamic operand. If there are no values for the given score node, then an empty array is returned.- Specified by:
getValuesin classDynamicOperand- 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.
-
-