org.apache.jackrabbit.core.query.lucene.constraint
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
LowerCaseOperand
implements a lower case operand.
Fields inherited from class org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand |
EMPTY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LowerCaseOperand
public LowerCaseOperand(DynamicOperand operand)
- Creates a new lower case operand.
- Parameters:
operand
- the operand to lower case the value.
getValues
public Value[] getValues(ScoreNode sn,
EvaluationContext context)
throws IOException
- Returns the values for the given score node
sn
of this
dynamic operand. If there are no values for the given score node, then
an empty array is returned.
- Specified by:
getValues
in class DynamicOperand
- Parameters:
sn
- the current score node.context
- the evaluation context.
- Returns:
- the values for the given score node.
- Throws:
IOException
- if an error occurs while retrieving the value.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.