Package com.yahoo.document.predicate
Class FeatureConjunction
- java.lang.Object
-
- com.yahoo.document.predicate.Predicate
-
- com.yahoo.document.predicate.PredicateOperator
-
- com.yahoo.document.predicate.FeatureConjunction
-
- All Implemented Interfaces:
Cloneable
public class FeatureConjunction extends PredicateOperator
A FeatureConjunction is a special type of Conjunction where all children are either a FeatureSet or a Negation (with an underlying FeatureSet). The underlying FeatureSets may only have one value.- Author:
- bjorncs
-
-
Constructor Summary
Constructors Constructor Description FeatureConjunction(List<Predicate> operands)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendTo(StringBuilder out)
FeatureConjunction
clone()
boolean
equals(Object obj)
List<Predicate>
getOperands()
int
hashCode()
static boolean
isValidFeatureConjunctionOperand(Predicate operand)
-
Methods inherited from class com.yahoo.document.predicate.Predicate
appendQuotedTo, asciiDecode, asciiEncode, fromBinary, fromString, toString
-
-
-
-
Method Detail
-
isValidFeatureConjunctionOperand
public static boolean isValidFeatureConjunctionOperand(Predicate operand)
-
getOperands
public List<Predicate> getOperands()
- Specified by:
getOperands
in classPredicateOperator
-
appendTo
protected void appendTo(StringBuilder out)
-
clone
public FeatureConjunction clone() throws CloneNotSupportedException
- Overrides:
clone
in classPredicate
- Throws:
CloneNotSupportedException
-
-