org.infinispan.query.dsl.impl.AndCondition Maven / Gradle / Ivy
package org.infinispan.query.dsl.impl;
import org.infinispan.query.dsl.QueryFactory;
/**
* @author [email protected]
* @since 6.0
*/
class AndCondition extends BooleanCondition {
public AndCondition(QueryFactory queryFactory, BaseCondition leftCondition, BaseCondition rightCondition) {
super(queryFactory, leftCondition, rightCondition);
}
@Override
public ReturnType accept(Visitor visitor) {
return visitor.visit(this);
}
@Override
public String toString() {
return "(" + getFirstCondition() + ") AND (" + getSecondCondition() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy