|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
org.apache.jackrabbit.core.query.lucene.constraint.PropertyValueOperand
public class PropertyValueOperand
PropertyValueOperand
implements a property value operand.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand |
---|
EMPTY |
Constructor Summary | |
---|---|
PropertyValueOperand(PropertyValueImpl operand)
Creates a new property value operand. |
Method Summary | |
---|---|
Property |
getProperty(ScoreNode sn,
EvaluationContext context)
Returns the property for the given score node or null if
none exists. |
PropertyState |
getPropertyState(ScoreNode sn,
EvaluationContext context)
Returns the property state for the given score node or null
if none exists. |
Value[] |
getValues(ScoreNode sn,
EvaluationContext context)
Returns the values for the given score node sn of this
dynamic operand. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyValueOperand(PropertyValueImpl operand)
operand
- the QOM operand.Method Detail |
---|
public final PropertyState getPropertyState(ScoreNode sn, EvaluationContext context) throws RepositoryException
null
if none exists.
sn
- the current score node.context
- the evaluation context.
null
.
RepositoryException
- if an error occurs while reading.public final Property getProperty(ScoreNode sn, EvaluationContext context) throws RepositoryException
null
if
none exists.
sn
- the current score node.context
- the evaluation context.
null
.
RepositoryException
- if an error occurs while reading.public Value[] getValues(ScoreNode sn, EvaluationContext context) throws RepositoryException
sn
of this
dynamic operand. If there are no values for the given score node, then
an empty array is returned.
getValues
in class DynamicOperand
sn
- the current score node.context
- the evaluation context.
RepositoryException
- if an error occurs while retrieving the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |