io.tiler.internal.queries.expressions.logical.AndOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiler Show documentation
Show all versions of tiler Show documentation
Plugable dashboard framework
package io.tiler.internal.queries.expressions.logical;
import io.tiler.internal.queries.EvaluationContext;
import io.tiler.internal.queries.EvaluationException;
import io.tiler.internal.queries.QueryContext;
import io.tiler.internal.queries.expressions.Expression;
public class AndOperation extends LogicalBinaryOperation {
public AndOperation(QueryContext queryContext, Expression operand1, Expression operand2) {
super(queryContext, operand1, operand2);
}
@Override
public Object evaluate(EvaluationContext context) throws EvaluationException {
return evaluateOperand1(context) && evaluateOperand2(context);
}
}