org.apache.jackrabbit.core.query.lucene.constraint
Class DynamicOperand
java.lang.Object
org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
- Direct Known Subclasses:
- LengthOperand, LowerCaseOperand, NodeLocalNameOperand, NodeNameOperand, PropertyValueOperand, UpperCaseOperand
public abstract class DynamicOperand
- extends Object
DynamicOperand
is a base class for dynamic operands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
protected static final Value[] EMPTY
- An empty
Value
array.
DynamicOperand
public DynamicOperand()
getValues
public abstract 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.
- 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.