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:
java.lang.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(java.util.List<Predicate> operands)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendTo(java.lang.StringBuilder out)
FeatureConjunction
clone()
boolean
equals(java.lang.Object obj)
java.util.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
-
-
-
-
Constructor Detail
-
FeatureConjunction
public FeatureConjunction(java.util.List<Predicate> operands)
-
-
Method Detail
-
isValidFeatureConjunctionOperand
public static boolean isValidFeatureConjunctionOperand(Predicate operand)
-
getOperands
public java.util.List<Predicate> getOperands()
- Specified by:
getOperands
in classPredicateOperator
-
appendTo
protected void appendTo(java.lang.StringBuilder out)
-
clone
public FeatureConjunction clone() throws java.lang.CloneNotSupportedException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-