Class BinaryLogicalOperator
- java.lang.Object
-
- org.citydb.query.filter.selection.operator.logical.AbstractLogicalOperator
-
- org.citydb.query.filter.selection.operator.logical.BinaryLogicalOperator
-
public class BinaryLogicalOperator extends AbstractLogicalOperator
-
-
Constructor Summary
Constructors Constructor Description BinaryLogicalOperator(LogicalOperatorName name)
BinaryLogicalOperator(LogicalOperatorName name, java.util.List<Predicate> operands)
BinaryLogicalOperator(LogicalOperatorName name, Predicate... operands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addOperand(Predicate predicate)
void
clear()
BinaryLogicalOperator
copy()
java.util.List<Predicate>
getOperands()
LogicalOperatorName
getOperatorName()
int
numberOfOperands()
-
Methods inherited from class org.citydb.query.filter.selection.operator.logical.AbstractLogicalOperator
getPredicateName
-
-
-
-
Constructor Detail
-
BinaryLogicalOperator
public BinaryLogicalOperator(LogicalOperatorName name)
-
BinaryLogicalOperator
public BinaryLogicalOperator(LogicalOperatorName name, java.util.List<Predicate> operands) throws FilterException
- Throws:
FilterException
-
BinaryLogicalOperator
public BinaryLogicalOperator(LogicalOperatorName name, Predicate... operands) throws FilterException
- Throws:
FilterException
-
-
Method Detail
-
numberOfOperands
public int numberOfOperands()
-
clear
public void clear()
-
addOperand
public boolean addOperand(Predicate predicate)
-
getOperands
public java.util.List<Predicate> getOperands()
-
getOperatorName
public LogicalOperatorName getOperatorName()
-
copy
public BinaryLogicalOperator copy() throws FilterException
- Throws:
FilterException
-
-